跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。

关于这个模板

一个完全由扁平化糖果色代码构建的主题公园网站——任何地方都没有照片。奶油色地面、泡泡糖粉、天蓝、柠檬黄和薄荷绿分区,粗圆润的 Fredoka 标题,葡萄墨色文字。主角就是公园本身:一张用 SVG 绘制的插画地图,包含四个彩色区域、扁平矢量地标——摩天轮、环形过山车、旋转木马——以及十四个在加载时弹出的游乐设施圆点。刺激等级和身高要求的筛选器位于地图上,会同时重新点亮圆点和游乐设施列表;点击圆点会打开一张游乐设施卡片,包含其区域、刺激程度条、身高标签和一个“添加到我的日程”按钮。游乐设施列表以粗卡片配小图标的形式呼应地图;门票对比一日票、季票(标记为推荐)和家庭四人票,演示购买按钮明确说明未连接票务系统。一个示例营业时间和演出条以静态文案展示游行和特技跳水时间,而一日游计划清单将点击的游乐设施和演出变成可保存、可重新排序的行程,并带有小彩纸弹出效果——仅本地存储,并如实注明。每个身高要求、营业时间和演出时间都标注为示例数据。动效活泼但克制——弹性显现、弹出圆点、每次添加一次彩纸爆发——并在 prefers-reduced-motion 下提供平静的降级方案,筛选器支持键盘操作。在一个内容文件中替换公园名称、城市、一日票价格和游乐设施数量;第二个演示案例将公园变成带戏水区的水上乐园。

模板提示词

在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。

# Theme Park Website

Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.

## Brief
A single-page theme park site drawn entirely in code: a candy-palette identity, an illustrated SVG park map as the hero anchor with zones, flat-vector landmarks and filterable ride dots, a matching ride list, chunky ticket and pass comparison with demo buttons, a sample hours-and-shows strip, and a locally saved plan-your-day checklist with reorderable itinerary.

- Audience: Theme parks, water parks, family attractions and adventure venues, plus the studios building their summer pages.
- Goal: Get a family from 'ooh, look' to a planned day: play with the map, filter rides to the kids' height, pick a ticket, and leave with a saved itinerary — all honestly labeled as sample data with no ticketing connected.
- Tone: Joy-forward and a little sugary, but never shouty — puns allowed, exclamation rationed; the colors shout so the copy can stay friendly.

## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: tailwindcss (MIT), motion (MIT), lucide-react (ISC), @fontsource/fredoka (OFL), @fontsource/dm-sans (OFL)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Scaffold with npm create vite@latest theme-park-website -- --template react-ts; add [email protected], postcss and autoprefixer as dev dependencies; add motion, lucide-react, @fontsource/fredoka and @fontsource/dm-sans as dependencies.
  - vite.config.ts: base './', build.sourcemap false, build output dist/.
  - tailwind.config.js: extend colors cream #FFF8F0, bubblegum #FF7DA5, sky #79C7F2, lemon #FFD23F, mint #7BD9B0, grape #4A3560, lilac #8E7AAE, snow #FFFFFF; fontFamily display 'Fredoka' and sans 'DM Sans'; radius: chunky defaults (chip 14px, card 24px, blob 32px).
  - postcss.config.js: tailwindcss + autoprefixer.
  - src/components/ParkMap.tsx: the illustrated map in one SVG, viewBox 0 0 900 560 — four zone blobs as rounded organic polygons in flat fills (Candy Canyon bubblegum, Sky Harbor sky, Lemon Grove lemon, Mint Meadow mint), a lilac entrance strip at the bottom with two path lines connecting zones, a small lake shape in Sky Harbor, tree dots (12px mint/grape circles at fixed positions), flat-vector landmarks (a ferris wheel as a circle with 8 spokes in Sky Harbor, a double-loop coaster as a single looping path in Candy Canyon, a carousel as a circle with a triangle roof in Mint Meadow), and fourteen ride dots (12px white-stroked circles in their zone colors at fixed positions from content.ts); dots pop in staggered on load; a filter prop (thrill | height) dims non-matching dots to 15% with grayscale (250ms); clicking a dot opens a popover card; keyboard focus moves through dots as buttons.
  - src/components/RideIcon.tsx: six tiny flat-vector ride glyphs drawn in SVG (coaster loop, spinner, drop tower, flume splash, carousel, ferris wheel) — simple geometry, zone-colored, 28px, no outlines beyond grape 2px.
  - src/components/Confetti.tsx: a one-shot burst of six small candy shapes (circles, triangles, squares in the four zone colors) rising 40px and fading over 600ms from a trigger point, aria-hidden, disabled under prefers-reduced-motion.
  - src/hooks/useDayPlan.ts: the plan-your-day state — an ordered array of ride/show ids persisted to localStorage key 'dayPlan'; exposes add/remove/moveUp/moveDown/clear; adding fires the Confetti burst once.
  - src/lib/motion.ts: springy variants — popIn (scale 0.6→1, spring stiffness 260 damping 18), reveal (opacity 0→1, y 22→0, 500ms ease-out, 70ms stagger, whileInView once) — with useReducedMotion falling back to plain 200ms fades and no confetti or springs.
  - Keep every user-facing string and data set (park, town, ticket price, ride count, zones, rides array {id, name, zone, thrill 'mild'|'wild'|'max', height 'any'|'102'|'122', icon, blurb, mapAt{x,y}}, shows, hours, tickets) in src/content.ts; sections read from it so values swap in one place.
  - index.html: <title>[BRAND] — [CITY]'s Theme Park</title> plus a drawn-in-code favicon.svg (a bubblegum balloon circle on cream); no other meta work.

## Variables
- [BRAND] — Park name (default: "Jubilee Junction"). Invented park name for the wordmark, hero headline, page title and footer.
- [CITY] — Town (default: "Fernhollow"). The invented town the park lives in — hero sub-line, address and footer.
- [TICKET_DAY] — Day pass price (default: "$58"). The day-pass price on the tickets comparison and the header CTA's expectation.
- [RIDES] — Ride count (default: "24"). The sample total ride count in the hero stat row ('[RIDES] rides, four zones — sample'); the map shows fourteen of them.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/theme-park-website in the footer (default: yes; delete this line to remove it)

The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.

## Design
### Colors
- Cream `#FFF8F0` — Page ground everywhere — warm candy-shop cream.
- Bubblegum `#FF7DA5` — Zone 1 (Candy Canyon) and the primary accent: CTAs, active chips, the flagged ticket.
- Sky `#79C7F2` — Zone 2 (Sky Harbor); secondary chips and info tints.
- Lemon `#FFD23F` — Zone 3 (Lemon Grove); highlight tags, the hours strip's sun icon.
- Mint `#7BD9B0` — Zone 4 (Mint Meadow); success states, added-to-plan checks.
- Grape ink `#4A3560` — Primary text and all SVG outlines — deep grape, never black.
- Lilac `#8E7AAE` — Secondary text, the map's entrance strip, meta lines.
- Snow `#FFFFFF` — Cards, panels, ride-dot strokes — crisp white against cream.

### Typography
- Display — park name, headlines, zone names, ticket prices (chunky rounded): Fredoka (OFL), weights 500/600/700
- Text — body, chips, ride blurbs, checklist (labels uppercase tracked 0.08em): DM Sans (OFL), weights 400/500/700

### Layout & motion
- Spacing: Playful and roomy: sections py-24 (96px) desktop / py-16 mobile; content max-w-6xl px-6/px-10; chunky cards carry 24px padding and generous 24px gaps; the map panel gets full content width with 32px of clear space.
- Radius: Chunky everywhere: 24px on cards and the map panel, 14px on chips and inputs, 999px pills on buttons, 32px blob radii on zone shapes; nothing square.
- Motion: Map dots pop in on load (scale 0.6→1, spring stiffness 260 damping 18, staggered 40ms) — the park switching its lights on.
- Motion: Filters: non-matching dots and ride cards dim to 15% with grayscale (250ms); matching items bounce once (scale 1→1.04→1); counts in the mono-ish caption update instantly.
- Motion: Ride popover: card pops from its dot (scale 0.8→1 spring) and closes on outside click, Escape or its X.
- Motion: Add-to-plan: the checklist row pops in with a six-shape Confetti burst (600ms, once per add); move up/down slides rows 200ms.
- Motion: Reveals: sections and cards rise (y 22→0, 500ms ease-out) with 70ms stagger via Motion whileInView, once; ticket cards land with a small overshoot.
- Motion: prefers-reduced-motion: no pops, springs or confetti; dots and cards render at rest; filters switch instantly; all reveals become 200ms opacity fades.
- Imagery: Zero photography — the whole park is flat-vector code drawing: candy-colored zone blobs, geometric landmarks (wheel, looping coaster, carousel), simple tree and crowd dots without faces, tiny ride glyphs, and confetti shapes. Everything shares one flat-illustration language: 2px grape outlines, flat fills, no gradients, no textures, no characters or mascots with faces.

## Pages & Sections
### [BRAND] — [CITY]'s Theme Park (`index.html`)
1. **Header** — Fixed top bar, 64px, cream ground at 94% opacity with a soft shadow. Left: the [BRAND] wordmark in Fredoka 700 20px grape. Right (desktop): anchor links 'Map', 'Rides', 'Tickets', 'Shows', 'Plan' in DM Sans 700 14px grape → bubblegum on hover; then a bubblegum pill 'Get tickets' (snow text) → #tickets. Mobile: wordmark + pill + lucide menu/x toggle opening a snow panel with the five links stacked.
   Layout: position fixed, z-40.
   Motion: Mobile panel bounces down 300ms; link hovers 150ms; the pill squashes 0.96 on press.
2. **Hero — the illustrated map** — Left block above the map: label in DM Sans 700 12px uppercase tracked 0.12em bubblegum: '[RIDES] RIDES · FOUR ZONES · [CITY]'; headline Fredoka 700 clamp(2.75rem, 6vw, 4.75rem) grape: 'Pick your thrill.'; sub DM Sans 400 17px lilac max-w 42ch: 'Tap a dot, check the height, build your day. [BRAND] is a demo park — every number on this page is sample copy.' CTAs: 'Plan your day' (bubblegum pill) → #plan; 'See tickets' (outline grape) → #tickets. Then the ParkMap panel (snow ground, 24px radius, grape 2px border): the four zone blobs with their names in Fredoka 600 16px grape set on the blobs, landmarks, ride dots, and a floating filter bar docked at the panel's bottom (snow pill row): THRILL [All / Mild / Wild / Max] × HEIGHT [All / Any height / 102 cm+ / 122 cm+]. Clicking a dot opens the ride popover: name Fredoka 600 18px grape, zone chip, thrill meter (three filled/empty grape dots), height chip, blurb line, and 'Add to my day +' (mint pill) — which adds to the checklist and fires confetti.
   Layout: min-h auto: text block constrained to max-w-2xl above the map; map panel full content width (aspect ~16:10) with the filter bar inside its bottom edge; mobile: map scrolls horizontally in its panel at 4:3 before stacking filters below.
   Motion: Dots pop in staggered on load; filters dim non-matching dots (250ms) and matching dots bounce once; popovers pop from dots; reduced motion: dots at rest, instant filters.
3. **Ride list** — id=rides. Label 'ALL RIDES' bubblegum; heading Fredoka: 'Nine of [RIDES], filtered.' The same THRILL/HEIGHT filters mirrored here (shared state with the map). Ride cards (snow, 24px radius, grape 2px border) in a 3-column grid: a RideIcon in the zone color, name Fredoka 600 18px grape, blurb DM Sans 14px lilac, a zone chip, thrill meter (three dots) and height chip, and 'Add to my day +' (mint pill, turns into a mint check 'In your day' when added). Rides: 'Gumdrop Coaster' — Candy Canyon — mild, any height — 'First loops, gentle speed, endless grins.' / 'Taffy Twister' — Candy Canyon — wild, 102 cm+ — 'Spins until the horizon disagrees.' / 'Sky Diver' — Sky Harbor — max, 122 cm+ — 'Straight down, politely.' / 'Cloud Carousel' — Sky Harbor — mild, any height — 'Bobbing seahorses, vintage paint.' / 'Big Wheel' — Sky Harbor — mild, any height — 'The view, at a civilized speed.' / 'Lemon Drop Tower' — Lemon Grove — wild, 122 cm+ — 'Up slowly, down immediately.' / 'Citrus Splash' — Lemon Grove — wild, 102 cm+ — 'The flume with the famous final wave.' / 'Mint Express' — Mint Meadow — mild, any height — 'A family coaster through the mint beds.' / 'Meadow Racers' — Mint Meadow — wild, 102 cm+ — 'Head-to-head karts, one winner's photo.' Caption: 'HEIGHTS AND THRILL LEVELS ARE SAMPLE DATA.'
   Layout: 3-column grid (2 tablet, 1 mobile) with 24px gaps; chips wrap within cards.
   Motion: Filtering bounces matching cards once and dims non-matching (250ms); cards reveal staggered 70ms; adding pops a mint check and fires confetti; reduced motion: instant filters, plain fades.
4. **Tickets** — id=tickets. Label 'TICKETS' bubblegum; heading: 'Pick your wristband.' Three chunky cards (snow, 24px radius, grape 2px border): 'DAY PASS' — '[TICKET_DAY]' Fredoka 700 44px grape — rows with lucide check (mint): 'All [RIDES] rides' / 'Both daily shows' / 'Free parking after noon'. 'SEASON PASS' — '$149' — flagged with a bubblegum ribbon 'PICKED FOR SUMMER' and a bubblegum border: 'Every open day' / 'Bring-a-friend mornings' / '10% off snacks'. 'FAMILY FOUR' — '$199' — 'Two grown-ups, two kids' / 'All rides and shows' / 'One souvenir photo'. Each card's 'Buy — demo' button (grape pill) reveals the shared inline note (300ms): 'Demo button — no ticketing is connected; nothing is charged.' Caption: 'PRICES ARE SAMPLE DATA.'
   Layout: 3-column grid (stacked on mobile) with 24px gaps; the season card lifts 8px on desktop; ribbon across its top border.
   Motion: Cards land with a small overshoot on reveal; the ribbon sways once (±3°, 500ms); demo note fades in and stays.
5. **Hours and shows** — id=shows. A lemon-tinted strip: 'TODAY'S HOURS' in DM Sans 700 12px tracked grape, '10:00 — 20:00' in Fredoka 700 32px grape, and the lilac sample note 'SAMPLE HOURS — NO REAL CLOCK.' Then three show rows (snow cards, 24px radius): 'Parade of Sprinkles' — '13:00 & 17:00 · Main Street' — 'Floats, brass, one very slow tortoise.' / 'Harbor Stunt Dive' — '14:30 · Sky Harbor stage' — 'Kites, trampolines, a suspicious amount of confetti.' / 'Lantern Glow' — '19:30 · Mint Meadow' — 'A quiet end; bring the sleepy ones.' Each show row carries an 'Add to my day +' mint pill feeding the same checklist.
   Layout: Hours strip full-width with a lemon sun icon (drawn SVG); show rows in a 3-column grid (stacked on mobile).
   Motion: Strip fades up; show cards reveal staggered 70ms; the sun icon rotates 360° once on reveal (800ms); reduced motion: no rotation.
6. **Plan your day** — id=plan. Label 'PLAN YOUR DAY' bubblegum; heading: 'Your day, in order.' Intro DM Sans 16px lilac: 'Tap rides and shows anywhere on this page — they land here, saved on this device.' The itinerary panel (snow, 24px radius, grape 2px border): ordered rows with a numbered bubblegum badge, the name in Fredoka 600 16px grape, its zone chip, and controls (lucide arrow-up, arrow-down, x, all ≥ 44px); empty state: a mint dashed outline card saying 'Nothing yet — go tap something fun on the map.' Buttons: 'Clear the day' (outline grape) and a summary line '6 stops · 3 rides · 2 shows · 1 parade' (updates live). Note DM Sans 13px lilac: 'Saved on this device only — this demo sends nothing.'
   Layout: Panel max-w-3xl mx-auto; rows 64px tall with 12px gaps; controls right-aligned; mobile keeps the same order.
   Motion: New rows pop in (spring) with the confetti burst at the panel's top-right; move up/down slides rows 200ms; clear fades rows out 200ms; reduced motion: plain fades, no confetti.
7. **Footer** — Cream ground with a grape 2px top border (the only strong rule on the page). Left: the [BRAND] wordmark and one line DM Sans 13px lilac: '1 Confetti Way, [CITY] — an invented park; rides, heights, hours and prices on this page are sample copy.' Right: anchor links 'Map · Rides · Tickets · Shows · Plan' in grape; optional [CREDIT] link. No dates, no social row.
   Layout: py-12, max-w-6xl, flex row wrapping to column on mobile.
   Motion: None.

## Assets
- icon: lucide-react (ISC) via npm — check on ticket rows and the added-to-plan state, arrow-up, arrow-down and x on itinerary controls, plus and minus where needed, sun and clock on the hours strip, map-pin in the footer, menu and x for the mobile header. No other iconography: no emoji, no park-chain marks, no ride logos. Everything visual — the park map, zone blobs, landmarks, ride glyphs, confetti and the sun — is drawn in SVG by the builder following the section specs; no image files are used anywhere.
- font: @fontsource/fredoka (OFL, weights 500, 600, 700) and @fontsource/dm-sans (OFL, weights 400, 500, 700), imported in src/main.tsx; never loaded from fonts.googleapis.com or any CDN. List both families and the lucide icon package in ASSETS.md at the project root: path, source, license — there are no image assets to list.

## Don'ts
- No ticketing backend, no payments, no network calls: buy buttons are demo anchors that reveal the inline note ('no ticketing is connected; nothing is charged'), and the plan saves to localStorage only with its honest note.
- No real theme parks, ride names, shows or franchises: the park, rides, shows and prices are invented; no castles, characters, mouse ears or any silhouette resembling a real park or franchise — map landmarks stay generic geometry (wheel, loop, carousel).
- Heights, thrill levels, hours and show times are sample data and stay labeled; no dates tied to the real clock — 'today's hours' is a static sample, never time-aware.
- Everything is code-drawn flat vector: no photographs, no generated images, no placeholder-image services; people are only faceless crowd dots — no figures with faces, no mascots.
- No CDN anything: fonts ship through Fontsource packages, icons from lucide-react; no third-party scripts or embeds.
- Production build: single command, minified, no source maps, no src/ in the output, relative paths (Vite base './'); keep dist/ tiny (well under 20 MB — there are no bitmaps).
- Single page with anchor navigation; must render cleanly at 1440×900 and 390×844 with zero console errors; map dots, filters and itinerary controls must be keyboard operable buttons with visible focus; all motion must respect prefers-reduced-motion (no pops, springs or confetti; plain fades).
- Keep the candy direction locked: cream ground, the four zone colors (bubblegum, sky, lemon, mint) plus grape ink, Fredoka over DM Sans, chunky 14–24px radii, flat fills only; no dark mode, no gradients, no glassmorphism, no neon glow, nothing faster than a 300ms interface transition.
- All copy, labels, sample data and alt text in US English, living in src/content.ts; when [BRAND], [CITY], [TICKET_DAY] or [RIDES] change, rewrite zone names, rides and shows to fit the new park instead of leaving dry-ride copy under a water park.
- List every third-party file (two Fontsource families, lucide icons) in ASSETS.md at the project root: path, source, license.

---
— Prompt by VibeFather · https://vibefather.ai/t/theme-park-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 主题公园网站

完全按照下面的描述构建这个网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。

## 简介
一个完全用代码绘制的单页主题公园网站:糖果色系品牌识别,一张插画风格的 SVG 公园地图作为主视觉锚点,包含分区、扁平矢量地标和可筛选的游乐设施圆点,配套的游乐设施列表,厚实醒目的门票与通行证对比(带演示按钮),一条示例的营业时间与演出信息条,以及一个本地保存的“规划你的一天”清单,附带可重新排序的行程安排。

- 受众:主题公园、水上乐园、家庭游乐景点和探险场馆,以及正在制作其夏季页面的工作室。
- 目标:让一个家庭从“哇,快看”走到规划好的一天:玩转地图、按孩子的身高筛选游乐设施、挑选门票,并带着一份已保存的行程离开——所有这些都如实标注为示例数据,且未接入任何票务系统。
- 语气:欢乐向前、带点甜腻,但绝不喧闹——允许双关,感叹号要节制;颜色在呐喊,文案则可以保持友好。

## 技术栈
- 框架:Vite 5 + React 18 + TypeScript
- 样式:Tailwind CSS 3.4
- 库:tailwindcss(MIT)、motion(MIT)、lucide-react(ISC)、@fontsource/fredoka(OFL)、@fontsource/dm-sans(OFL)
- 构建:`npm run build` → `dist/` 中的静态文件。无后端、无服务器代码、无外部 API。
- 设置:
  - 使用 npm create vite@latest theme-park-website -- --template react-ts 搭建脚手架;将 [email protected]、postcss 和 autoprefixer 添加为开发依赖;将 motion、lucide-react、@fontsource/fredoka 和 @fontsource/dm-sans 添加为依赖。
  - vite.config.ts:base './',build.sourcemap false,构建输出 dist/。
  - tailwind.config.js:扩展颜色 cream #FFF8F0、bubblegum #FF7DA5、sky #79C7F2、lemon #FFD23F、mint #7BD9B0、grape #4A3560、lilac #8E7AAE、snow #FFFFFF;fontFamily display 'Fredoka' 和 sans 'DM Sans';radius:chunky 默认值(chip 14px、card 24px、blob 32px)。
  - postcss.config.js:tailwindcss + autoprefixer。
  - src/components/ParkMap.tsx:插画地图放在一个 SVG 中,viewBox 0 0 900 560 —— 四个区域色块为圆角有机多边形,采用平涂填充(Candy Canyon 用 bubblegum、Sky Harbor 用 sky、Lemon Grove 用 lemon、Mint Meadow 用 mint),底部有一条 lilac 入口条带,带两条连接各区域的路径线,Sky Harbor 中有一个小湖形状,树点(12px 的 mint/grape 圆形,位于固定位置),扁平矢量地标(Sky Harbor 中一个带 8 根辐条的摩天轮圆形,Candy Canyon 中一条单环过山车路径,Mint Meadow 中一个带三角屋顶的旋转木马圆形),以及十四个游乐设施点(12px 白色描边圆形,使用其区域颜色,位置固定,来自 content.ts);圆点在加载时交错弹出;filter 属性(thrill | height)将不匹配的圆点以灰度调暗至 15%(250ms);点击圆点打开弹出卡片;键盘焦点以按钮形式在圆点间移动。
  - src/components/RideIcon.tsx:六个小型扁平矢量游乐设施图标,用 SVG 绘制(过山车环、旋转器、跳楼机、激流冲溅、旋转木马、摩天轮)—— 简单几何形状,区域配色,28px,除 grape 2px 外无轮廓。
  - src/components/Confetti.tsx:一次性爆发六个小糖果形状(圆形、三角形、方形,使用四种区域颜色),从触发点上升 40px 并在 600ms 内淡出,aria-hidden,在 prefers-reduced-motion 下禁用。
  - src/hooks/useDayPlan.ts:规划你的一天状态 —— 一个有序的游乐设施/演出 id 数组,持久化到 localStorage 键 'dayPlan';暴露 add/remove/moveUp/moveDown/clear;添加时触发一次 Confetti 爆发。
  - src/lib/motion.ts:弹性变体 —— popIn(scale 0.6→1,spring stiffness 260 damping 18)、reveal(opacity 0→1,y 22→0,500ms ease-out,70ms stagger,whileInView once)—— 配合 useReducedMotion 回退到普通 200ms 淡入淡出,且无 confetti 或弹簧。
  - 将所有面向用户的字符串和数据集(公园、城镇、票价、游乐设施数量、区域、rides 数组 {id, name, zone, thrill 'mild'|'wild'|'max', height 'any'|'102'|'122', icon, blurb, mapAt{x,y}}、shows、hours、tickets)保留在 src/content.ts 中;各区块从中读取,以便在一处替换值。
  - index.html:<title>[BRAND] — [CITY]'s Theme Park</title> 加上一个代码绘制的 favicon.svg(cream 背景上的 bubblegum 气球圆形);无其他 meta 工作。

## 变量
- [BRAND] — 公园名称(默认:“Jubilee Junction”)。为字标、主视觉标题、页面标题和页脚虚构的公园名称。
- [CITY] — 城镇(默认:“Fernhollow”)。公园所在的虚构城镇——主视觉副标题行、地址和页脚。
- [TICKET_DAY] — 日票价格(默认:“$58”)。门票对比中的日票价格,以及页头 CTA 的预期。
- [RIDES] — 游乐设施数量(默认:“24”)。主视觉统计行中的示例游乐设施总数('[RIDES] rides, four zones — sample');地图上展示了其中十四个。
- [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接,指向 https://vibefather.ai/t/theme-park-website(默认:是;删除此行即可移除)

Pages & Sections 下的文案是按默认值编写的。如果你的值不同,请为它们重写每一个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。
将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便之后无需改动组件即可替换内容。

## 设计
### 颜色
- 奶油色(Cream)`#FFF8F0` — 全站页面底色 — 温暖的糖果店奶油色。
- 泡泡糖粉(Bubblegum)`#FF7DA5` — 区域 1(Candy Canyon)及主强调色:CTA、激活态标签、被标记的票券。
- 天空蓝(Sky)`#79C7F2` — 区域 2(Sky Harbor);次级标签和信息底色。
- 柠檬黄(Lemon)`#FFD23F` — 区域 3(Lemon Grove);高亮标签、营业时间条上的太阳图标。
- 薄荷绿(Mint)`#7BD9B0` — 区域 4(Mint Meadow);成功状态、已加入计划的勾选标记。
- 葡萄墨色(Grape ink)`#4A3560` — 正文文字及所有 SVG 描边 — 深葡萄色,绝不用黑色。
- 丁香紫(Lilac)`#8E7AAE` — 次级文字、地图入口条、元信息行。
- 雪白(Snow)`#FFFFFF` — 卡片、面板、游乐设施圆点描边 — 在奶油色底上呈现清爽的白色。

### 字体排印
- 展示字体 — 园区名称、标题、区域名称、票价(粗圆体):Fredoka(OFL),字重 500/600/700
- 正文字体 — 正文、标签、游乐设施简介、清单(标签大写、字距 0.08em):DM Sans(OFL),字重 400/500/700

### 布局与动效
- 间距:活泼且宽松:区块桌面端 py-24(96px)/ 移动端 py-16;内容 max-w-6xl px-6/px-10;厚实卡片内边距 24px、间距宽裕的 24px;地图面板占满内容宽度,四周留 32px 空白。
- 圆角:处处厚实圆润:卡片和地图面板 24px,标签和输入框 14px,按钮 999px 胶囊形,区域形状 32px 不规则圆角;没有任何直角。
- 动效:地图圆点加载时弹出(scale 0.6→1,弹簧 stiffness 260 damping 18,错峰 40ms)— 仿佛园区正在点亮灯光。
- 动效:筛选:不匹配的圆点和游乐设施卡片变暗至 15% 并灰度化(250ms);匹配项弹跳一次(scale 1→1.04→1);等宽风格说明文字中的计数即时更新。
- 动效:游乐设施弹出层:卡片从其圆点处弹出(scale 0.8→1 弹簧),点击外部、按 Escape 或点其 X 关闭。
- 动效:加入计划:清单行弹出,伴随六种形状的 Confetti 爆发(600ms,每次添加触发一次);上移/下移以 200ms 滑动行。
- 动效:入场揭示:区块和卡片上升(y 22→0,500ms ease-out),通过 Motion 的 whileInView 以 70ms 错峰,仅一次;票券卡片落地时带轻微过冲。
- 动效:prefers-reduced-motion:无弹出、弹簧或 Confetti;圆点和卡片静止渲染;筛选即时切换;所有入场揭示变为 200ms 透明度淡入。
- 图像:零摄影 — 整个园区由扁平矢量代码绘制:糖果色区域色块、几何地标(摩天轮、环形过山车、旋转木马)、无面孔的简单树木和人群圆点、微型游乐设施图标以及 Confetti 形状。所有元素共享同一种扁平插画语言:2px 葡萄色描边、纯色填充、无渐变、无纹理、无带面孔的角色或吉祥物。

## 页面与区块
### [BRAND] — [CITY] 主题公园(`index.html`)
1. **页眉(Header)** — 固定顶栏,64px,奶油色底、94% 不透明度,带柔和阴影。左侧:[BRAND] 字标,Fredoka 700 20px,葡萄紫(grape)。右侧(桌面端):锚点链接 'Map'、'Rides'、'Tickets'、'Shows'、'Plan',DM Sans 700 14px 葡萄紫 → 悬停时变为泡泡糖粉(bubblegum);随后是泡泡糖粉胶囊按钮 'Get tickets'(雪白文字)→ #tickets。移动端:字标 + 胶囊按钮 + lucide 菜单/x 切换按钮,点击展开雪白面板,五个链接纵向堆叠。
   布局:position fixed,z-40。
   动效:移动端面板弹跳下落 300ms;链接悬停 150ms;胶囊按钮按下时压缩至 0.96。
2. **主视觉 — 插画地图** — 地图上方左侧区块:标签 DM Sans 700 12px 大写、字距 0.12em、泡泡糖粉:'[RIDES] RIDES · FOUR ZONES · [CITY]';标题 Fredoka 700 clamp(2.75rem, 6vw, 4.75rem) 葡萄紫:'Pick your thrill.';副标题 DM Sans 400 17px 淡紫(lilac)、max-w 42ch:'Tap a dot, check the height, build your day. [BRAND] is a demo park — every number on this page is sample copy.' 行动按钮:'Plan your day'(泡泡糖粉胶囊)→ #plan;'See tickets'(葡萄紫描边)→ #tickets。然后是 ParkMap 面板(雪白底、24px 圆角、葡萄紫 2px 边框):四个区域色块,名称以 Fredoka 600 16px 葡萄紫置于色块上,另有地标、游乐设施圆点,以及停靠在面板底部的浮动筛选栏(雪白胶囊行):THRILL [All / Mild / Wild / Max] × HEIGHT [All / Any height / 102 cm+ / 122 cm+]。点击圆点打开设施弹出层:名称 Fredoka 600 18px 葡萄紫、区域标签、刺激度计量(三个实心/空心葡萄紫圆点)、身高标签、简介行,以及 'Add to my day +'(薄荷绿胶囊)——点击后加入清单并触发彩纸效果。
   布局:min-h auto:文字区块限制在 max-w-2xl,位于地图上方;地图面板占满内容宽度(宽高比约 16:10),筛选栏位于其底边内侧;移动端:地图在面板内以 4:3 横向滚动,筛选栏随后堆叠到下方。
   动效:圆点加载时错峰弹出;筛选时非匹配圆点变暗(250ms),匹配圆点弹跳一次;弹出层从圆点处弹出;减少动态效果:圆点静止,筛选即时生效。
3. **设施列表** — id=rides。标签 'ALL RIDES' 泡泡糖粉;标题 Fredoka:'Nine of [RIDES], filtered.' 此处镜像同样的 THRILL/HEIGHT 筛选器(与地图共享状态)。设施卡片(雪白、24px 圆角、葡萄紫 2px 边框)排成 3 列网格:区域配色的 RideIcon、名称 Fredoka 600 18px 葡萄紫、简介 DM Sans 14px 淡紫、区域标签、刺激度计量(三个圆点)和身高标签,以及 'Add to my day +'(薄荷绿胶囊,添加后变为薄荷绿对勾 'In your day')。设施:'Gumdrop Coaster' — Candy Canyon — mild, any height — 'First loops, gentle speed, endless grins.' / 'Taffy Twister' — Candy Canyon — wild, 102 cm+ — 'Spins until the horizon disagrees.' / 'Sky Diver' — Sky Harbor — max, 122 cm+ — 'Straight down, politely.' / 'Cloud Carousel' — Sky Harbor — mild, any height — 'Bobbing seahorses, vintage paint.' / 'Big Wheel' — Sky Harbor — mild, any height — 'The view, at a civilized speed.' / 'Lemon Drop Tower' — Lemon Grove — wild, 122 cm+ — 'Up slowly, down immediately.' / 'Citrus Splash' — Lemon Grove — wild, 102 cm+ — 'The flume with the famous final wave.' / 'Mint Express' — Mint Meadow — mild, any height — 'A family coaster through the mint beds.' / 'Meadow Racers' — Mint Meadow — wild, 102 cm+ — 'Head-to-head karts, one winner's photo.' 说明文字:'HEIGHTS AND THRILL LEVELS ARE SAMPLE DATA.'
   布局:3 列网格(平板 2 列、移动端 1 列),间距 24px;标签在卡片内换行。
   动效:筛选时匹配卡片弹跳一次、非匹配变暗(250ms);卡片错峰 70ms 显现;添加时弹出薄荷绿对勾并触发彩纸;减少动态效果:筛选即时生效,仅用淡入淡出。
4. **门票** — id=tickets。标签 'TICKETS' 泡泡糖粉;标题:'Pick your wristband.' 三张厚实卡片(雪白、24px 圆角、葡萄紫 2px 边框):'DAY PASS' — '[TICKET_DAY]' Fredoka 700 44px 葡萄紫 — 行首带 lucide 对勾(薄荷绿):'All [RIDES] rides' / 'Both daily shows' / 'Free parking after noon'。'SEASON PASS' — '$149' — 带泡泡糖粉缎带 'PICKED FOR SUMMER' 和泡泡糖粉边框:'Every open day' / 'Bring-a-friend mornings' / '10% off snacks'。'FAMILY FOUR' — '$199' — 'Two grown-ups, two kids' / 'All rides and shows' / 'One souvenir photo'。每张卡片的 'Buy — demo' 按钮(葡萄紫胶囊)会显示共享的行内提示(300ms):'Demo button — no ticketing is connected; nothing is charged.' 说明文字:'PRICES ARE SAMPLE DATA.'
   布局:3 列网格(移动端堆叠),间距 24px;季卡在桌面端上浮 8px;缎带横跨其顶部边框。
   动效:卡片显现时带轻微过冲落地;缎带摆动一次(±3°,500ms);演示提示淡入并保持。
5. **营业时间与演出** — id=shows。柠檬色调条带:'TODAY'S HOURS' 为 DM Sans 700 12px、字距加宽、葡萄紫,'10:00 — 20:00' 为 Fredoka 700 32px 葡萄紫,以及淡紫示例说明 'SAMPLE HOURS — NO REAL CLOCK.' 然后是三行演出(雪白卡片、24px 圆角):'Parade of Sprinkles' — '13:00 & 17:00 · Main Street' — 'Floats, brass, one very slow tortoise.' / 'Harbor Stunt Dive' — '14:30 · Sky Harbor stage' — 'Kites, trampolines, a suspicious amount of confetti.' / 'Lantern Glow' — '19:30 · Mint Meadow' — 'A quiet end; bring the sleepy ones.' 每行演出都带一个 'Add to my day +' 薄荷绿胶囊,接入同一清单。
   布局:营业时间条带占满宽度,带柠檬色太阳图标(手绘 SVG);演出行排成 3 列网格(移动端堆叠)。
   动效:条带淡入上移;演出卡片错峰 70ms 显现;太阳图标显现时旋转 360° 一次(800ms);减少动态效果:不旋转。
6. **规划你的一天** — id=plan。标签 'PLAN YOUR DAY' 泡泡糖粉;标题:'Your day, in order.' 引言 DM Sans 16px 淡紫:'Tap rides and shows anywhere on this page — they land here, saved on this device.' 行程面板(雪白、24px 圆角、葡萄紫 2px 边框):有序行,带编号泡泡糖粉徽章、名称 Fredoka 600 16px 葡萄紫、其区域标签,以及控件(lucide arrow-up、arrow-down、x,均 ≥ 44px);空状态:一张薄荷绿虚线描边卡片,写着 'Nothing yet — go tap something fun on the map.' 按钮:'Clear the day'(葡萄紫描边)和摘要行 '6 stops · 3 rides · 2 shows · 1 parade'(实时更新)。说明 DM Sans 13px 淡紫:'Saved on this device only — this demo sends nothing.'
   布局:面板 max-w-3xl mx-auto;行高 64px,间距 12px;控件右对齐;移动端保持相同顺序。
   动效:新行弹入(弹簧效果),彩纸在面板右上角爆发;上移/下移滑动行 200ms;清空时行淡出 200ms;减少动态效果:仅淡入淡出,无彩纸。
7. **页脚** — 奶油色底,顶部葡萄紫 2px 边框(页面上唯一一条强分隔线)。左侧:[BRAND] 字标和一行 DM Sans 13px 淡紫:'1 Confetti Way, [CITY] — an invented park; rides, heights, hours and prices on this page are sample copy.' 右侧:锚点链接 'Map · Rides · Tickets · Shows · Plan',葡萄紫;可选 [CREDIT] 链接。无日期,无社交行。
   布局:py-12,max-w-6xl,flex 行,移动端换行为列。
   动效:无。

## 资产
- 图标:lucide-react(ISC)通过 npm 引入——在票券行和已加入计划状态上使用 check,在行程控件上使用 arrow-up、arrow-down 和 x,在需要的地方使用 plus 和 minus,在营业时间条上使用 sun 和 clock,在页脚使用 map-pin,在移动端页眉使用 menu 和 x。不使用其他图标:不使用 emoji,不使用乐园连锁标志,不使用游乐设施标志。所有视觉元素——乐园地图、区域色块、地标、游乐设施图形、彩纸和太阳——均由构建器按照各节规范用 SVG 绘制;任何地方都不使用图片文件。
- 字体:@fontsource/fredoka(OFL,字重 500、600、700)和 @fontsource/dm-sans(OFL,字重 400、500、700),在 src/main.tsx 中导入;绝不从 fonts.googleapis.com 或任何 CDN 加载。在项目根目录的 ASSETS.md 中列出这两个字体家族和 lucide 图标包:路径、来源、许可证——没有图片资产需要列出。

## 不要做的事
- 不做售票后端,不做支付,不做网络请求:购买按钮是演示锚点,点击后显示内联提示('no ticketing is connected; nothing is charged'),套餐仅保存到 localStorage,并附上如实说明。
- 不使用真实主题公园、游乐设施名称、演出或特许品牌:公园、游乐设施、演出和价格均为虚构;不得出现城堡、角色、老鼠耳朵或任何类似真实公园或特许品牌的剪影——地图地标保持通用几何形状(摩天轮、环形轨道、旋转木马)。
- 身高、刺激等级、营业时间和演出时间均为示例数据,并保持标注;不得出现与真实时钟绑定的日期——'today's hours' 是静态示例,绝不感知时间。
- 所有内容均为代码绘制的扁平矢量图:不使用照片,不生成图像,不使用占位图服务;人物仅为无面部的人群圆点——不得出现有面部的人物,不得出现吉祥物。
- 不使用任何 CDN:字体通过 Fontsource 包提供,图标来自 lucide-react;不使用第三方脚本或嵌入内容。
- 生产构建:单条命令,压缩,无 source map,输出中不含 src/,使用相对路径(Vite base './');保持 dist/ 体积很小(远低于 20 MB——因为没有位图)。
- 单页面,使用锚点导航;必须在 1440×900 和 390×844 下干净渲染,控制台零错误;地图圆点、筛选器和行程控件必须是可用键盘操作的按钮,并具有可见焦点;所有动效必须遵循 prefers-reduced-motion(不使用弹出、弹簧或彩纸效果;仅使用普通淡入淡出)。
- 保持糖果风格锁定:奶油色底,四种区域色(bubblegum、sky、lemon、mint)加 grape ink,Fredoka 搭配 DM Sans,粗壮的 14–24px 圆角,仅使用扁平填充;无深色模式,无渐变,无玻璃拟态,无霓虹发光,界面过渡不得快于 300ms。
- 所有文案、标签、示例数据和 alt 文本均为美式英语,存放在 src/content.ts 中;当 [BRAND]、[CITY]、[TICKET_DAY] 或 [RIDES] 变化时,重写区域名称、游乐设施和演出以适配新公园,而不是在水上乐园下留下干式游乐设施的文案。
- 在项目根目录的 ASSETS.md 中列出每个第三方文件(两个 Fontsource 字体家族、lucide 图标):路径、来源、许可证。

---
— Prompt by VibeFather · https://vibefather.ai/t/theme-park-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

个人项目可免费使用(CC BY-NC 4.0)。 商业用途需要 Pro.

DESIGN.md

单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。

---
name: "Theme Park Website"
colors:
  cream: "#FFF8F0"
  bubblegum: "#FF7DA5"
  sky: "#79C7F2"
  lemon: "#FFD23F"
  mint: "#7BD9B0"
  grape_ink: "#4A3560"
  lilac: "#8E7AAE"
  snow: "#FFFFFF"
typography:
  display_park_name_headlines_zone_names_ticket_prices_chunky_rounded: { family: "Fredoka", weights: [500, 600, 700] }
  text_body_chips_ride_blurbs_checklist_labels_uppercase_tracked_0_08em: { family: "DM Sans", weights: [400, 500, 700] }
spacing: "Playful and roomy: sections py-24 (96px) desktop / py-16 mobile; content max-w-6xl px-6/px-10; chunky cards carry 24px padding and generous 24px gaps; the map panel gets full content width with 32px of clear space."
radius: "Chunky everywhere: 24px on cards and the map panel, 14px on chips and inputs, 999px pills on buttons, 32px blob radii on zone shapes; nothing square."
---

# Theme Park Website — Design System

Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.

## Colors
- **Cream** `#FFF8F0` — Page ground everywhere — warm candy-shop cream.
- **Bubblegum** `#FF7DA5` — Zone 1 (Candy Canyon) and the primary accent: CTAs, active chips, the flagged ticket.
- **Sky** `#79C7F2` — Zone 2 (Sky Harbor); secondary chips and info tints.
- **Lemon** `#FFD23F` — Zone 3 (Lemon Grove); highlight tags, the hours strip's sun icon.
- **Mint** `#7BD9B0` — Zone 4 (Mint Meadow); success states, added-to-plan checks.
- **Grape ink** `#4A3560` — Primary text and all SVG outlines — deep grape, never black.
- **Lilac** `#8E7AAE` — Secondary text, the map's entrance strip, meta lines.
- **Snow** `#FFFFFF` — Cards, panels, ride-dot strokes — crisp white against cream.

## Typography
- **Display — park name, headlines, zone names, ticket prices (chunky rounded)** — Fredoka (OFL), weights 500/600/700. Self-host the font files.
- **Text — body, chips, ride blurbs, checklist (labels uppercase tracked 0.08em)** — DM Sans (OFL), weights 400/500/700. Self-host the font files.

## Spacing & shape
- Spacing: Playful and roomy: sections py-24 (96px) desktop / py-16 mobile; content max-w-6xl px-6/px-10; chunky cards carry 24px padding and generous 24px gaps; the map panel gets full content width with 32px of clear space.
- Radius: Chunky everywhere: 24px on cards and the map panel, 14px on chips and inputs, 999px pills on buttons, 32px blob radii on zone shapes; nothing square.

## Motion
- Map dots pop in on load (scale 0.6→1, spring stiffness 260 damping 18, staggered 40ms) — the park switching its lights on.
- Filters: non-matching dots and ride cards dim to 15% with grayscale (250ms); matching items bounce once (scale 1→1.04→1); counts in the mono-ish caption update instantly.
- Ride popover: card pops from its dot (scale 0.8→1 spring) and closes on outside click, Escape or its X.
- Add-to-plan: the checklist row pops in with a six-shape Confetti burst (600ms, once per add); move up/down slides rows 200ms.
- Reveals: sections and cards rise (y 22→0, 500ms ease-out) with 70ms stagger via Motion whileInView, once; ticket cards land with a small overshoot.
- prefers-reduced-motion: no pops, springs or confetti; dots and cards render at rest; filters switch instantly; all reveals become 200ms opacity fades.

## Imagery
Zero photography — the whole park is flat-vector code drawing: candy-colored zone blobs, geometric landmarks (wheel, looping coaster, carousel), simple tree and crowd dots without faces, tiny ride glyphs, and confetti shapes. Everything shares one flat-illustration language: 2px grape outlines, flat fills, no gradients, no textures, no characters or mascots with faces.

## Tone
Joy-forward and a little sugary, but never shouty — puns allowed, exclamation rationed; the colors shout so the copy can stay friendly.

---
— Prompt by VibeFather · https://vibefather.ai/t/theme-park-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

改成你自己的

  • 家庭娱乐中心:将 BRAND 设置为你的场地,将四个糖果色区域替换为街机、迷你高尔夫、激光 tag 和派对房,并将门票对比替换为你的一日票和派对套餐。
  • 季节性集市或嘉年华:保留插画地图和可筛选的游乐设施圆点,按你的场地重命名区域,并使用营业时间和演出条来展示你的游行和舞台时间。
  • 水上乐园:参照第二个演示,将 Candy Canyon 和其他区域变成戏水区,将过山车图标替换为滑道和水槽图标,并保留身高筛选器供小游泳者使用。
  • 动物园或水族馆:设置 BRAND 和 CITY,将游乐设施圆点变成动物和展区标记,保留一日游计划清单以便家庭安排路线,并将所有时间标注为示例数据。

主题公园网站:常见问题

如何在主题公园网站模板中更改公园名称、城市、票价和游乐设施数量?

主题公园网站模板将所有面向用户的字符串和数据集保存在一个内容文件中。将 BRAND 替换为你的公园名称,CITY 替换为你的城市,TICKET_DAY 替换为一日票价格,RIDES 替换为游乐设施数量,文字标识、主视觉文案、页面标题、页脚、主视觉统计行和门票对比都会根据这些值更新。地图展示了十四个游乐设施,所以在设置 RIDES 时要记住这一点。

怎么用 AI 做一个主题公园网站?

复制本页的提示词,或者运行 npx vibefather add theme-park-website,把 [CITY]、[BRAND]、[RIDES]、[TICKET_DAY] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。