Museum · 个人作品博物馆 博物馆逻辑的个人展
Museum · 个人作品博物馆 博物馆逻辑的个人展:Museum · 个人作品博物馆 博物馆逻辑的个人展示站,而非博客。三个展厅(Tech 工程参考室 / Think 私人书房 / Create 项目工坊),每件展品带独立馆藏号与版本号。访客首次进入获得「今晚有效」票根(全局递
完整提示词
Install this skill: https://github.com/TencentEdgeOne/edgeone-pages-skills, then deploy to EdgeOne Pages. COMPETITION HIGHLIGHTS (Prompts Track) - UI/UX (45%): Warm cinematic editorial — cream-white museum with one door-opening scroll effect, staggered hero text rise, perforated visitor ticket, left-right guestbook spread. Restraint everywhere except the Threshold. - Prompts Quality (25%): Fully structured (Positioning → Brand → Tokens → Tech → Routes → Rooms → Interactions → Data → File Structure → Performance → Execution Order → Verification). Every color, font weight, animation curve, and layout dimension specified. Copy-paste reproducible. - Social Reach (20%): OG Image per wing via Edge Function. Real routes shareable on social media. Visitor ticket designed to be screenshot-worthy. Guestbook has anti-spam + auto-publish — real interaction, not decoration. - Technical Depth (10%): Edge Functions (guestbook + visitor ticket), KV-backed atomic increment, honeypot + rule-based moderation + simple-captcha, 24h auto-publish cron, SPA history fallback. --- BUILD STATUS (Current Implementation) The project already has a working implementation under `bmuseum/`. Treat it as the foundation. DO NOT rebuild what is already working — only complete the gaps listed below. Already Working (DO NOT REBUILD): - ✅ 8 个 URL / 6 条 Route,全部可独立访问(History API + 参数化路由) - ✅ 设计系统完全应用(tokens.css / fonts.css / globals.css + grain texture) - ✅ Grand Hall: Hero 入场动画 + Threshold 门开启滚动 + Hall Preview 三翼卡片 + Foyer 出口小语段(Foyer 是实现时自定义添加,保留) - ✅ About 页面 7 段全部完成(Hero / Identity / Principles / Thinking Loop / Shipping / Vision / Contact) - ✅ Wing 页面 4 段共用模板(Intro / Featured / Recent / All Exhibits) - ✅ Article Detail:阅读进度条 + 馆藏铭牌 + markdown 渲染 + prev/next 导航 - ✅ Index:三种视图 (time/wing/tag) + 客户端搜索 + 分组展示 - ✅ Guestbook 视觉:牛皮纸房间 + 左右翻页 + honeypot + 反 spam 题 + 敏感词过滤(数据层走 localStorage 降级) - ✅ Visitor Ticket:弹出动画 + 展开详情 + 房间历史(数据层走 localStorage 降级) - ✅ Nav:Grand Hall 滚动时 on-dark 切换 - ✅ Footer:三列深色底带 - ✅ Hooks:useScrollProgress / useReveal / useVisitorTicket - ✅ Data:articles.json (18 articles) / wings.json (3 wings) / types.ts Gaps To Complete (BUILD THESE): 1. Edge Functions:`functions/api/guestbook/`、`functions/api/visitor/` 2. KV 集成:替换 Guestbook 与 Visitor Ticket 的 localStorage 降级方案 3. SPA fallback:`functions/_middleware.ts` 或 EdgeOne 控制台规则 4. 移除 Guestbook seed data(prompt 禁止 fake data) 5. `blocklist.json` 敏感词规则表(当前是硬编码数组) 6. RSS / Atom feed (`feed.xml`) 7. `sitemap.xml` 8. 各页面独立 SEO meta tags(title / description / og:*) 9. OG Image Edge Function(按 wing slug / article slug 动态生成) 10. 性能验证与优化(LCP / bundle size / font preload / Threshold 图片 WebP) 11. 部署到 EdgeOne Pages(History fallback + CDN 缓存策略) 12. 清理空组件目录(hero/ / threshold/ / hall-preview/ / shared/,功能已内联到 GrandHall.tsx) 13. `about.json`(当前数据硬编码在 About.tsx 中) Known Code-Level Deltas (修代码时一并处理,不影响 prompt 指导): - Visitor Ticket 回访自动弹出缺少 `setShowTicket(true)` - `mdToHtml` 缺少 h1 / image / link / code-block / table 支持 - `formatVol` 生成 `TECH` 而非 `Tech`(大小写) - About §05/§06/§07 文本与 prompt 有微小偏差 - Footer 右列缺少 RSS / Atom 链接 --- Build a personal works museum website called B.Museum using React + Vite + TypeScript. GOAL You are the chief curator-engineer of B.Museum. It is NOT a blog — it is a museum. Visitors browse by "walking through rooms", not by scrolling a timeline. The entire site follows the "Path D · Warm Cinematic / Editorial" visual direction: warm cream-white base + one powerful cinematic entrance moment +极致 restrained layout everywhere else. After reading this entire prompt, build in the order specified in §10 Execution Order. After completing each item, run the self-check in §11 Verification Criteria before proceeding. Do NOT skip any section — every room has its reason to exist. BRAND Brand name: B.Museum Tagline: Walk through the mind. The museum is space, not flow. Every exhibit has a position, a number, a version. They are not stacked on a timeline. Visitor narrative: "By day I ship code. By night I curate what survived the thinking." Three wings, one volume per year. Target experience: Three-second wow + whole-museum restraint. First-screen text enters with animation → door-opening scroll effect → see three wings → explore freely. ABSOLUTE PROHIBITIONS: - Dark color as primary基调 (dark is ONLY for Hall Preview / Footer / Room Markers) - Particle backgrounds / WebGL / any 60fps sustained GPU task - Timeline scroll flow - Modal overlays as content main pages (articles, wings, about are all real routes) - Fake / placeholder social data in Guest Book - i18n (this site is Chinese-only, no language toggle) - Dark mode toggle (the主线 is always warm cream-white) DEPLOYMENT PLATFORM & TECH STACK (hard constraints)
分类与标签
AI 图片