feat: 拆分商业与开源应用并统一产品官网设计 - #12
Merged
Merged
Conversation
|
Preview for this pull request: https://cfc64dfc-weapp-dev.sonofmagic.workers.dev This Worker Version is not production traffic. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更
将 weapp.dev 与 weapp.js.org 拆为两个独立 Astro 应用,并按产品官网式展示重新设计两站:中性黑白灰、大标题、宽松留白、自托管 Geist、真实演示和截图。保留绿色标识、粒子字标、项目星球和完整项目资料。
apps/web固定为商业站,Cloudflare 托管;apps/open-source固定为开源站,GitHub Pages 同时支持根路径和/weapp.dev/。删除部署身份和服务/赞助切换开关。packages/project-catalog只承载公开事实、素材、类型/校验及指标;packages/site-ui提供中立组件、颜色/排版/间距/按钮样式及演示。页面编排、导航、文案、SEO、隐私、统计和商业模块由应用各自维护,禁止跨应用依赖。新旧对比
首屏保留探索体验,收敛字体、网格、轨道和星球重量;后续章节改为更清晰的展示节奏。
开源站对比、两站截图矩阵、体积和详细记录见 本轮设计验收。根级和两应用 DESIGN.md 及设计 token sidecar 已同步。
验证
pnpm check、pnpm build、依赖边界和产物检查通过;138项单元/边界测试,类型检查无错误/警告/提示。预览、发布与独立回滚
保留原Worker、域名、Pages地址,两站CI/产物/权限分别管理;共享包和根配置变更触发两条链。商业PR预览沿用Worker Version,开源站提供独立构建产物。本地预览:商业 http://127.0.0.1:4322/,开源 http://127.0.0.1:45332/。
本PR不合并、不部署生产。验证产物分别保留30天,发布前保存上一版:商业站选择先前Worker Version回滚,开源站使用自己的上一版产物或提交重新发布。按维护手册分别验证域名、静态资源、SEO与统计请求;上线后核验留待发布阶段。合并前核对分支保护是否仍要求旧通用CI名称。