Commit 1f866c4
feat(website): Add brand-new bub website powered by Astro and Starlight (#176)
* wip
* feat(website): build landing page sections and migrate docs content
Landing page:
- Add Features.astro (6 feature cards, responsive 3×2 grid, hover animation)
- Add QuickStart.astro (3-step install/configure/run with code blocks)
- Add Philosophy.astro (born-in-group-chats storytelling, pull quote, highlights)
- Add Footer.astro (brand, nav links, copyright, built-with)
- Wire all new sections into pages/index.astro and pages/zh-cn/index.astro
- Extend landing-page.ts with full EN and zh-cn i18n copy for all sections
- Add section divider rule to global.css
Docs migration (from docs/ source of truth):
- Migrate docs/architecture.md → concepts/architecture.mdx (EN + zh-cn)
- Migrate docs/channels/{index,cli,telegram}.md → guides/{channels,cli,telegram}.mdx
- Migrate docs/skills.md → guides/skills.mdx
- Migrate docs/deployment.md → guides/deployment.mdx
- Split docs/extension-guide.md → extending/{plugins,hooks}.mdx
- Migrate blog posts → blog/{socialized-evaluation,bootstrap-milestone}.mdx
- Create reference/index.mdx placeholder (EN + zh-cn)
- Remove orphaned en/docs/index.mdx and zh-cn/docs/index.mdx
- Switch astro.config.mjs sidebar to autogenerate per directory
Build: 37 static pages, zero errors
Closes #3, #4, #5, #6, #7, #8, #9, #10, #11, #12
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* refactor(website): brand-new design with shadcn create
* wip
* wip
* wip
* wip
* feat: make all landing page components mobile-responsive
- Features: hide center logo on <lg, 1col mobile/2col sm/3col lg grid,
responsive padding and min-height
- NavBar: icons + borders in mobile dropdown, slide-down animation
- Hero: full-width CTA buttons on mobile, overflow-x-auto on terminal
- HookIntro: hide hook-note text on <md, overflow-hidden on stage container
- TapeModel: hide time column on <sm, responsive cell padding, scroll
fade indicator
- Testimonials: responsive height (320/380/440px)
- Footer: vertical stack on mobile, centered, flex-wrap links
- Contributors: show 5 avatars on mobile (10 on md+), smaller avatar size
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* wip
* wip
* wip
* refactor(website/i18n): Optimize i18n configuration and route path
* feat(website): Set real repository data and enable SSR mode
* style(website/hook): Redesign the hook intro illustration and animation
* refactor(website/tape): Redesign tape section illustration and animation
* improve(website): Optimize website UI/UX
- Unified the theme between main site and docs
- Unified the theme storage key
- fix the i18n route path issue
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* feat(website/i18n): Optimize chinese translation content
* og and userwall avatar
* feat(website): switch OG fonts to fontsource, add zh-cn index card
- Replace Google Fonts API with @fontsource/outfit and
@fontsource/noto-sans-sc (.woff files read directly by satori)
- Use unicode-range subset matching to load only needed CJK subsets
- Give each CJK subset a unique font name to work around satori's
deduplication of same-name+weight entries
- Add /og/zh-cn/index.png OG card with Chinese site description
- Wire locale-specific ogImage through LandingLayout → BaseLayout
- Remove wawoff2 dependency (satori supports WOFF natively)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* extract site url environment variable
* optimize og and html background
* fix the navbar issue
* remove duplicated title
* fix x icon and ui i18n issue
* chore: switch website adapter to cloudflare
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Chojan Shang <psiace@apache.org>1 parent 57c4afd commit 1f866c4
82 files changed
Lines changed: 12255 additions & 1 deletion
File tree
- website
- public
- src
- assets
- components
- ui
- content
- docs
- docs
- concepts
- extending
- getting-started
- guides
- zh-cn/docs
- concepts
- extending
- getting-started
- guides
- i18n
- posts
- en
- zh-cn
- data
- i18n
- layouts
- lib
- pages
- [...locale]
- posts
- og
- styles
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
0 commit comments