跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

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

关于这个模板

一个攀岩馆的单页网站,以粉笔和霓虹风格绘制。浅混凝土灰底色,Anton 字体粗壮窄体标题,以及一个只在有意义之处出现的电光洋红色点缀——难度区间、繁忙时段、CTA。首屏是一张彩色岩壁的广角照片,攀岩者显得很小,馆名以巨大字体横跨画面。核心功能是岩壁总览:用 SVG 绘制的场馆四面墙的风格化立面图,每条线路都是一簇带难度等级的彩色岩点——难度区间标签(V0–2、V3–5、V6+)能即时重新点亮地图,将你所选范围之外的一切调暗;悬停在一簇岩点上会显示其难度,而且由于地图是用代码绘制的,它在任何宽度下都保持清晰。下方是日票和会员卡的对比,以细线安静分隔;一个本地保存并会告知用户的入门课程预约表单;一个包含每周和每月规律的示例活动条;以及一个开放时间区块,其中包含用代码绘制的七天繁忙时段热力图——示例数据,如实标注,并兼作规划建议:七点或九点以后来。摄影保持一种粉笔灰的基调:明亮的场馆灯光、彩色岩点、攀岩者只露背影或剪影,任何地方都没有可读文字。动效快速利落,与运动相匹配——400ms 显现,150ms 标签——并在 prefers-reduced-motion 下提供严谨的静态回退。在一个内容文件中替换馆名、区域、日票价格和岩壁面积;第二个演示案例将同一布局变成一家只做抱石的攀岩馆。

模板提示词

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

# Climbing Gym Website

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

## Brief
A single-page climbing gym site with a chalk-white identity: a colorful-wall hero with heavy condensed type, an SVG wall-and-route overview filterable by grade band, day passes and memberships in a quiet comparison, a client-side intro-course booking form, a sample events strip, and an opening-hours block with a seven-day busy-times heat chart.

- Audience: Climbing and bouldering gyms, and the studios building for them; also any facility that sells sessions by grade, level or lane.
- Goal: Get a visitor off the couch and into chalk: show the walls, let them find routes at their grade, price a visit in five seconds, and book the intro course — all honestly labeled as sample data where it is.
- Tone: Direct, dry, a little stoked — gym-beta energy: short lines, concrete numbers, zero fitness-cliché filler.

## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: tailwindcss (MIT), motion (MIT), lucide-react (ISC), @fontsource/anton (OFL), @fontsource/public-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 climbing-gym-website -- --template react-ts; add [email protected], postcss and autoprefixer as dev dependencies; add motion, lucide-react, @fontsource/anton and @fontsource/public-sans as dependencies.
  - vite.config.ts: base './', build.sourcemap false, build output dist/.
  - tailwind.config.js: extend colors chalk #F2F1EC, concrete #E4E2DB, chalkline #D6D3C9, ink #23252A, slate #6B6E76, neon #E61C7D, neondeep #C41366; fontFamily display 'Anton' and sans 'Public Sans'; radius: chip 4px only.
  - postcss.config.js: tailwindcss + autoprefixer.
  - src/components/WallMap.tsx: a stylized elevation of the gym drawn in SVG, viewBox 0 0 1000 360 — four wall profiles as concrete-gray polygons (a slab leaning left, a vertical face, a 30° overhang, a roof section), each wall's routes as clusters of five to seven 7px hold circles in the route's tape color placed along an arc, with a small grade chip ('V1', 'V4', 'V7') at the cluster start; walls and routes come from a fixed array in content.ts; a grade-band filter prop (all | v0-2 | v3-5 | v6+) dims non-matching clusters to 15% opacity with grayscale (200ms) and stops their pointer events.
  - src/components/BusyChart.tsx: a seven-day heat strip in SVG — 7 columns (Mon–Sun) × 6 time slots (07, 10, 14, 17, 20, 22) of 44px cells whose fill is chalk at 0% to neon at 85% alpha per a fixed sample intensity array (0–1) in content.ts; hover a cell to show 'FRI 17:00 — PACKED (SAMPLE)' in a tiny tooltip.
  - Grade chips and session chips share one component: 4px radius, 13px Public Sans 700 uppercase, active = neon ground with chalk text (150ms).
  - src/lib/motion.ts: snappy variants — reveal (opacity 0→1, y 16→0, 400ms ease-out, 60ms stagger, whileInView once), pop (scale 0.92→1, 150ms) — with useReducedMotion falling back to 150ms opacity fades and no zooms.
  - Keep every user-facing string and data set (gym, district, prices, hours, walls array {name, profile, routes[{grade, tape, points}]}, busy array, events, form copy) in src/content.ts; sections read from it so values swap in one place.
  - index.html: <title>[BRAND] — Climbing in [DISTRICT]</title> plus a drawn-in-code favicon.svg (a single neon hold-dot on the chalk ground); no other meta work.

## Variables
- [BRAND] — Gym name (default: "The Chalk Room"). Invented gym name for the wordmark, hero headline, page title and contact email (from content.ts).
- [DISTRICT] — District (default: "the Old Glassworks"). Where the gym lives — hero stats row, address line and footer ('climbing in [DISTRICT]').
- [DAY_PASS] — Day pass price (default: "$18"). The single-visit price in the passes comparison and the hero CTA line.
- [WALL_SIZE] — Wall size (default: "13,000 sq ft"). The scale claim in the hero stats row ('[WALL_SIZE] of wall, reset weekly').
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/climbing-gym-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
- Chalk `#F2F1EC` — Page ground everywhere — light warm-gray chalk white.
- Concrete `#E4E2DB` — Raised surfaces: comparison panel, form panel, wall-map ground.
- Chalk line `#D6D3C9` — Hairlines, table rules, borders, chart cell strokes.
- Ink `#23252A` — Primary text — slate near-black for Anton headlines and body.
- Slate `#6B6E76` — Secondary text: descriptions, meta, sample notes.
- Neon magenta `#E61C7D` — The single accent: grade chips, busy heat, CTAs, active filters, event tags — never decorative.
- Neon deep `#C41366` — Pressed and hover states on neon.

### Typography
- Display — gym name, headlines, wall names, big numbers (heavy condensed, uppercase, tight leading): Anton (OFL), weights 400
- Text — body, chips, table, form labels (labels uppercase tracked 0.1em): Public Sans (OFL), weights 400/500/700

### Layout & motion
- Spacing: Athletic and efficient: sections py-24 (96px) desktop / py-16 mobile; content max-w-6xl px-6/px-10; hairlines instead of boxes; the wall map gets full content width and 80px of clear space around it.
- Radius: Hard corners to match the type: 0px on images and panels, 4px on chips and inputs, pills only on the two CTAs.
- Motion: Snappy reveals: sections, cards and rows fade up (y 16→0, 400ms ease-out) with 60ms stagger via Motion whileInView, once — the sport's tempo, not a spa's.
- Motion: Grade filter: non-matching route clusters dim to 15% opacity with grayscale and their chips hollow out (200ms); matching clusters stay in full tape color with neon grade chips.
- Motion: Busy chart: cells fill from chalk to neon alpha on first reveal with a 30ms per-cell stagger (fast wave, ~1.3s total); hover shows the sample tooltip.
- Motion: Hero: the wall photo zooms 1.04→1 over 1.5s; the Anton headline snaps up 120ms later; the stats row slides in from the left.
- Motion: Chips toggle in 150ms; the intro form's saved note pops (150ms); pass rows highlight neon on hover of their column.
- Motion: prefers-reduced-motion: no zoom, no chart wave (cells render final instantly), all reveals become 150ms opacity fades.
- Imagery: One gym, one light: indoor climbing photography with bright even gym light and cool daylight from high windows, fine chalk dust drifting in the air, colorful holds on light gray walls, high-contrast energetic framing. Climbers appear only from behind or as silhouettes with faces not identifiable — small on walls, backs to the camera. No readable text anywhere in frame (no banners, boards or route tags with writing), no logos, no brand-identifiable gear marks. The six photographs are generated by VibeFather and downloaded into public/images.

## Pages & Sections
### [BRAND] — Climbing in [DISTRICT] (`index.html`)
1. **Header** — Fixed top bar, 60px, chalk ground at 92% opacity with a 1px chalkline bottom hairline. Left: the [BRAND] wordmark in Anton 20px ink, uppercase. Right (desktop): anchor links 'Walls', 'Passes', 'Learn', 'Hours' in Public Sans 700 13px uppercase tracked 0.1em slate → ink on hover; then a neon pill 'Book intro course' (chalk text) → #learn. Mobile: wordmark + pill + lucide menu/x toggle opening a chalk panel with the four links stacked.
   Layout: position fixed, z-40.
   Motion: Mobile panel snaps down 200ms; link hover 150ms; the pill presses to neondeep.
2. **Hero — the wall** — Full-bleed wide shot of a colorful bouldering wall (public/images/wall-wide.webp) with two climbers small on it, seen from behind. Label in Public Sans 700 12px uppercase tracked 0.16em neon: 'BOULDERING · TOP ROPE · TRAINING ROOM — [DISTRICT]'. Headline in Anton, clamp(3.5rem, 9vw, 7rem), ink, two lines: 'STRONG HANDS. / SOFT LANDING.' Sub, Public Sans 400 17px slate, max-w 46ch: 'Every wall reset weekly, every grade from first-timer to project. Come chalk up — day pass [DAY_PASS], gear rental included.' CTAs: 'Get a day pass' (neon pill) → #passes; 'See the walls' (ink outline) → #walls. Stats row beneath on a chalkline top rule, Public Sans 700 13px uppercase: '[WALL_SIZE] OF WALL · 120 ROUTES (SAMPLE) · RESETS EVERY WEEK'.
   Layout: min-h 92vh; photo absolute inset-0 object-cover object-center; light scrim linear-gradient(180deg, rgba(242,241,236,0.20) 0%, rgba(242,241,236,0.05) 40%, rgba(242,241,236,0.96) 100%); text block bottom-left, columns 1–9, padding-bottom 88px.
   Motion: Photo zooms 1.04→1 over 1.5s; label, headline, sub and CTAs snap up staggered 80ms from 200ms; the stats row slides in; reduced motion: static, one fade.
3. **Walls and routes — the grade map** — id=walls. Label 'THE WALLS' neon; heading Anton clamp(2rem, 4.5vw, 3.25rem) ink: 'FOUR WALLS. PICK YOUR GRADE.' Filter row: grade chips 'ALL', 'V0–2', 'V3–5', 'V6+' (active = neon). The WallMap SVG full width on a concrete ground panel (1px chalkline border): four wall profiles labeled beneath in Anton 16px ink — 'THE SLAB', 'THE FACE', 'THE PROW', 'THE ROOF' — each carrying its route clusters in tape colors with grade chips. A right-aligned sample note, Public Sans 12px slate: 'SAMPLE SET — 120 ROUTES ACROSS 4 WALLS, REFRESHED WEEKLY IN DEMO ONLY.' Beside the map (desktop), holds-macro.webp as a 1:1 accent crop with the caption 'FRESH SET, FRIDAY MORNING'.
   Layout: 12-column grid: map columns 1–9, macro photo + caption columns 10–12; mobile stacks map then photo.
   Motion: Filtering dims non-matching clusters to 15% + grayscale (200ms); grade chips pop 150ms; the map reveals with a 400ms rise; reduced motion: instant filter states.
4. **Passes and memberships** — id=passes. Label 'PASSES' neon; heading: 'PAY HOW YOU CLIMB.' A quiet comparison on a concrete panel: three columns — 'DAY PASS' '[DAY_PASS]' (per visit), 'MONTHLY' '$69' (per month), 'ANNUAL' '$590' (per year, 'two months free' tag in neon) — with four hairline rows: 'All walls & training room' (all three check), 'Gear rental' (check / check / check), 'Guest passes' (— / 1 per month / 2 per month), 'Intro course discount' (— / 20% / 20%). Under the panel, Public Sans 12px slate: 'Sample pricing for the demo — nothing is for sale here.' Beside the panel, climber-silhouette.webp (3:4) with the caption 'THE PROW AT 19:00'.
   Layout: 12-column grid: photo columns 1–4, comparison columns 5–12; the table is a 4-column CSS grid (row labels + three plans) on hairlines; mobile stacks photo above.
   Motion: The table fades up; hovering a plan column tints its header neon (150ms); rows reveal staggered 60ms.
5. **Learn — intro course** — id=learn. Label 'LEARN' neon; heading: 'NEVER TIED IN? NINETY MINUTES.' Copy, Public Sans 16px slate max-w 42ch: 'Harness, knots, top-rope belay and how to fall without apology. Small groups, one coach, chalk included — you leave climbing on your own rope.' The form on a concrete panel (labels Public Sans 700 13px ink; inputs chalk ground, chalkline border, 4px radius): name; email; session chips ('Tuesday evening', 'Saturday morning', 'Sunday afternoon' — single select); party size stepper 1–4. Button 'Save my spot' (neon). On submit: save to localStorage key 'introCourse' and show the inline note (150ms pop, slate 13px): 'Saved on this device only — this demo form sends nothing. Call the front desk to confirm.' Beside the form, gym-training.webp (4:3) with the caption 'THE TRAINING ROOM, QUIET AT NOON'.
   Layout: 12-column grid: photo columns 1–5, form columns 6–12; mobile stacks photo above form.
   Motion: Chips and stepper toggle 150ms; the saved note pops; reduced motion: fades only.
6. **Events strip** — Label 'EVENTS' neon; heading: 'THE ROOM AFTER DARK.' Three rows on hairlines, each with a neon pattern tag, an Anton 20px ink title and a Public Sans 14px slate line: 'WEEKLY — Set Night' — 'Watch the routes go up; old problems come down at 21:00.' / 'MONTHLY — Send Social' — 'Fresh set, loud playlist, first-timers welcome.' / 'QUARTERLY — Comp Night' — 'Flash format, all grades, one very loud room (sample).' Side image climber-behind.webp (3:4) with the caption 'CHALKING UP, 19:40'. Footnote: 'Sample events — patterns, not dates.'
   Layout: 12-column grid: rows columns 1–8, photo columns 9–12; mobile stacks.
   Motion: Rows snap up staggered 60ms; tags pop once on reveal.
7. **Hours and busy times** — id=hours. A wide band: lanes-wide.webp (16:9, 34vh, object-cover) with the caption 'TOP-ROPE LANES, MORNING'. Below, two columns: left, the hours block — Anton 24px 'HOURS' with rows on hairlines 'MON–FRI 07:00–23:00 · SAT 09:00–21:00 · SUN 09:00–21:00' and the address line '7 Foundry Street, [DISTRICT] · [email protected]'; right, the BusyChart heat strip (Mon–Sun × six slots) with the legend 'QUIET → PACKED (SAMPLE)' — a chalkline-to-neon gradient bar with slate end labels.
   Layout: Band full-width; hours and chart side by side in 6-column halves; the chart scrolls horizontally on narrow screens.
   Motion: Cells wave in on reveal (30ms stagger); hover tooltip; reduced motion: cells render final instantly.
8. **Footer** — 1px chalkline top rule. Left: the [BRAND] wordmark in Anton 16px and one line Public Sans 13px slate: 'An invented gym — routes, prices, busy-times and events on this page are sample copy.' Right: anchor links 'Walls · Passes · Learn · Hours' in slate; optional [CREDIT] link. No dates, no social row.
   Layout: py-12, max-w-6xl, flex row wrapping to column on mobile.
   Motion: None.

## Assets
- image: Download https://media.vibefather.ai/assets/0fed5c51-7978-4787-bc63-7093b13e9459/wall-wide.webp to public/images/wall-wide.webp. Alt: 'A wide colorful bouldering wall with two small climbers seen from behind.' Used full-bleed as the hero anchor (16:9). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/0fed5c51-7978-4787-bc63-7093b13e9459/holds-macro.webp to public/images/holds-macro.webp. Alt: 'Macro of colorful climbing holds on a light gray wall with chalk dust in the air.' Accent beside the wall map (1:1). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/0fed5c51-7978-4787-bc63-7093b13e9459/climber-silhouette.webp to public/images/climber-silhouette.webp. Alt: 'A climber in silhouette on an overhanging wall against bright gym light.' Passes section (3:4). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/0fed5c51-7978-4787-bc63-7093b13e9459/gym-training.webp to public/images/gym-training.webp. Alt: 'A training corner with hangboards and rings under bright gym light, no people.' Intro course section (4:3). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/0fed5c51-7978-4787-bc63-7093b13e9459/climber-behind.webp to public/images/climber-behind.webp. Alt: 'A climber seen from behind chalking up at the wall base, face not visible.' Events strip (3:4). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/0fed5c51-7978-4787-bc63-7093b13e9459/lanes-wide.webp to public/images/lanes-wide.webp. Alt: 'Top-rope lanes with a single small climber high on the wall.' Hours band (16:9). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- icon: lucide-react (ISC) via npm — check and minus in the comparison table, plus and minus on the stepper, arrow-right in CTAs, clock and map-pin in the hours block, calendar in the events tags, menu and x for the mobile header. No other iconography: no emoji, no gym-chain logos, no hold-maker marks.
- font: @fontsource/anton (OFL, weight 400) and @fontsource/public-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 six photographs in ASSETS.md at the project root: path, source, generator or author, license.

## Don'ts
- No backend, no bookings backend, no payments, no network calls: the intro-course form saves to localStorage only with its honest inline note, and nothing anywhere checks out.
- No real climbing gyms, chains, hold or gear brands, or competitions: the gym, walls, routes, events and prices are invented, and no brand-identifiable gear or logo appears in any photo.
- Grades, route sets, route counts, busy-times and event patterns are sample data and stay labeled as such; no dates tied to the real clock — hours are static patterns, events are weekly/monthly/quarterly patterns, no publish dates or years.
- Photographs show climbers only from behind or as silhouettes with no identifiable faces, and no readable text, banners or logos anywhere in frame; if a generated image ever shows a face or writing, replace it.
- No CDN anything: fonts ship through Fontsource packages, icons from lucide-react, photographs from public/images; never hotlink, never use Unsplash/Pexels/Pixabay or placeholder-image services.
- Production build: single command, minified, no source maps, no src/ in the output, relative paths (Vite base './'); keep dist/ under 20 MB by compressing each photograph to ≤ 400 KB WebP.
- Single page with anchor navigation; must render cleanly at 1440×900 and 390×844 with zero console errors; the grade filter and busy chart must be operable by keyboard (chips are buttons) and every animation must respect prefers-reduced-motion (no zoom or heat wave; 150ms fades).
- Keep the chalk-and-neon direction locked: chalk/concrete light ground, ink text, ONE electric magenta accent used only for meaning (grades, busy heat, CTAs, tags), Anton over Public Sans, hard corners; no dark mode, no second neon color, no glassmorphism, no gradients outside the chart's intensity fills.
- All copy, labels, sample data and alt text in US English, living in src/content.ts; when [BRAND], [DISTRICT], [DAY_PASS] or [WALL_SIZE] change, rewrite wall names, events and pricing rows to fit the new gym instead of leaving roped-gym copy under a bouldering-only brand.
- List every third-party file (two Fontsource families, lucide icons, six photographs) in ASSETS.md at the project root: path, source, license.

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

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

## 简介
一个单页攀岩馆网站,采用粉笔白(chalk-white)视觉识别:一个色彩缤纷的墙面主视觉区,搭配厚重的窄体字型;一个可按难度等级筛选的 SVG 墙面与路线总览;以安静克制的方式对比单日票与会员方案;一个客户端入門课程预约表单;一条示例活动横条;以及一个营业时间区块,内含七日繁忙时段热力图。

- 受众:攀岩与抱石馆,以及为其建站的工作室;也适用于任何按难度、等级或赛道售卖场次的场馆。
- 目标:让访客从沙发上起身、走进粉笔灰里:展示墙面,让他们找到自己难度等级的路线,五秒内看清一次到访的价格,并预约入门课程——所有内容在属于示例数据之处都如实标注。
- 语气:直接、干练、带点兴奋——攀岩馆内部情报(gym-beta)的能量:短句、具体数字、零健身陈词滥调的填充。

## 技术栈
- 框架:Vite 5 + React 18 + TypeScript
- 样式:Tailwind CSS 3.4
- 库:tailwindcss(MIT)、motion(MIT)、lucide-react(ISC)、@fontsource/anton(OFL)、@fontsource/public-sans(OFL)
- 构建:`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。
- 初始化配置:
  - 用 npm create vite@latest climbing-gym-website -- --template react-ts 搭建脚手架;将 [email protected]、postcss 和 autoprefixer 添加为开发依赖;将 motion、lucide-react、@fontsource/anton 和 @fontsource/public-sans 添加为依赖。
  - vite.config.ts:base 设为 './',build.sourcemap 设为 false,构建输出到 dist/。
  - tailwind.config.js:扩展颜色 chalk #F2F1EC、concrete #E4E2DB、chalkline #D6D3C9、ink #23252A、slate #6B6E76、neon #E61C7D、neondeep #C41366;fontFamily 中 display 为 'Anton'、sans 为 'Public Sans';圆角:仅 chip 为 4px。
  - postcss.config.js:tailwindcss + autoprefixer。
  - src/components/WallMap.tsx:用 SVG 绘制的风格化攀岩馆立面图,viewBox 为 0 0 1000 360 —— 四个墙面轮廓以混凝土灰色多边形呈现(一块向左倾斜的板、一个垂直面、一个 30° 仰角、一个屋顶段),每面墙的线路以五到七个 7px 岩点圆圈的簇呈现,圆圈使用该线路胶带颜色的颜色,沿弧线排列,簇的起点处带一个小难度标签('V1'、'V4'、'V7');墙面和线路来自 content.ts 中的固定数组;一个难度区间筛选 prop(all | v0-2 | v3-5 | v6+)会将不匹配的簇降至 15% 不透明度并加灰度(200ms),同时禁用其指针事件。
  - src/components/BusyChart.tsx:SVG 中的七日热力条 —— 7 列(周一至周日)× 6 个时段(07、10、14、17、20、22),单元格为 44px,其填充色根据 content.ts 中固定的样本强度数组(0–1)从 chalk 的 0% 到 neon 的 85% alpha;悬停单元格时在一个小提示框中显示 'FRI 17:00 — PACKED (SAMPLE)'。
  - 难度标签和场次标签共用一个组件:4px 圆角,13px Public Sans 700 大写,激活态 = neon 底色配 chalk 文字(150ms)。
  - src/lib/motion.ts:利落的动效变体 —— reveal(opacity 0→1,y 16→0,400ms ease-out,60ms 交错,whileInView 仅一次)、pop(scale 0.92→1,150ms)—— 配合 useReducedMotion 回退为 150ms 的透明度淡入且无缩放。
  - 将所有面向用户的字符串和数据集(场馆、区域、价格、营业时间、walls 数组 {name, profile, routes[{grade, tape, points}]}、busy 数组、活动、表单文案)保留在 src/content.ts 中;各区块从中读取,以便在一处替换数值。
  - index.html:<title>[BRAND] — Climbing in [DISTRICT]</title> 外加一个代码绘制的 favicon.svg(chalk 底色上的单个 neon 岩点);不做其他 meta 工作。

## 变量
- [BRAND] — 健身房名称(默认:“The Chalk Room”)。为字标、主视觉标题、页面标题和联系邮箱(来自 content.ts)虚构的健身房名称。
- [DISTRICT] — 区域(默认:“the Old Glassworks”)。健身房所在位置——主视觉数据行、地址行和页脚('climbing in [DISTRICT]')。
- [DAY_PASS] — 单日通行证价格(默认:“$18”)。通行证对比中的单次入场价格以及主视觉 CTA 行。
- [WALL_SIZE] — 岩壁面积(默认:“13,000 sq ft”)。主视觉数据行中的规模声明('[WALL_SIZE] of wall, reset weekly')。
- [CREDIT] — 在页脚保留一个小的“Template by VibeFather”链接,指向 https://vibefather.ai/t/climbing-gym-website(默认:是;删除此行即可移除)

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

## 设计
### 颜色(Colors)
- Chalk `#F2F1EC` — 所有页面的底色 — 浅暖灰的粉笔白。
- Concrete `#E4E2DB` — 抬升表面:对比面板、表单面板、墙面地图底色。
- Chalk line `#D6D3C9` — 细线、表格线、边框、图表单元格描边。
- Ink `#23252A` — 主文本 — 石板近黑色,用于 Anton 标题和正文。
- Slate `#6B6E76` — 次要文本:描述、元信息、样本注释。
- Neon magenta `#E61C7D` — 唯一强调色:难度等级标签、繁忙热力、CTA、激活筛选、活动标签 — 绝不用于装饰。
- Neon deep `#C41366` — 霓虹色的按下和悬停状态。

### 字体排印(Typography)
- Display — 健身房名称、标题、墙面名称、大数字(粗重窄体、大写、紧凑行距):Anton(OFL),字重 400
- Text — 正文、标签、表格、表单标签(标签大写,字距 0.1em):Public Sans(OFL),字重 400/500/700

### 布局与动效
- 间距:运动感与高效:桌面端区块 py-24(96px)/ 移动端 py-16;内容 max-w-6xl px-6/px-10;用细线代替盒子;墙面地图占满内容宽度,四周留 80px 空白。
- 圆角:硬朗边角以匹配字体:图片和面板 0px,标签和输入框 4px,仅两个 CTA 使用胶囊形。
- 动效:利落的显现:区块、卡片和行向上淡入(y 16→0,400ms ease-out),通过 Motion whileInView 以 60ms 错峰,仅一次 — 运动的节奏,而非水疗的。
- 动效:难度筛选:不匹配的路线群组变暗至 15% 不透明度并灰度化,其标签变为空心(200ms);匹配的群组保持完整胶带颜色并带霓虹难度标签。
- 动效:繁忙图表:单元格在首次显现时从粉笔色填充到霓虹透明度,每格 30ms 错峰(快速波浪,总计约 1.3s);悬停显示样本工具提示。
- 动效:Hero:墙面照片在 1.5s 内从 1.04 缩放到 1;Anton 标题在 120ms 后弹入;统计行从左侧滑入。
- 动效:标签切换 150ms;介绍表单的已保存提示弹出(150ms);通行证行在其列悬停时高亮霓虹。
- 动效:prefers-reduced-motion:无缩放,无图表波浪(单元格立即渲染最终状态),所有显现变为 150ms 不透明度淡入。
- 图像:一个健身房,一种光线:室内攀岩摄影,明亮均匀的健身房光线和高窗透入的冷日光,细粉笔灰在空气中飘浮,浅灰色墙面上有彩色岩点,高对比度充满活力的构图。攀岩者仅从背后出现或作为剪影,面部不可识别 — 在墙上显得很小,背对镜头。画面中任何地方无可读文字(无横幅、看板或带文字的路线标签),无标志,无品牌可识别的装备标记。六张照片由 VibeFather 生成并下载到 public/images。

## 页面与区块
### [BRAND] — [DISTRICT] 攀岩馆(`index.html`)
1. **页眉(Header)** — 固定顶栏,60px,粉笔底色(chalk ground)92% 不透明度,底部 1px 粉笔线(chalkline)细线。左侧:[BRAND] 字标,Anton 20px 墨色(ink),大写。右侧(桌面端):锚点链接 'Walls'、'Passes'、'Learn'、'Hours',Public Sans 700 13px 大写,字距 0.1em,石板灰(slate)→ 悬停时变为墨色;然后是霓虹胶囊按钮 'Book intro course'(粉笔色文字)→ #learn。移动端:字标 + 胶囊按钮 + lucide menu/x 切换按钮,打开一个粉笔色面板,四个链接纵向堆叠。
   布局:position fixed,z-40。
   动效:移动端面板 200ms 快速下拉;链接悬停 150ms;胶囊按钮按下变为 neondeep。
2. **首屏(Hero)— 岩壁** — 全出血宽幅照片,一面色彩缤纷的抱石墙(public/images/wall-wide.webp),上面有两个小小的攀岩者,从背后拍摄。标签,Public Sans 700 12px 大写,字距 0.16em,霓虹色:'BOULDERING · TOP ROPE · TRAINING ROOM — [DISTRICT]'。标题,Anton,clamp(3.5rem, 9vw, 7rem),墨色,两行:'STRONG HANDS. / SOFT LANDING.' 副标题,Public Sans 400 17px 石板灰,max-w 46ch:'Every wall reset weekly, every grade from first-timer to project. Come chalk up — day pass [DAY_PASS], gear rental included.' 行动按钮(CTA):'Get a day pass'(霓虹胶囊)→ #passes;'See the walls'(墨色描边)→ #walls。下方统计行位于粉笔线顶部横线上,Public Sans 700 13px 大写:'[WALL_SIZE] OF WALL · 120 ROUTES (SAMPLE) · RESETS EVERY WEEK'。
   布局:min-h 92vh;照片 absolute inset-0 object-cover object-center;浅色遮罩 linear-gradient(180deg, rgba(242,241,236,0.20) 0%, rgba(242,241,236,0.05) 40%, rgba(242,241,236,0.96) 100%);文字块位于左下,列 1–9,padding-bottom 88px。
   动效:照片在 1.5s 内从 1.04 缩放到 1;标签、标题、副标题和行动按钮从 200ms 起以 80ms 间隔错峰上移;统计行滑入;减少动效:静态,单次淡入。
3. **岩壁与线路 — 难度地图** — id=walls。标签 'THE WALLS' 霓虹色;标题 Anton clamp(2rem, 4.5vw, 3.25rem) 墨色:'FOUR WALLS. PICK YOUR GRADE.' 筛选行:难度标签 'ALL'、'V0–2'、'V3–5'、'V6+'(激活 = 霓虹色)。WallMap SVG 全宽置于混凝土底色面板上(1px 粉笔线边框):下方以 Anton 16px 墨色标注四个岩壁剖面 — 'THE SLAB'、'THE FACE'、'THE PROW'、'THE ROOF' — 每个都带有以胶带颜色标示的线路簇和难度标签。右对齐的示例说明,Public Sans 12px 石板灰:'SAMPLE SET — 120 ROUTES ACROSS 4 WALLS, REFRESHED WEEKLY IN DEMO ONLY.' 地图旁(桌面端),holds-macro.webp 作为 1:1 强调裁切图,配说明文字 'FRESH SET, FRIDAY MORNING'。
   布局:12 列网格:地图列 1–9,微距照片 + 说明列 10–12;移动端先堆叠地图再堆叠照片。
   动效:筛选时将不匹配的线路簇调暗至 15% + 灰度(200ms);难度标签弹出 150ms;地图以 400ms 上升显现;减少动效:即时切换筛选状态。
4. **次卡与会员** — id=passes。标签 'PASSES' 霓虹色;标题:'PAY HOW YOU CLIMB.' 混凝土面板上的低调对比:三列 — 'DAY PASS' '[DAY_PASS]'(每次入场)、'MONTHLY' '$69'(每月)、'ANNUAL' '$590'(每年,'two months free' 标签为霓虹色)— 配四行细线行:'All walls & training room'(三列均勾选)、'Gear rental'(勾选 / 勾选 / 勾选)、'Guest passes'(— / 每月 1 次 / 每月 2 次)、'Intro course discount'(— / 20% / 20%)。面板下方,Public Sans 12px 石板灰:'Sample pricing for the demo — nothing is for sale here.' 面板旁,climber-silhouette.webp(3:4),配说明文字 'THE PROW AT 19:00'。
   布局:12 列网格:照片列 1–4,对比表列 5–12;表格为 4 列 CSS 网格(行标签 + 三个方案),位于细线上;移动端将照片堆叠在上方。
   动效:表格淡入上移;悬停方案列时其表头染上霓虹色(150ms);行以 60ms 间隔错峰显现。
5. **学习 — 入门课程** — id=learn。标签 'LEARN' 霓虹色;标题:'NEVER TIED IN? NINETY MINUTES.' 文案,Public Sans 16px 石板灰 max-w 42ch:'Harness, knots, top-rope belay and how to fall without apology. Small groups, one coach, chalk included — you leave climbing on your own rope.' 表单位于混凝土面板上(标签 Public Sans 700 13px 墨色;输入框粉笔底色,粉笔线边框,4px 圆角):姓名;邮箱;场次标签('Tuesday evening'、'Saturday morning'、'Sunday afternoon' — 单选);人数步进器 1–4。按钮 'Save my spot'(霓虹色)。提交时:保存到 localStorage 键 'introCourse' 并显示内联提示(150ms 弹出,石板灰 13px):'Saved on this device only — this demo form sends nothing. Call the front desk to confirm.' 表单旁,gym-training.webp(4:3),配说明文字 'THE TRAINING ROOM, QUIET AT NOON'。
   布局:12 列网格:照片列 1–5,表单列 6–12;移动端将照片堆叠在表单上方。
   动效:标签和步进器切换 150ms;保存提示弹出;减少动效:仅淡入。
6. **活动条** — 标签 'EVENTS' 霓虹色;标题:'THE ROOM AFTER DARK.' 细线上的三行,每行带一个霓虹图案标签、一个 Anton 20px 墨色标题和一行 Public Sans 14px 石板灰文字:'WEEKLY — Set Night' — 'Watch the routes go up; old problems come down at 21:00.' / 'MONTHLY — Send Social' — 'Fresh set, loud playlist, first-timers welcome.' / 'QUARTERLY — Comp Night' — 'Flash format, all grades, one very loud room (sample).' 侧图 climber-behind.webp(3:4),配说明文字 'CHALKING UP, 19:40'。脚注:'Sample events — patterns, not dates.'
   布局:12 列网格:行内容列 1–8,照片列 9–12;移动端堆叠。
   动效:行以 60ms 间隔错峰上移;标签在显现时弹出一次。
7. **营业时间与繁忙时段** — id=hours。一条宽幅带:lanes-wide.webp(16:9,34vh,object-cover),配说明文字 'TOP-ROPE LANES, MORNING'。下方两列:左侧,营业时间块 — Anton 24px 'HOURS',细线上的行 'MON–FRI 07:00–23:00 · SAT 09:00–21:00 · SUN 09:00–21:00' 以及地址行 '7 Foundry Street, [DISTRICT] · [email protected]';右侧,BusyChart 热力条(周一至周日 × 六个时段),图例 'QUIET → PACKED (SAMPLE)' — 一条从粉笔线到霓虹色的渐变条,两端为石板灰标签。
   布局:宽幅带全宽;营业时间和图表并排各占 6 列;图表在窄屏上水平滚动。
   动效:单元格在显现时波浪式进入(30ms 错峰);悬停提示;减少动效:单元格立即渲染最终状态。
8. **页脚(Footer)** — 1px 粉笔线顶部横线。左侧:[BRAND] 字标,Anton 16px,以及一行 Public Sans 13px 石板灰:'An invented gym — routes, prices, busy-times and events on this page are sample copy.' 右侧:锚点链接 'Walls · Passes · Learn · Hours',石板灰色;可选 [CREDIT] 链接。无日期,无社交媒体行。
   布局:py-12,max-w-6xl,flex 行,移动端换行为列。
   动效:无。

## 资源

- 图片:将 https://media.vibefather.ai/assets/0fed5c51-7978-4787-bc63-7093b13e9459/wall-wide.webp 下载到 public/images/wall-wide.webp。替代文本:'A wide colorful bouldering wall with two small climbers seen from behind.' 用作全出血的 hero 锚点(16:9)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。
- 图片:将 https://media.vibefather.ai/assets/0fed5c51-7978-4787-bc63-7093b13e9459/holds-macro.webp 下载到 public/images/holds-macro.webp。替代文本:'Macro of colorful climbing holds on a light gray wall with chalk dust in the air.' 位于墙面地图旁的强调图(1:1)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。
- 图片:将 https://media.vibefather.ai/assets/0fed5c51-7978-4787-bc63-7093b13e9459/climber-silhouette.webp 下载到 public/images/climber-silhouette.webp。替代文本:'A climber in silhouette on an overhanging wall against bright gym light.' 通行证区块(3:4)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。
- 图片:将 https://media.vibefather.ai/assets/0fed5c51-7978-4787-bc63-7093b13e9459/gym-training.webp 下载到 public/images/gym-training.webp。替代文本:'A training corner with hangboards and rings under bright gym light, no people.' 入门课程区块(4:3)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。
- 图片:将 https://media.vibefather.ai/assets/0fed5c51-7978-4787-bc63-7093b13e9459/climber-behind.webp 下载到 public/images/climber-behind.webp。替代文本:'A climber seen from behind chalking up at the wall base, face not visible.' 活动条带(3:4)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。
- 图片:将 https://media.vibefather.ai/assets/0fed5c51-7978-4787-bc63-7093b13e9459/lanes-wide.webp 下载到 public/images/lanes-wide.webp。替代文本:'Top-rope lanes with a single small climber high on the wall.' 营业时间条带(16:9)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。
- 图标:通过 npm 使用 lucide-react(ISC)——对比表格中的 check 和 minus,步进器上的 plus 和 minus,CTA 中的 arrow-right,营业时间区块中的 clock 和 map-pin,活动标签中的 calendar,移动端页眉的 menu 和 x。不使用其他图标:不使用 emoji,不使用健身房连锁 logo,不使用岩点制造商标记。
- 字体:@fontsource/anton(OFL,字重 400)和 @fontsource/public-sans(OFL,字重 400、500、700),在 src/main.tsx 中导入;绝不从 fonts.googleapis.com 或任何 CDN 加载。在项目根目录的 ASSETS.md 中列出这两个字体家族和六张照片:路径、来源、生成器或作者、许可证。

## 禁止事项
- 无后端、无预订后端、无支付、无网络请求:入门课程表单仅保存到 localStorage,并附上诚实的行内说明,任何地方都不进行结账。
- 不出现真实攀岩馆、连锁品牌、岩点或装备品牌或赛事:攀岩馆、岩壁、路线、活动和价格均为虚构,任何照片中不得出现可识别品牌的装备或标志。
- 难度等级、路线设置、路线数量、繁忙时段和活动模式均为示例数据,并始终标注为示例数据;不得有与真实时钟绑定的日期——营业时间为静态模式,活动为每周/每月/每季度模式,无发布日期或年份。
- 照片仅从背面拍摄攀岩者或呈现为剪影,无可识别的面部,画面中任何位置不得有可读文字、横幅或标志;若生成的图像出现面部或文字,须替换。
- 不使用任何 CDN:字体通过 Fontsource 包提供,图标来自 lucide-react,照片来自 public/images;绝不热链接,绝不使用 Unsplash/Pexels/Pixabay 或占位图服务。
- 生产构建:单一命令,压缩,无 source map,输出中无 src/,相对路径(Vite base './');每张照片压缩为 ≤ 400 KB WebP,使 dist/ 保持在 20 MB 以下。
- 单页面带锚点导航;必须在 1440×900 和 390×844 下干净渲染,零控制台错误;难度筛选器和繁忙图表必须可通过键盘操作(标签为按钮),所有动画必须遵循 prefers-reduced-motion(无缩放或热浪效果;150ms 淡入淡出)。
- 保持粉笔与霓虹方向锁定:粉笔/混凝土浅色地面、墨色文字、仅一种电光洋红(electric magenta)强调色仅用于传达含义(难度等级、繁忙热力、CTA、标签),Anton 搭配 Public Sans,硬角;无深色模式,无第二种霓虹色,无玻璃拟态,图表强度填充之外无渐变。
- 所有文案、标签、示例数据和替代文本均为美式英语,存放于 src/content.ts;当 [BRAND]、[DISTRICT]、[DAY_PASS] 或 [WALL_SIZE] 变更时,重写岩壁名称、活动和价格行以适配新攀岩馆,而不是在仅抱石品牌下保留绳索攀岩馆的文案。
- 在项目根目录的 ASSETS.md 中列出每个第三方文件(两个 Fontsource 字族、lucide 图标、六张照片):路径、来源、许可证。

---
— Prompt by VibeFather · https://vibefather.ai/t/climbing-gym-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: "Climbing Gym Website"
colors:
  chalk: "#F2F1EC"
  concrete: "#E4E2DB"
  chalk_line: "#D6D3C9"
  ink: "#23252A"
  slate: "#6B6E76"
  neon_magenta: "#E61C7D"
  neon_deep: "#C41366"
typography:
  display_gym_name_headlines_wall_names_big_numbers_heavy_condensed_uppercase_tight_leading: { family: "Anton", weights: [400] }
  text_body_chips_table_form_labels_labels_uppercase_tracked_0_1em: { family: "Public Sans", weights: [400, 500, 700] }
spacing: "Athletic and efficient: sections py-24 (96px) desktop / py-16 mobile; content max-w-6xl px-6/px-10; hairlines instead of boxes; the wall map gets full content width and 80px of clear space around it."
radius: "Hard corners to match the type: 0px on images and panels, 4px on chips and inputs, pills only on the two CTAs."
---

# Climbing Gym 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
- **Chalk** `#F2F1EC` — Page ground everywhere — light warm-gray chalk white.
- **Concrete** `#E4E2DB` — Raised surfaces: comparison panel, form panel, wall-map ground.
- **Chalk line** `#D6D3C9` — Hairlines, table rules, borders, chart cell strokes.
- **Ink** `#23252A` — Primary text — slate near-black for Anton headlines and body.
- **Slate** `#6B6E76` — Secondary text: descriptions, meta, sample notes.
- **Neon magenta** `#E61C7D` — The single accent: grade chips, busy heat, CTAs, active filters, event tags — never decorative.
- **Neon deep** `#C41366` — Pressed and hover states on neon.

## Typography
- **Display — gym name, headlines, wall names, big numbers (heavy condensed, uppercase, tight leading)** — Anton (OFL), weights 400. Self-host the font files.
- **Text — body, chips, table, form labels (labels uppercase tracked 0.1em)** — Public Sans (OFL), weights 400/500/700. Self-host the font files.

## Spacing & shape
- Spacing: Athletic and efficient: sections py-24 (96px) desktop / py-16 mobile; content max-w-6xl px-6/px-10; hairlines instead of boxes; the wall map gets full content width and 80px of clear space around it.
- Radius: Hard corners to match the type: 0px on images and panels, 4px on chips and inputs, pills only on the two CTAs.

## Motion
- Snappy reveals: sections, cards and rows fade up (y 16→0, 400ms ease-out) with 60ms stagger via Motion whileInView, once — the sport's tempo, not a spa's.
- Grade filter: non-matching route clusters dim to 15% opacity with grayscale and their chips hollow out (200ms); matching clusters stay in full tape color with neon grade chips.
- Busy chart: cells fill from chalk to neon alpha on first reveal with a 30ms per-cell stagger (fast wave, ~1.3s total); hover shows the sample tooltip.
- Hero: the wall photo zooms 1.04→1 over 1.5s; the Anton headline snaps up 120ms later; the stats row slides in from the left.
- Chips toggle in 150ms; the intro form's saved note pops (150ms); pass rows highlight neon on hover of their column.
- prefers-reduced-motion: no zoom, no chart wave (cells render final instantly), all reveals become 150ms opacity fades.

## Imagery
One gym, one light: indoor climbing photography with bright even gym light and cool daylight from high windows, fine chalk dust drifting in the air, colorful holds on light gray walls, high-contrast energetic framing. Climbers appear only from behind or as silhouettes with faces not identifiable — small on walls, backs to the camera. No readable text anywhere in frame (no banners, boards or route tags with writing), no logos, no brand-identifiable gear marks. The six photographs are generated by VibeFather and downloaded into public/images.

## Tone
Direct, dry, a little stoked — gym-beta energy: short lines, concrete numbers, zero fitness-cliché filler.

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

改成你自己的

  • 只做抱石的攀岩馆:设置 BRAND 和 DISTRICT,从首屏标签中去掉顶绳和训练室,并重写 walls 数组,使每条线路都是抱石难度。
  • 攀岩教学工作室:将入门课程表单保留为主要转化点,将 DAY_PASS 设为你的课程价格,并将活动条替换为课程日期和教练区块。
  • 多项目运动场馆:将难度区间标签复用为等级筛选器,将岩壁地图重命名为你的泳道或区域,并将繁忙图表指向你真实的峰值时段。
  • 没有开发人员的攀岩馆老板:在内容文件中更改 BRAND、DISTRICT、DAY_PASS 和 WALL_SIZE,将六张照片换成你自己的岩壁照片,布局和动效保持不动。

攀岩馆网站:常见问题

攀岩馆网站模板中可按难度筛选的岩壁地图是如何工作的?

攀岩馆网站模板用代码将场馆四面墙绘制成风格化的立面图,每条线路显示为一簇彩色岩点和难度标签。V0–2、V3–5 和 V6+ 的难度区间标签能即时重新点亮地图,将你所选范围之外的线路调暗。悬停在一簇岩点上会显示其难度,而且由于地图是绘制而非拍摄的,它在任何屏幕宽度下都保持清晰。

怎么用 AI 做一个攀岩馆网站?

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