Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
0921393
feat: migrate site to Next.js; docs -> FumaDocs
vplend Jan 1, 2026
b7b06d1
chore: delete bad man
TheFaser Jan 1, 2026
a4890f7
refactor: change version to 2.0.0
vplend Jan 1, 2026
bf5b966
chore: add LICENSE
vplend Jan 1, 2026
5780043
refactor: delete utils.ts
vplend Jan 1, 2026
6980a65
refactor: remove authors logging
vplend Jan 1, 2026
51d4456
refactor: configure project structure
vplend Jan 1, 2026
f08b9db
fix: change docs dirPath
vplend Jan 1, 2026
7f16500
refactor: add border for card component
vplend Jan 1, 2026
8f24e0a
refactor: migrate documentation and project setup from Astro to Next.js
vplend Jan 3, 2026
6f53ac8
fix: update README logo source path
vplend Jan 3, 2026
349b3b8
feat: add localization feature
vplend Jan 3, 2026
ead3344
fix: move files to [lang] for localization
vplend Jan 3, 2026
b026826
fix: change nextjs version to 16+
vplend Jan 3, 2026
2310a60
refactor: remove unused Header and Footer components from pages
vplend Jan 3, 2026
0e4132b
refactor: remove unused source files (.source/browser.ts, .source/dyn…
vplend Jan 3, 2026
13cb997
chore: update .gitignore to exclude .source directory
vplend Jan 3, 2026
78be2e1
refactor: remove unused Header components and related files
vplend Jan 3, 2026
697732b
refactor: update import syntax in globals.css
vplend Jan 3, 2026
79b642f
refactor: update locale handling in LanguageButton component
vplend Jan 3, 2026
c127643
refactor: update layout components and optimize imports
vplend Jan 3, 2026
f4af131
refactor: remove unused imports from layout components
vplend Jan 3, 2026
6d6b018
chore: update favicon.ico
vplend Jan 3, 2026
c11e0ad
refactor: update image paths in FlectoneMix component and locale files
vplend Jan 3, 2026
d0c121e
refactor: simplify EditOnGitHub component in docs page
vplend Jan 3, 2026
20fa2c0
refactor: remove unused Header and Footer imports from Home page
vplend Jan 3, 2026
e62813c
refactor: update layout components to include nav options and optimiz…
vplend Jan 3, 2026
e53a049
refactor: enhance layout with language-specific i18n provider and opt…
vplend Jan 3, 2026
93ded1b
refactor: update layout props to use specific pulse path
vplend Jan 3, 2026
ac5a211
refactor: remove unused imports from layout components
vplend Jan 3, 2026
1bba8b1
refactor: fix border class in Image component of FlectoneMix
vplend Jan 3, 2026
4e7fe92
refactor: update image path in FlectonMix component
vplend Jan 3, 2026
eb858cb
refactor: remove unused imports and fix border class in Image compone…
vplend Jan 3, 2026
155070c
refactor: add i18n setup with default and supported languages
vplend Jan 3, 2026
9a3d731
refactor: update Discord docs image path and add new embed preview image
vplend Jan 3, 2026
de0fd3f
refactor: remove ThemeButton component and adjust padding in LinkButt…
vplend Jan 3, 2026
407068f
refactor: implement i18n for Pulse components and fix typo in Welcome…
vplend Jan 3, 2026
c69b860
refactor: remove unused Card import from Structure.tsx
vplend Jan 3, 2026
7b916d8
feat: added translation for MDX pages
vplend Jan 4, 2026
40997f7
refactor: update WelcomeCard button links and adjust Russian translat…
vplend Jan 4, 2026
88f2855
refactor: implement i18n for Authors component in Pulse and add trans…
vplend Jan 4, 2026
760a49e
refactor: filter table of contents by depth in Pulse docs pages
vplend Jan 4, 2026
3592fa4
refactor: remove unnecessary `id` attributes from Accordion component…
vplend Jan 4, 2026
fbaaf01
refactor: adjust image container styles and dimensions in MDX components
vplend Jan 4, 2026
59d2ab3
refactor: add pagination translations to Russian localization in layout
vplend Jan 4, 2026
85f9e6d
refactor: specify type casting for 'src' property in MDX image compon…
vplend Jan 4, 2026
7a94217
refactor: update heading and description styles in Pulse Structure co…
vplend Jan 4, 2026
a3c491b
refactor: centralize `nav` config in `baseOptions` for shared layout …
vplend Jan 4, 2026
019d52c
refactor: update headings hierarchy in Pulse documentation pages for …
vplend Jan 4, 2026
4259ba6
refactor: remove unused imports in localized layout components
vplend Jan 4, 2026
0035619
refactor: update CONTRIBUTING.md to replace Bun with npm, clarify gui…
vplend Jan 4, 2026
77717f0
refactor: remove redundant newline at end of README.md
vplend Jan 4, 2026
cf0557a
refactor: align documentation formatting and indentation in Telegram,…
vplend Jan 4, 2026
14b2f16
refactor: update image container styles and improve prop handling in …
vplend Jan 4, 2026
c86e758
refactor: remove `LanguageButton` and enable `i18n` support in shared…
vplend Jan 4, 2026
0ebbe6f
refactor: add English translations and improve Russian i18n configura…
vplend Jan 4, 2026
1e64db5
refactor: extract `FeatureCard` component and replace repetitive code…
vplend Jan 4, 2026
3f8d14d
refactor: replace hardcoded color values in `pulsecard3.svg` with `cu…
vplend Jan 4, 2026
e72824b
refactor: improve i18n configuration and CSS for layout and selection…
vplend Jan 4, 2026
5990f66
refactor: enhance navbar with project dropdown, improve layout respon…
vplend Jan 5, 2026
6566ad3
refactor: remove unused `Svg` component import and fix redundant CSS …
vplend Jan 5, 2026
439a79b
refactor: update `FeatureCard` prop handling, add `imagePosition` sup…
vplend Jan 5, 2026
3e9465a
refactor: replace ASCII art in `WelcomeCard` with Image component and…
vplend Jan 5, 2026
2bbb437
refactor: enhance `Projects` layout, update `Svg` attributes, and adj…
vplend Jan 5, 2026
5696517
fix: `flex` class missing in main layout for correct child alignment
vplend Jan 5, 2026
a537457
fix: adjust Markdown formatting in Vanilla message documentation for …
vplend Jan 5, 2026
acdb2be
refactor: enhance `FeatureCard` glow effect with animation and respon…
vplend Jan 6, 2026
4979c3e
refactor: update `GithubCard` Image styles to include rounded corners…
vplend Jan 6, 2026
3b9ec84
refactor: remove `NavbarMenu` project dropdown from main layout
vplend Jan 6, 2026
1a6b200
refactor: improve `Members` and `GithubCard` layouts with responsive …
vplend Jan 6, 2026
63c072b
refactor: enhance `Projects` layout with improved responsiveness, ani…
vplend Jan 6, 2026
dbfcbf7
refactor: change header links and language buttons color
vplend Jan 6, 2026
4ec1d8b
refactor: update `Pulse.Structure` component with improved layout, fi…
vplend Jan 6, 2026
2554425
refactor: replace inline metrics block with new `Metrics` component a…
vplend Jan 6, 2026
b08a809
refactor: improve `Pulse.Structure` layout with updated header, folde…
vplend Jan 6, 2026
9da8d7d
refactor: adjust `WelcomeCard` styling with improved image responsive…
vplend Jan 6, 2026
3208903
refactor: refine `FlectoneChat` and `FlectoneMix` layouts with update…
vplend Jan 6, 2026
8240fe8
refactor: adjust `mix.svg` to modify fill opacity for improved visual…
vplend Jan 6, 2026
700d989
refactor: update `FlectoneChat` and `FlectoneMix` layouts with refine…
vplend Jan 6, 2026
21d40a9
refactor: simplify background class in main layout by removing unused…
vplend Jan 6, 2026
0001399
refactor: simplify `Pulse.Structure` header by removing rich text usa…
vplend Jan 6, 2026
01a19d6
refactor: add `Callout` component to `Pulse` and integrate it into MD…
vplend Jan 6, 2026
c5f4e8f
refactor: replace markdown ordered lists with `Steps` and `Step` comp…
vplend Jan 6, 2026
a0aae3b
refactor: remove redundant styling from global CSS to simplify and st…
vplend Jan 6, 2026
0c1fe28
refactor: adjust `Callout` background style for improved opacity cons…
vplend Jan 6, 2026
b8cdd4e
refactor: refine `DocsDescription` styling by adjusting bottom margin…
vplend Jan 6, 2026
2b573f1
refactor: enhance `h1` in MDX components with linkable headers and ic…
vplend Jan 6, 2026
ccfa75e
refactor: apply bold styling to anchor links in MDX headers for enhan…
vplend Jan 6, 2026
eeb08fa
refactor: add optional `icon` support to source schema and improve do…
vplend Jan 6, 2026
5ee9adf
refactor: adjust `Callout` component structure for improved gap handl…
vplend Jan 6, 2026
9232cb2
refactor: update `next.config.mjs` to support additional image source…
vplend Jan 6, 2026
687b1ec
refactor: add server metrics documentation in English and Russian, up…
vplend Jan 6, 2026
8b95287
refactor: integrate `next-intl` for localized button texts in `pulse`…
vplend Jan 6, 2026
940d708
refactor: update `Callout` import path to reflect new directory struc…
vplend Jan 6, 2026
3d97b80
refactor: replace `<img>` with new `ZoomImage` component in metrics d…
vplend Jan 7, 2026
4825f30
refactor: update metrics button URL to point to `/pulse/docs/metrics`…
vplend Jan 7, 2026
334e911
refactor: add conditional background images to layouts for light and …
vplend Jan 7, 2026
d0f4420
refactor: add backdrop blur effect to metrics container for enhanced …
vplend Jan 7, 2026
c5e37de
refactor: update SVG paths for improved stroke properties and consist…
vplend Jan 7, 2026
a5bc151
refactor: remove `shadow-2xl` from `ZoomImage` for cleaner styling
vplend Jan 7, 2026
bcf8426
refactor: adjust responsive styles for headings and descriptions in `…
vplend Jan 7, 2026
c14235f
refactor: standardize container styles across pages for improved resp…
vplend Jan 7, 2026
9407157
refactor: update `WelcomeCard` styles for improved responsiveness and…
vplend Jan 7, 2026
1c23a97
refactor: add `generateMetadata` functions for multilingual support i…
vplend Jan 7, 2026
017989c
refactor: add dynamic OG image route for docs and update middleware m…
vplend Jan 7, 2026
dfcaa36
refactor: remove unused `GithubCard` and `useTranslations` from about…
vplend Jan 7, 2026
bdc776e
refactor: update OG image route to support locale-specific slugs and …
vplend Jan 7, 2026
632af86
fix: update page title format to append " | FlectonePulse" in docs pages
vplend Jan 7, 2026
8ea3efa
refactor: add emojis to section headers for improved visual context i…
vplend Jan 7, 2026
c261d0c
refactor: simplify SVG structures in `pulsecard2.svg` and `pulsecard3…
vplend Jan 7, 2026
56a57b4
refactor: add `Footer` component to main and pulse layouts, enhance s…
vplend Jan 7, 2026
5534059
refactor: add `Footer` component to main and pulse layouts, enhance s…
vplend Jan 7, 2026
3e0e80b
refactor: remove `bakinu` contributor card from locale messages files
vplend Jan 7, 2026
5b40b8e
refactor: add standalone output configuration
TheFaser Jan 7, 2026
bba8e16
chore(ci): update deployment workflow configuration
TheFaser Jan 7, 2026
b5eff6e
docs: update key features list formatting
TheFaser Jan 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
64 changes: 33 additions & 31 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,36 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install Bun
run: |
curl -fsSL https://bun.sh/install | bash
echo "$HOME/.bun/bin" >> $GITHUB_PATH

- name: Install dependencies
run: bun install && bun install:pulse-ru && bun install:pulse-en

- name: Build project
run: bun run build:all

- name: Deploy to server
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i"
SOURCE: "dist/*"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
REMOTE_PORT: ${{ secrets.REMOTE_PORT }}
TARGET: ${{ secrets.REMOTE_TARGET }}
SCRIPT_BEFORE: |
rm -rf ${{ secrets.REMOTE_TARGET }}/*
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
run: npm ci

- name: Build project
run: npm run build

- name: Copy static files
run: cp -r .next/static .next/standalone/.next/

- name: Deploy to server
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i"
SOURCE: ".next/standalone/*"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
REMOTE_PORT: ${{ secrets.REMOTE_PORT }}
TARGET: ${{ secrets.REMOTE_TARGET }}
SCRIPT_BEFORE: |
pm2 stop next-app 2>/dev/null || true
rm -rf ${{ secrets.REMOTE_TARGET }}/*
SCRIPT_AFTER: |
cd ${{ secrets.REMOTE_TARGET }}
pm2 start server.js --name "next-app"
60 changes: 34 additions & 26 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,36 +1,44 @@
# build output
dist/

# generated types
.astro/
package-lock.json
bun.lock
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules/
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage

# next.js
/.next/
/out/
/.source

# production
/build

# misc
.DS_Store
*.pem

# logs
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# environment variables
.env
.env.production
.pnpm-debug.log*

# macOS-specific files
.DS_Store
# env files (can opt-in for committing if needed)
.env*

# jetbrains setting folder
.idea/
# vercel
.vercel

FlectonePulseDocs.iml
.vitepress/dist/*
/.idea/*
/pulse/ru/.vitepress/dist/
/pulse/ru/.vitepress/cache/
/pulse/en/.vitepress/dist/
/pulse/en/.vitepress/cache/
/.vscode/*
# typescript
*.tsbuildinfo
next-env.d.ts


40 changes: 26 additions & 14 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# 🤝 Contributing to Flectone Web

Thanks for wanting to help! Here’s how to get started.
Thanks for wanting to help! Here’s how to get started with our Next.js & Fumadocs based project.

---

## 🛠️ Getting Started

1. **Fork the repo** on GitHub.
2. **Clone your fork** locally.
3. **Install dependencies** using Bun.
3. **Install dependencies** using npm:
```bash
npm install
```
4. **Create a branch** for your changes.
5. **Make your changes** and test them.
6. **Commit and push** your changes.
Expand All @@ -23,38 +26,47 @@ Thanks for wanting to help! Here’s how to get started.
- Include screenshots or logs if needed.

### Code Contributions
- Follow existing code style.
- Test your changes.
- Follow existing code style (we use ESLint).
- Test your changes by running the development server.
- Keep PRs focused on one issue or feature.
- If you are adding documentation for **Pulse**, place it in `src/pulse/` or relevant `[lang]` directories.

### Documentation
- Fix typos, outdated info, or unclear sections.
- We use **MDX** with **Fumadocs**.
- Use `<include>` tags for reusable parts and localizations where possible, following the pattern in existing `.mdx` files.
- Fix typos, outdated info, or unclear sections in `src/messages/` (JSON) or content files.

---

## 🚀 Development

### Running the Project
- Start Astro dev server: `bun run dev`
- Start VitePress (RU): `bun run dev:pulse`
- Start VitePress (EN): `bun run dev:en-pulse`
- Start the development server:
```bash
npm run dev
```
- The site will be available at `http://localhost:3000`.

### Building the Project
- Build Astro: `bun run build`
- Build VitePress (RU): `bun run build:pulse`
- Build VitePress (EN): `bun run build:en-pulse`
- Build everything: `bun run build:all`
- Build the Next.js application:
```bash
npm run build
```
- To check for production errors locally:
```bash
npm run start
```

---

## 🧐 Code Review

- PRs will be reviewed by maintainers.
- Feedback will be provided if changes are needed.
- Once approved, your changes will be merged.
- Once approved, your changes will be merged into the main branch.

---

## 🙏 Thanks!

Your contributions make Flectone Web better. Happy coding! 🚀
Your contributions make Flectone Web better. Happy coding! 🚀
Loading