Skip to content

feat(website): Add brand-new bub website powered by Astro and Starlight#176

Merged
PsiACE merged 33 commits intobubbuild:mainfrom
100gle:improve
Apr 19, 2026
Merged

feat(website): Add brand-new bub website powered by Astro and Starlight#176
PsiACE merged 33 commits intobubbuild:mainfrom
100gle:improve

Conversation

@100gle
Copy link
Copy Markdown
Contributor

@100gle 100gle commented Apr 18, 2026

No description provided.

100gle and others added 24 commits April 14, 2026 13:50
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>
- 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>
- 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>
Copy link
Copy Markdown
Collaborator

@frostming frostming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about using https://github.com/username.png instead of storing avatar images with the repo?

@100gle
Copy link
Copy Markdown
Contributor Author

100gle commented Apr 18, 2026

How about using https://github.com/username.png instead of storing avatar images with the repo?

It's fine. But we should make sure all users in testimonial wall have a github account.

@frostming
Copy link
Copy Markdown
Collaborator

How about using https://github.com/username.png instead of storing avatar images with the repo?

It's fine. But we should make sure all users in testimonial wall have a github account.

I thought it was for contributor avatars. Okay for testimonials, we can use a placeholder avatar if not available.

@100gle
Copy link
Copy Markdown
Contributor Author

100gle commented Apr 18, 2026

How about using https://github.com/username.png instead of storing avatar images with the repo?

It's fine. But we should make sure all users in testimonial wall have a github account.

I thought it was for contributor avatars. Okay for testimonials, we can use a placeholder avatar if not available.

OK, Let me implement it!

100gle and others added 2 commits April 18, 2026 22:13
- 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>
Comment thread website/astro.config.mjs Outdated
@100gle 100gle marked this pull request as ready for review April 18, 2026 14:54
Copy link
Copy Markdown
Collaborator

@PsiACE PsiACE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I'd like to merge this code and get ready to publish it.

A huge thank you, ❤️

@PsiACE PsiACE merged commit 1f866c4 into bubbuild:main Apr 19, 2026
5 checks passed
@100gle 100gle deleted the improve branch April 20, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants