feat(site): nixcn-conf-2605 impt #20

Merged
Loradaro merged 2 commits from feat/nixcn-conf-2605 into main 2026-05-19 22:28:15 +00:00
Member

Summary

实现 NixCN Conf 2026.05 活动官网,将站点从 Starlight 文档站替换为自定义 Astro 多页面网站。

  • 新增首页、Calendar、CMS Guide、Souvenir 四个活动页面
  • 支持 zh-CN / en 双语,根路径 / 重定向至 /zh-CN/
  • 迁移并整理活动相关静态资源至 public/images/
  • 接入 badge 倾斜、背景视差、Nix flake 动画等交互
  • 移除 Starlight 及旧 MDX 文档内容

Routes

页面 zh-CN en
首页 /zh-CN/ /en/
日程 /zh-CN/calendar /en/calendar
CMS 指南 /zh-CN/cms-guide /en/cms-guide
纪念品 /zh-CN/souvenir /en/souvenir

⚠️ Breaking Changes

内容移除

  • 移除 Starlight 及全部 MDX 文档(meetup guide、volunteers、code-of-conduct 等)
  • 移除 @astrojs/starlight、@astrojs/mdx、starlight-ui-tweaks 等依赖
  • 移除 src/content/docs/ 目录及 content.config.ts

架构变更

  • 站点由文档驱动(MDX)改为组件驱动(.astro 页面)
  • 静态资源从 src/assets/ 迁移至 public/images/
  • i18n 由 Starlight locale 改为自定义 [lang]/ 路由 + translations.json
## Summary 实现 NixCN Conf 2026.05 活动官网,将站点从 Starlight 文档站替换为自定义 Astro 多页面网站。 - 新增首页、Calendar、CMS Guide、Souvenir 四个活动页面 - 支持 `zh-CN` / `en` 双语,根路径 `/` 重定向至 `/zh-CN/` - 迁移并整理活动相关静态资源至 `public/images/` - 接入 badge 倾斜、背景视差、Nix flake 动画等交互 - 移除 Starlight 及旧 MDX 文档内容 ## Routes | 页面 | zh-CN | en | |------|-------|-----| | 首页 | `/zh-CN/` | `/en/` | | 日程 | `/zh-CN/calendar` | `/en/calendar` | | CMS 指南 | `/zh-CN/cms-guide` | `/en/cms-guide` | | 纪念品 | `/zh-CN/souvenir` | `/en/souvenir` | ## ⚠️ Breaking Changes ### 内容移除 - 移除 Starlight 及全部 MDX 文档(meetup guide、volunteers、code-of-conduct 等) - 移除 @astrojs/starlight、@astrojs/mdx、starlight-ui-tweaks 等依赖 - 移除 src/content/docs/ 目录及 content.config.ts ### 架构变更 - 站点由文档驱动(MDX)改为组件驱动(.astro 页面) - 静态资源从 src/assets/ 迁移至 public/images/ - i18n 由 Starlight locale 改为自定义 [lang]/ 路由 + translations.json
Loradaro added 1 commit 2026-05-19 09:19:07 +00:00
- Remove Starlight and MDX docs content
- Add multilingual routing under [lang]/
- Add Home, Calendar, Souvenir, and CMS Guide pages
- Move static assets to public/images
- Add i18n config and translations
- Add client scripts for badge tilt, parallax, and nixflake animation
- Update astro config and dependencies

Signed-off-by: gylove1994 <gylove1994@acgsteps.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
nvirellia was assigned by Loradaro 2026-05-19 09:19:21 +00:00
sugar was assigned by Loradaro 2026-05-19 09:19:21 +00:00
nvirellia was unassigned by Loradaro 2026-05-19 09:20:01 +00:00
sugar was unassigned by Loradaro 2026-05-19 09:20:01 +00:00
Loradaro requested review from nvirellia 2026-05-19 09:20:06 +00:00
Loradaro requested review from sugar 2026-05-19 09:20:07 +00:00
Loradaro added 1 commit 2026-05-19 22:26:21 +00:00
- Updated the food map image source based on locale in CalendarPage.astro.
- Introduced a "coming soon" modal in SouvenirPage.astro with relevant translations and styling.
- Updated the CTA URL in translations.json for both English and Chinese versions.
Loradaro merged commit 7a3fed3b44 into main 2026-05-19 22:28:15 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nixcn/website#20