用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
一个冲浪学校的单页网站,带有阳光褪色、胶片颗粒感的视觉风格。首屏是一张褪色彩色胶片拍摄的空旷海浪全幅照片,整个页面覆盖着温暖的颗粒质感,朦胧背景上是一个随性的展示标题。首屏正下方是预报条:五个工作日单元格用 SVG 绘制,波浪弧线按涌浪大小缩放,旋转的风向箭头和微小的潮汐曲线——虚构的示例数据,明确标注,从一个内容文件替换。再往下是学校的实用信息:三个课程等级(初学者、进阶者、高级),每个等级都说明你实际会学到什么以及价格;营地和套餐以编辑式行呈现——周末营、冲浪住宿周、私教课程;教练卡片使用从背后拍摄的坦诚工作照,不露可识别的面孔。一个客户端预订表单收集等级、偏好的课程模式和人数,保存到本地存储并如实说明,旁边是店铺地址和营业时间。最后一条是风格化的 SVG 海岸线地图,在虚构的海滩上有一个图钉。调色板固定:沙丘中性色、褪色海洋蓝、深潮汐强调色和一个温暖的阳光高光,搭配柔和的墨色文字。Bricolage Grotesque 承担展示字体,Archivo 用于正文,Space Mono 用于读数。动效缓慢而平静——轻柔的视差、漂移的波浪弧线、柔和的显现——全部遵循 prefers-reduced-motion。在一个文件中替换品牌、海滩、价格和班级人数;第二个演示案例将同样的布局变成风筝冲浪学校。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Surf School Website Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else. ## Brief A single-page marketing site for a surf school: a sun-bleached film-grain identity (faded ocean blues, sandy neutrals, a warm grain overlay over everything), a full-bleed faded wave hero, a five-day sample forecast strip drawn in SVG, three lesson levels, camps and packages as editorial rows, coach cards with candid from-behind shots, a client-side booking form and a stylized coastline map strip. - Audience: Surf, kite, SUP and other beach schools, and the designers who build sites for them. - Goal: Sell the feeling first — haze, warm grain, empty waves — then make booking feel easy: understand the levels, trust the coaches, check the sample forecast, and leave a saved booking request. - Tone: Laid-back and warm with dry humor; short sentences that sound like they were said squinting into the sun; competence shown through specifics, not adjectives. ## Stack - Framework: Vite 5 + React 18 + TypeScript - Styling: Tailwind CSS 3.4 - Libraries: tailwindcss (MIT), motion (MIT), lucide-react (ISC), @fontsource/bricolage-grotesque (OFL), @fontsource/archivo (OFL), @fontsource/space-mono (OFL) - Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs. - Setup: - Scaffold with npm create vite@latest surf-school-website -- --template react-ts; add [email protected], postcss and autoprefixer as dev dependencies; add motion, lucide-react, @fontsource/bricolage-grotesque, @fontsource/archivo and @fontsource/space-mono as dependencies. - vite.config.ts: base './', build.sourcemap false, build output dist/. - tailwind.config.js: extend colors sand #F4EDE3, dune #E7DCCC, driftwood #B9A88F, fadedblue #8FB4C2, deeptide #3E6474, ink #2E3438, fog #6E7A78, sunbleach #DFA95C; fontFamily display 'Bricolage Grotesque', sans 'Archivo', mono 'Space Mono'. - postcss.config.js: tailwindcss + autoprefixer. - Film grain overlay: in src/index.css define .grain-overlay as a fixed, inset-0, pointer-events-none layer with opacity 0.06, mix-blend-mode multiply and a repeating background-image built from an inline SVG data URI (feTurbulence type fractalNoise, baseFrequency 0.9, 300px tile); render it once in App above every page and photo — this warm grain is the signature of the whole site. - src/components/forecast.tsx: three pure SVG pieces taking values from content.ts — WaveArc (a smooth arc path whose amplitude scales with wave height), WindArrow (a line with an arrowhead rotated to the wind direction) and TideCurve (a sine path with a positioned dot); src/components/BeachMap.tsx: a stylized coastline map drawn in code — fadedblue sea, dune-shaped sand polygons, a jetty line, one sunbleach pin. - src/lib/motion.ts: shared Motion variants — fadeUp (opacity 0→1, y 20→0, 600ms ease-out, 80ms stagger, whileInView once), hoverLift (y -2px, 200ms) — with useReducedMotion falling back to plain 200ms opacity fades. - Keep every user-facing string (brand, beach, prices, forecast sample rows, levels, camps, coaches, booking copy, address, hours) in src/content.ts; sections read from it so values swap in one place. - index.html: <title>[BRAND] — Surf School at [BEACH]</title> plus a drawn-in-code favicon.svg (a single fadedblue wave arc on a sand ground); no other meta work. ## Variables - [BRAND] — School name (default: "Driftline"). Invented name used for the wordmark, page title, contact email ([email protected], from content.ts) and every mention in the copy. - [BEACH] — Beach name (default: "Sanderling Bay"). The invented home spot: hero label, forecast intro, map pin caption and the 'find us' directions. - [PRICE_LESSON] — Entry lesson price (default: "$55"). The first-timer level price ('from [PRICE_LESSON]') and any 'lessons from' copy. - [CLASS_SIZE] — Max group size (default: "6"). Small-group promise in the hero sub-line and the booking form's party-size maximum. - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/surf-school-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 - Sand `#F4EDE3` — Page ground everywhere; the hero photo melts into it with a bottom gradient. - Dune `#E7DCCC` — Raised surfaces: level cards, coach cards, forecast cells, footer band. - Driftwood `#B9A88F` — Hairlines, card borders, rules; darkens on hover. - Faded blue `#8FB4C2` — Primary faded ocean accent: links, active chips, wave arcs, forecast highlights, the map's sea. - Deep tide `#3E6474` — Strong accent: primary buttons, level card headings, the map pin outline. - Ink `#2E3438` — Primary text — soft near-black with a blue undertone, never pure #000. - Fog `#6E7A78` — Secondary text: intros, meta lines, captions, sample-data label. - Sunbleach `#DFA95C` — The one warm highlight: the map pin fill, underline accents, the tide dot — used sparingly. ### Typography - Display — headlines, camp names, coach names (laid-back, slightly quirky): Bricolage Grotesque (OFL), weights 600/700/800 - Text — body copy, lists, form labels: Archivo (OFL), weights 400/500/600 - Mono — forecast readouts, small uppercase labels, prices: Space Mono (OFL), weights 400/700 ### Layout & motion - Spacing: Loose and unhurried: sections py-28 (112px) desktop / py-20 (80px) mobile; content max-w-6xl px-6/px-10; cards breathe with 28px padding; hairlines (1px driftwood) carry structure instead of shadows. - Radius: Soft but not pill: 12px on cards and photos, 8px on buttons and inputs, 999px only on tiny chips; nothing sharper, nothing perfectly round. - Motion: Reveals: sections and cards fade up (y 20→0, 600ms ease-out) with 80ms stagger via Motion whileInView, firing once. - Motion: Hero: the wave photo scales 1.05→1 over 3s on load and parallaxes at 0.1 of scroll; the headline rises 120ms after the photo settles; the sand gradient at the bottom keeps the melt into the page static. - Motion: Forecast strip: each wave arc drifts (translateY ±3px) on a 4s ease-in-out loop, staggered 200ms per cell; wind arrows ease from 0° to their rotation on reveal (400ms). - Motion: Card and row hovers lift 2px and darken the driftwood hairline to fadedblue (200ms); chips fill dune and the label shifts to Space Mono 700. - Motion: The beach map pin pops in (scale 0→1, 300ms spring) when the section enters; the map itself is static. - Motion: The grain overlay never animates — it is the constant of the page. - Motion: prefers-reduced-motion: parallax, load zoom and all loops off; reveals become plain 200ms opacity fades; hover effects become color changes only. - Imagery: One roll of film: 35mm photographs on sun-bleached color negative stock — faded ocean blues and sandy neutrals, warm visible grain, hazy soft highlights, slightly lifted blacks. Empty waves, boards on sand, and people only small in frame or from behind with faces not identifiable. No text in frame, no logos, no recognizable breaks or landmarks. The six photographs are generated by VibeFather, downloaded into public/images, with the site-wide warm grain overlay sitting on top of them too. ## Pages & Sections ### [BRAND] — Surf School at [BEACH] (`index.html`) 1. **Header** — Fixed top bar, 72px, transparent over the hero. Left: the [BRAND] wordmark in Bricolage Grotesque 700, 24px, lowercase ('driftline' feel), ink on sand after scroll / sand over the photo before. Right (desktop): anchor links 'Lessons', 'Camps', 'Coaches', 'Find us' in Archivo 15px; then a quiet button 'Book a lesson' (deep tide ground, sand text, 8px radius). Mobile: wordmark + button + lucide menu/x toggle opening a sand panel with the four links stacked. Layout: position fixed, z-40; after 80px of scroll the bar gains the sand ground at 94% opacity, a 1px driftwood bottom hairline and a slight backdrop blur (300ms). Motion: Ground and hairline fade in at the 80px threshold; mobile panel slides down 250ms; links underline with sunbleach on hover. 2. **Hero** — Full-bleed faded wave photograph (public/images/hero-wave.webp) under the grain overlay. Label above the headline in Space Mono 12px uppercase, sunbleach: 'SURF SCHOOL AT [BEACH]'. Headline in Bricolage Grotesque 700, clamp(3rem, 7vw, 5.5rem), line-height 1.05, sand #F4EDE3: 'The ocean sets the schedule.' Sub-line, Archivo 400 18px, sand at 92%, max-w 48ch: 'Surf lessons, weekend camps and private coaching at [BEACH] — soft boards, groups of [CLASS_SIZE] max, and coaches who grew up on this sand.' CTAs: 'Book a lesson' (deep tide ground, sand text) → #book; 'See the levels' (ghost, sand text, sunbleach underline) → #lessons. Layout: min-h 92vh, relative; photo absolute inset-0 object-cover object-center; a bottom gradient from transparent sand to solid #F4EDE3 over the last 180px so the photo melts into the page; text block bottom-left on the 12-column grid (columns 1–8, padding-bottom 120px). Motion: Photo scales 1.05→1 over 3s on load and parallaxes at 0.1 of scroll; label, headline, sub and CTAs fade up in sequence (80ms stagger, starting 400ms); reduced motion: static photo, single 200ms fade. 3. **Forecast strip** — Small heading row: 'The mood out back' in Bricolage 600 20px ink, plus a Space Mono 11px uppercase chip in dune with fog text: 'SAMPLE FORECAST'. Five weekday cells (Mon–Fri, static sample rows from content.ts): each cell shows the weekday in Space Mono 12px fog, a WaveArc sized to the swell with the height in Space Mono 14px ink ('2 ft'), a WindArrow with direction label ('Offshore 6 kn' in Archivo 13px fog), and a TideCurve with a sunbleach dot and label ('low tide morning'). Sample rows: Mon 2 ft Offshore 6 kn low tide morning · Tue 3 ft Offshore 8 kn high tide midday · Wed 4 ft Cross-shore 11 kn low tide morning · Thu 3 ft Offshore 9 kn high tide midday · Fri 2 ft Glassy 4 kn low tide evening. Footnote, Archivo 13px fog: 'Sample forecast for the demo — the real one is chalked on the shop door every morning.' Layout: A single dune band directly under the hero (py-10): five cells in an equal grid with 1px driftwood hairline separators; cells stack on mobile with hairlines between. Motion: Wave arcs drift ±3px on a 4s loop staggered 200ms per cell; wind arrows rotate in on reveal; the sample chip never animates. Reduced motion: everything static. 4. **Lessons — three levels** — id=lessons. Heading Bricolage 700 clamp(2rem, 4vw, 3.25rem) ink: 'Three levels, one beach.' Intro Archivo fog max-w 52ch: 'Nobody gets thrown in the deep end. You start where the water is kind and move out when you're ready.' Three level cards on dune, 28px padding, 12px radius, driftwood hairline: Card 1 'First timer' — tag line 'Waist-deep white water' (Space Mono 12px fadedblue) — You'll learn: 'Beach safety, and where not to paddle'; 'The pop-up — on the sand first, always'; 'Riding broken waves all the way back to the sand'. Meta row Space Mono 13px fog: '90 MIN · GEAR INCLUDED · FROM [PRICE_LESSON]'. Card 2 'Improver' — 'Out the back' — 'Paddling through the impact zone without drama'; 'Catching unbroken green waves'; 'Trimming along the wave face'. '2 HRS · SMALL GROUPS · $75'. Card 3 'Advanced' — 'The whole line-up' — 'Bottom turns that hold their line'; 'Cutbacks that use the whole wave'; 'Positioning when it's crowded'. '2 HRS · VIDEO FEEDBACK · $95'. Each card ends with a text link 'Book this level →' (deep tide) to #book. Layout: 3-column grid (1 column on mobile, stacked) with 28px gaps; cards top-aligned, tags above the names. Motion: Cards fade up with 100ms stagger; hover lifts 2px and turns the hairline fadedblue; the arrows nudge 2px on link hover. 5. **Camps and packages** — Heading: 'Stay longer, surf better.' Three editorial rows separated by 1px driftwood hairlines (not cards): Row 1 'Weekend Camp' — 'Two days, four sessions, one very good tired.' Includes (Archivo 15px, dot-separated): '4 lessons · board & wetsuit hire · breakfast at the surf house · Sunday video debrief' — price Space Mono 700 20px '$290'. Row 2 'Surf & Stay Week' — 'Seven mornings in the water, evenings on the deck.' — '10 sessions · 7 nights at the surf house · daily forecast briefing · airport pickup' — '$1,150'. Row 3 'Private Coaching' — 'One coach, one surfer, one focus.' — '1:1 session · video analysis · a drill plan to take home' — '$140 / session'. Each row ends with 'Book this →' to #book. Beside the rows (desktop), surfer-small.webp as a tall mood photo: a lone surfer tiny in the frame paddling out at dawn. Layout: 12-column grid: rows in columns 1–8 (each row a 2-column inner grid: name+line left, includes+price+link right), photo in columns 9–12 (full section height, object-cover, 12px radius, 3:4 crop). Mobile: photo first (280px), then rows stacked. Motion: Rows fade up on scroll with 100ms stagger; photo gets a gentle 0.06 parallax; prices slide in 80ms after their row. 6. **Coaches** — Heading: 'Coached by locals.' Intro: 'Between them: forty seasons on this beach, two ex-lifeguards, and one judge who will take your takeoff apart frame by frame.' Three coach cards: photo (3:4, from behind, no identifiable faces), name in Bricolage 700 20px ink, role in Space Mono 12px fadedblue, one line in Archivo fog, one specialty chip (dune pill, Space Mono 11px). Mara Quinn — Head coach — 'Twelve seasons on this sand; reads the rip like a paperback.' — chip 'Whitewater'. Tomas Ferreira — Improver lead — 'Ex-lifeguard, endlessly patient, allergic to egos.' — chip 'Green waves'. Jun Park — Advanced coach — 'Contest judge by winter; breaks your takeoff down frame by frame.' — chip 'Video analysis'. Captions under photos in Archivo 12px fog: 'Watching the line-up', 'First push into the white water', 'Off to check the point'. Layout: 3-column grid, 28px gaps; photos 3:4 with 12px radius and the grain overlay over them; cards have no border — the photo anchors each card. Motion: Cards fade up staggered 120ms; photos get a slow 1.02→1 zoom-out over 1s once on reveal; hover lifts the specialty chip's underline. 7. **Book a lesson** — id=book. Heading: 'Book a lesson.' Intro: 'Tell us what fits and we'll hold a slot — or just come by the shop.' Left column, contact block on dune (12px radius): lucide map-pin '12 Dock Road, [BEACH]'; clock 'Shop daily 8:00–17:00 · lessons dawn to mid-morning'; phone '(555) 014-8890'; mail '[email protected]' (from content.ts, changes with [BRAND]). Right column, the form (labels Archivo 600 13px ink, inputs sand ground, driftwood border, 8px radius): name, email, level chips (First timer / Improver / Advanced, single select), when chips ('Weekday dawn', 'Weekday mid-morning', 'Weekend mornings', single select), surfers stepper 1–[CLASS_SIZE] (minus/plus buttons and a Space Mono count). Button 'Save my request' (deep tide). On click: save the selection to localStorage key 'bookingRequest' and show an inline note (dune panel, 300ms fade): 'Saved on this device only — this demo form sends nothing. Call or email us to confirm.' Nothing submits anywhere. Layout: 12-column grid: contact columns 1–4, form columns 6–12; mobile stacks contact above the form. Motion: Chips toggle to deep tide ground with sand text (200ms); the stepper count ticks with a small y-bounce; the saved note fades in; reduced motion keeps color-only transitions. 8. **Find us — map strip** — Heading: 'Find us.' A full-width stylized coastline map drawn in code (BeachMap.tsx): fadedblue sea with two subtle wave-arc lines, dune-colored land shapes, a jetty line reaching into the water, and one sunbleach pin with a deep tide outline at the northern end. Beside/below the map: Archivo 16px ink 'Northern end of [BEACH], beside the old jetty. Park on Dock Road — the shop is the blue container with the boards out front.' and boards-sand.webp as a 3:4 photo (boards standing in the sand) with caption 'The fleet, ready for the morning session.' Layout: Map strip 320px tall, full-bleed width (SVG scales, viewBox 0 0 1440 320); text and photo in a 2-column row beneath (photo columns 1–4 at 3:4, text columns 6–12 self-center). Motion: The pin pops in (scale 0→1, 300ms spring) when the section enters; the map and photo are otherwise static; photo fades up. 9. **Footer** — Dune band with a driftwood top hairline. Left: the [BRAND] wordmark and one line Archivo fog 'See you at dawn.' Right: anchor links 'Lessons · Camps · Coaches · Book' in ink; contact '[email protected] · (555) 014-8890'. Optional [CREDIT] link in fog. 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/57a81e6a-056a-40ad-9286-45f1c8694f6a/hero-wave.webp to public/images/hero-wave.webp. Alt: 'An empty wave peeling down a sandy point at soft morning light.' 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/57a81e6a-056a-40ad-9286-45f1c8694f6a/surfer-small.webp to public/images/surfer-small.webp. Alt: 'A lone surfer, tiny in the frame, paddling out over glassy water at dawn.' Used as the camps mood photo (3:4 crop). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. - image: Download https://media.vibefather.ai/assets/57a81e6a-056a-40ad-9286-45f1c8694f6a/coach-lineup.webp to public/images/coach-lineup.webp. Alt: 'A coach in a wetsuit seen from behind, standing in waist-deep water and watching the line-up.' Coach card 1 (3:4). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. - image: Download https://media.vibefather.ai/assets/57a81e6a-056a-40ad-9286-45f1c8694f6a/coach-push.webp to public/images/coach-push.webp. Alt: 'From behind, a coach steadying a beginner's board into the white water.' Coach card 2 (3:4). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. - image: Download https://media.vibefather.ai/assets/57a81e6a-056a-40ad-9286-45f1c8694f6a/coach-walk.webp to public/images/coach-walk.webp. Alt: 'A coach walking away down the beach with a surfboard under one arm, seen from behind.' Coach card 3 (3:4). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. - image: Download https://media.vibefather.ai/assets/57a81e6a-056a-40ad-9286-45f1c8694f6a/boards-sand.webp to public/images/boards-sand.webp. Alt: 'Plain soft-top surfboards standing upright in the sand.' Used in the 'Find us' strip (3:4). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. - icon: lucide-react (ISC) via npm — arrow-right in links and CTAs, map-pin, clock, phone and mail in the contact block, plus and minus in the party-size stepper, menu and x for the mobile header. No other iconography: no emoji, no wave logos, no brand marks. - font: @fontsource/bricolage-grotesque (OFL, weights 600, 700, 800), @fontsource/archivo (OFL, weights 400, 500, 600) and @fontsource/space-mono (OFL, weights 400, 700), imported in src/main.tsx; never loaded from fonts.googleapis.com or any CDN. List all three families and the six photographs in ASSETS.md at the project root: path, source, generator or author, license. ## Don'ts - No backend, no network calls, no analytics, no weather API: the forecast strip is invented sample data from src/content.ts with its visible SAMPLE FORECAST label, and the booking form saves to localStorage only with an inline note saying so — no form ever submits. - 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 ≤ 350 KB WebP. - Single page with anchor navigation only; must render cleanly at 1440×900 and 390×844 with zero console errors, and respect prefers-reduced-motion (parallax, zoom and forecast loops off; fades only). - No real surf schools, surf brands, board logos or recognizable breaks: the school, coaches, spot and streets are invented, and [BRAND] is used everywhere a name appears. - Photographs carry no readable text or logos, and any person is small in frame, from behind, or otherwise not identifiable — never a portrait-style face shot; if a generated image ever shows a face or writing, replace it. - No dates from the real clock: the forecast is a static Mon–Fri sample, session times are weekday patterns, and no publish dates or years appear anywhere. - Keep the sun-bleached direction locked: sand and dune grounds, faded ocean blue, deep tide and one warm sunbleach highlight, soft ink text, and the warm grain overlay over the entire page including photos; no saturated cyan, no neon, no dark mode, no glassmorphism. - All copy, labels, sample data and alt text in US English, living in src/content.ts; when [BRAND], [BEACH], [PRICE_LESSON] or [CLASS_SIZE] change, rewrite coach names, spot details and sport-specific lines to fit the new school instead of leaving surf copy under another sport's brand. - List every third-party file (three Fontsource families, lucide icons, six photographs) in ASSETS.md at the project root: path, source, license. --- — Prompt by VibeFather · https://vibefather.ai/t/surf-school-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 冲浪学校网站 完全按照下面的描述构建这个网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。 ## 简介 一个冲浪学校的单页营销网站:一个被阳光晒褪色的胶片颗粒感品牌形象(褪色的海洋蓝、沙滩中性色、覆盖在所有内容上的温暖颗粒叠加层)、一个全出血的褪色海浪主视觉区、一条用 SVG 绘制的五日样本预报条、三个课程级别、以编辑式行布局呈现的营地和套餐、带有抓拍背影照的教练卡片、一个客户端预订表单,以及一条风格化的海岸线地图条。 - 受众:冲浪、风筝冲浪、SUP 及其他海滩学校,以及为他们建站的设计师。 - 目标:先卖出感觉——薄雾、温暖颗粒、空荡的海浪——再让预订变得轻松:理解级别、信任教练、查看样本预报,并留下一个已保存的预订请求。 - 语调:轻松温暖,带点冷幽默;短句听起来像是眯着眼迎着阳光说出来的;能力通过具体细节展现,而非形容词。 ## 技术栈 - 框架:Vite 5 + React 18 + TypeScript - 样式:Tailwind CSS 3.4 - 库:tailwindcss(MIT)、motion(MIT)、lucide-react(ISC)、@fontsource/bricolage-grotesque(OFL)、@fontsource/archivo(OFL)、@fontsource/space-mono(OFL) - 构建:`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。 - 设置: - 使用 npm create vite@latest surf-school-website -- --template react-ts 搭建脚手架;将 [email protected]、postcss 和 autoprefixer 添加为开发依赖;将 motion、lucide-react、@fontsource/bricolage-grotesque、@fontsource/archivo 和 @fontsource/space-mono 添加为依赖。 - vite.config.ts:base './',build.sourcemap false,构建输出 dist/。 - tailwind.config.js:扩展颜色 sand #F4EDE3、dune #E7DCCC、driftwood #B9A88F、fadedblue #8FB4C2、deeptide #3E6474、ink #2E3438、fog #6E7A78、sunbleach #DFA95C;fontFamily display 'Bricolage Grotesque'、sans 'Archivo'、mono 'Space Mono'。 - postcss.config.js:tailwindcss + autoprefixer。 - 胶片颗粒叠加层:在 src/index.css 中定义 .grain-overlay 为固定定位、inset-0、pointer-events-none 的图层,透明度 0.06,mix-blend-mode 为 multiply,背景图使用内联 SVG data URI(feTurbulence 类型 fractalNoise,baseFrequency 0.9,300px 平铺)重复构建;在 App 中于每个页面和照片之上渲染一次——这种温暖的颗粒感是整个网站的签名特征。 - src/components/forecast.tsx:三个纯 SVG 组件,从 content.ts 取值——WaveArc(一条平滑弧线路径,其振幅随浪高缩放)、WindArrow(一条带箭头的线,旋转至风向)和 TideCurve(一条正弦路径,带一个定位点);src/components/BeachMap.tsx:用代码绘制的风格化海岸线地图——fadedblue 的海面、dune 形状的沙地多边形、一条防波堤线、一个 sunbleach 图钉。 - src/lib/motion.ts:共享的 Motion 变体——fadeUp(opacity 0→1,y 20→0,600ms ease-out,80ms stagger,whileInView once)、hoverLift(y -2px,200ms)——配合 useReducedMotion 回退为普通的 200ms 透明度淡入。 - 将所有面向用户的字符串(品牌、海滩、价格、预报示例行、级别、营地、教练、预订文案、地址、营业时间)保留在 src/content.ts 中;各区块从中读取,以便在一处替换值。 - index.html:<title>[BRAND] — Surf School at [BEACH]</title> 加上一个用代码绘制的 favicon.svg(sand 底色上的单个 fadedblue 波浪弧);无其他 meta 工作。 ## 变量 - [BRAND] — 学校名称(默认:"Driftline")。用于字标、页面标题、联系邮箱([email protected],来自 content.ts)以及文案中每一处提及的虚构名称。 - [BEACH] — 海滩名称(默认:"Sanderling Bay")。虚构的主场地点:主视觉标签、预报介绍、地图图钉说明以及"找到我们"的路线指引。 - [PRICE_LESSON] — 入门课程价格(默认:"$55")。新手级别的价格("from [PRICE_LESSON]")以及任何"课程起价"文案。 - [CLASS_SIZE] — 最大团体人数(默认:"6")。主视觉副标题中的小班承诺以及预订表单的同行人数上限。 - [CREDIT] — 在页脚保留一个小的"Template by VibeFather"链接,指向 https://vibefather.ai/t/surf-school-website(默认:是;删除此行即可移除) 页面与区块下的文案是按默认值撰写的。如果你的取值不同,请为它们重写每一个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。 将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便日后无需改动组件即可替换内容。 ## 设计 ### 颜色 - 沙色(Sand)`#F4EDE3` — 所有页面的底色;主视觉照片通过底部渐变融入其中。 - 沙丘色(Dune)`#E7DCCC` — 凸起的表面:等级卡片、教练卡片、预报单元格、页脚区域。 - 浮木色(Driftwood)`#B9A88F` — 细线、卡片边框、分隔线;悬停时加深。 - 褪色蓝(Faded blue)`#8FB4C2` — 主要的褪色海洋强调色:链接、激活的标签、波浪弧线、预报高亮、地图的海面。 - 深潮色(Deep tide)`#3E6474` — 强强调色:主按钮、等级卡片标题、地图图钉轮廓。 - 墨色(Ink)`#2E3438` — 主要文本 — 带有蓝色底调的柔和近黑色,绝不使用纯 #000。 - 雾色(Fog)`#6E7A78` — 次要文本:介绍语、元信息行、说明文字、示例数据标签。 - 日晒色(Sunbleach)`#DFA95C` — 唯一的暖色高亮:地图图钉填充、下划线强调、潮汐圆点 — 谨慎使用。 ### 字体排印 - 展示字体 — 标题、营地名称、教练姓名(轻松、略带俏皮):Bricolage Grotesque(OFL),字重 600/700/800 - 文本字体 — 正文、列表、表单标签:Archivo(OFL),字重 400/500/600 - 等宽字体 — 预报读数、小型大写标签、价格:Space Mono(OFL),字重 400/700 ### 布局与动效 - 间距:宽松而不慌不忙:桌面端区块 py-28(112px)/ 移动端 py-20(80px);内容 max-w-6xl px-6/px-10;卡片以 28px 内边距呼吸;细线(1px 浮木色)承载结构,而非阴影。 - 圆角:柔和但非胶囊形:卡片和照片 12px,按钮和输入框 8px,仅微型标签使用 999px;没有更锐利的,也没有完全圆形的。 - 动效:显现:区块和卡片向上淡入(y 20→0,600ms ease-out),通过 Motion 的 whileInView 以 80ms 错峰触发,仅触发一次。 - 动效:主视觉:波浪照片在加载时从 1.05→1 缩放,历时 3s,并以 0.1 的滚动速率视差移动;标题在照片稳定后 120ms 升起;底部的沙色渐变保持融入页面的效果为静态。 - 动效:预报条:每条波浪弧线以 4s ease-in-out 循环漂移(translateY ±3px),每个单元格错峰 200ms;风向箭头在显现时从 0° 缓动到其旋转角度(400ms)。 - 动效:卡片和行悬停时上浮 2px,并将浮木色细线加深为 fadedblue(200ms);标签填充沙丘色,标签文字切换为 Space Mono 700。 - 动效:海滩地图图钉在区块进入时弹出(scale 0→1,300ms 弹簧);地图本身为静态。 - 动效:颗粒叠加层从不做动画 — 它是页面的常量。 - 动效:prefers-reduced-motion:视差、加载缩放和所有循环关闭;显现变为普通的 200ms 透明度淡入;悬停效果仅变为颜色变化。 - 图像:一卷胶片:35mm 照片,采用日晒褪色的彩色负片风格 — 褪色的海洋蓝和沙色中性色,温暖可见的颗粒,朦胧柔和的高光,略微抬起的黑场。空荡的波浪、沙滩上的冲浪板,人物仅在画面中很小或从背后拍摄且面部不可辨认。画面中无文字,无标志,无可辨认的浪点或地标。六张照片由 VibeFather 生成,下载到 public/images,全站暖色颗粒叠加层也覆盖在其上。 ## 页面与区块 ### [BRAND] — [BEACH] 冲浪学校(`index.html`) 1. **页眉** — 固定顶栏,72px,在首屏上方透明。左侧:[BRAND] 字标,Bricolage Grotesque 700,24px,小写('driftline' 感觉),滚动后为沙地上的墨色 / 照片上方为沙色。右侧(桌面端):锚点链接 'Lessons'、'Camps'、'Coaches'、'Find us',Archivo 15px;然后是一个低调按钮 'Book a lesson'(深潮色底,沙色文字,8px 圆角)。移动端:字标 + 按钮 + lucide menu/x 切换,打开一个沙色面板,四个链接堆叠。 布局:position fixed,z-40;滚动 80px 后,栏获得 94% 不透明度的沙色底、1px 浮木色底部细线和轻微背景模糊(300ms)。 动效:底色和细线在 80px 阈值处淡入;移动端面板下滑 250ms;链接悬停时以日晒色下划线。 2. **首屏** — 全出血褪色海浪照片(public/images/hero-wave.webp)位于颗粒叠加层下。标题上方标签,Space Mono 12px 大写,日晒色:'SURF SCHOOL AT [BEACH]'。标题 Bricolage Grotesque 700,clamp(3rem, 7vw, 5.5rem),行高 1.05,沙色 #F4EDE3:'The ocean sets the schedule.' 副行,Archivo 400 18px,沙色 92%,max-w 48ch:'Surf lessons, weekend camps and private coaching at [BEACH] — soft boards, groups of [CLASS_SIZE] max, and coaches who grew up on this sand.' CTA:'Book a lesson'(深潮色底,沙色文字)→ #book;'See the levels'(幽灵按钮,沙色文字,日晒色下划线)→ #lessons。 布局:min-h 92vh,relative;照片 absolute inset-0 object-cover object-center;底部渐变从透明沙色到纯色 #F4EDE3,覆盖最后 180px,使照片融入页面;文本块在 12 列网格的左下(第 1–8 列,padding-bottom 120px)。 动效:照片加载时 3s 内从 1.05→1 缩放,并以 0.1 的滚动视差移动;标签、标题、副行和 CTA 依次淡入上移(80ms 错开,从 400ms 开始);减少动态:静态照片,单次 200ms 淡入。 3. **预报条** — 小标题行:'The mood out back',Bricolage 600 20px 墨色,加上一个 Space Mono 11px 大写芯片,沙丘色底,雾色文字:'SAMPLE FORECAST'。五个工作日单元格(周一至周五,来自 content.ts 的静态示例行):每个单元格显示工作日,Space Mono 12px 雾色;一个按涌浪大小调整的 WaveArc,高度用 Space Mono 14px 墨色('2 ft');一个 WindArrow 带方向标签('Offshore 6 kn',Archivo 13px 雾色);以及一个 TideCurve,带日晒色圆点和标签('low tide morning')。示例行:Mon 2 ft Offshore 6 kn low tide morning · Tue 3 ft Offshore 8 kn high tide midday · Wed 4 ft Cross-shore 11 kn low tide morning · Thu 3 ft Offshore 9 kn high tide midday · Fri 2 ft Glassy 4 kn low tide evening。脚注,Archivo 13px 雾色:'Sample forecast for the demo — the real one is chalked on the shop door every morning.' 布局:首屏正下方一条沙丘色带(py-10):五个单元格等宽网格,1px 浮木色细线分隔;移动端单元格堆叠,之间用细线。 动效:波浪弧线以 4s 循环漂移 ±3px,每个单元格错开 200ms;风向箭头在显现时旋转进入;示例芯片从不动画。减少动态:全部静态。 4. **课程 — 三个级别** — id=lessons。标题 Bricolage 700 clamp(2rem, 4vw, 3.25rem) 墨色:'Three levels, one beach.' 介绍 Archivo 雾色 max-w 52ch:'Nobody gets thrown in the deep end. You start where the water is kind and move out when you're ready.' 三张级别卡片,沙丘色底,28px 内边距,12px 圆角,浮木色细线:卡片 1 'First timer' — 标签行 'Waist-deep white water'(Space Mono 12px 褪蓝)— 你将学到:'Beach safety, and where not to paddle';'The pop-up — on the sand first, always';'Riding broken waves all the way back to the sand'。元信息行 Space Mono 13px 雾色:'90 MIN · GEAR INCLUDED · FROM [PRICE_LESSON]'。卡片 2 'Improver' — 'Out the back' — 'Paddling through the impact zone without drama';'Catching unbroken green waves';'Trimming along the wave face'。'2 HRS · SMALL GROUPS · $75'。卡片 3 'Advanced' — 'The whole line-up' — 'Bottom turns that hold their line';'Cutbacks that use the whole wave';'Positioning when it's crowded'。'2 HRS · VIDEO FEEDBACK · $95'。每张卡片以文本链接 'Book this level →'(深潮色)结尾,指向 #book。 布局:3 列网格(移动端 1 列,堆叠),28px 间距;卡片顶部对齐,标签在名称上方。 动效:卡片以 100ms 错开淡入上移;悬停上浮 2px 并将细线变为褪蓝;链接悬停时箭头轻推 2px。 5. **营队和套餐** — 标题:'Stay longer, surf better.' 三个编辑式行,由 1px 浮木色细线分隔(非卡片):行 1 'Weekend Camp' — 'Two days, four sessions, one very good tired.' 包含(Archivo 15px,点分隔):'4 lessons · board & wetsuit hire · breakfast at the surf house · Sunday video debrief' — 价格 Space Mono 700 20px '$290'。行 2 'Surf & Stay Week' — 'Seven mornings in the water, evenings on the deck.' — '10 sessions · 7 nights at the surf house · daily forecast briefing · airport pickup' — '$1,150'。行 3 'Private Coaching' — 'One coach, one surfer, one focus.' — '1:1 session · video analysis · a drill plan to take home' — '$140 / session'。每行以 'Book this →' 结尾,指向 #book。行旁(桌面端),surfer-small.webp 作为竖版氛围照片:一个孤独冲浪者在画面中很小,黎明时划出去。 布局:12 列网格:行在第 1–8 列(每行是 2 列内部网格:名称+行左,包含+价格+链接右),照片在第 9–12 列(全节高度,object-cover,12px 圆角,3:4 裁剪)。移动端:照片在前(280px),然后行堆叠。 动效:行在滚动时以 100ms 错开淡入上移;照片获得 0.06 的轻微视差;价格在其行后 80ms 滑入。 6. **教练** — 标题:'Coached by locals.' 介绍:'Between them: forty seasons on this beach, two ex-lifeguards, and one judge who will take your takeoff apart frame by frame.' 三张教练卡片:照片(3:4,从背后,无可识别面孔),名字 Bricolage 700 20px 墨色,角色 Space Mono 12px 褪蓝,一行 Archivo 雾色,一个专长芯片(沙丘色药丸,Space Mono 11px)。Mara Quinn — Head coach — 'Twelve seasons on this sand; reads the rip like a paperback.' — 芯片 'Whitewater'。Tomas Ferreira — Improver lead — 'Ex-lifeguard, endlessly patient, allergic to egos.' — 芯片 'Green waves'。Jun Park — Advanced coach — 'Contest judge by winter; breaks your takeoff down frame by frame.' — 芯片 'Video analysis'。照片下方说明,Archivo 12px 雾色:'Watching the line-up'、'First push into the white water'、'Off to check the point'。 布局:3 列网格,28px 间距;照片 3:4,12px 圆角,上面有颗粒叠加层;卡片无边框 — 照片锚定每张卡片。 动效:卡片以 120ms 错开淡入上移;照片在显现时以 1s 缓慢从 1.02→1 缩小;悬停时提升专长芯片的下划线。 7. **预订课程** — id=book。标题:'Book a lesson.' 介绍:'Tell us what fits and we'll hold a slot — or just come by the shop.' 左列,联系块在沙丘色底(12px 圆角):lucide map-pin '12 Dock Road, [BEACH]';clock 'Shop daily 8:00–17:00 · lessons dawn to mid-morning';phone '(555) 014-8890';mail '[email protected]'(来自 content.ts,随 [BRAND] 变化)。右列,表单(标签 Archivo 600 13px 墨色,输入沙色底,浮木色边框,8px 圆角):姓名、邮箱、级别芯片(First timer / Improver / Advanced,单选)、时间芯片('Weekday dawn'、'Weekday mid-morning'、'Weekend mornings',单选)、冲浪者步进器 1–[CLASS_SIZE](减/加按钮和 Space Mono 计数)。按钮 'Save my request'(深潮色)。点击时:将选择保存到 localStorage 键 'bookingRequest',并显示内联提示(沙丘色面板,300ms 淡入):'Saved on this device only — this demo form sends nothing. Call or email us to confirm.' 不提交到任何地方。 布局:12 列网格:联系第 1–4 列,表单第 6–12 列;移动端联系堆叠在表单上方。 动效:芯片切换为深潮色底沙色文字(200ms);步进器计数以小 y 弹跳跳动;保存提示淡入;减少动态保持仅颜色过渡。 8. **找到我们 — 地图条** — 标题:'Find us.' 一个全宽风格化海岸线地图,用代码绘制(BeachMap.tsx):褪蓝海面,带两条微妙波浪弧线,沙丘色陆地形状,一条伸入水中的码头线,以及北端一个日晒色图钉,带深潮色轮廓。地图旁/下方:Archivo 16px 墨色 'Northern end of [BEACH], beside the old jetty. Park on Dock Road — the shop is the blue container with the boards out front.' 以及 boards-sand.webp 作为 3:4 照片(冲浪板立在沙中),说明 'The fleet, ready for the morning session.' 布局:地图条 320px 高,全出血宽度(SVG 缩放,viewBox 0 0 1440 320);文本和照片在下方 2 列行中(照片第 1–4 列,3:4,文本第 6–12 列自居中)。 动效:当该区块进入时,图钉弹入(scale 0→1,300ms spring);地图和照片其余部分保持静止;照片淡入上浮。 9. **页脚(Footer)** — 沙丘色带,顶部有一条浮木色细线。左侧:[BRAND] 字标和一行 Archivo 雾色文字 'See you at dawn.'。右侧:墨色锚点链接 'Lessons · Camps · Coaches · Book';联系方式 '[email protected] · (555) 014-8890'。可选的 [CREDIT] 链接以雾色呈现。不显示日期,不设社交行。 布局:py-12,max-w-6xl,flex 行布局,在移动端换行成列。 动效:无。 ## 资源 - 图片:将 https://media.vibefather.ai/assets/57a81e6a-056a-40ad-9286-45f1c8694f6a/hero-wave.webp 下载到 public/images/hero-wave.webp。Alt:'An empty wave peeling down a sandy point at soft morning light.' 用作全出血的 hero 锚点图(16:9)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。 - 图片:将 https://media.vibefather.ai/assets/57a81e6a-056a-40ad-9286-45f1c8694f6a/surfer-small.webp 下载到 public/images/surfer-small.webp。Alt:'A lone surfer, tiny in the frame, paddling out over glassy water at dawn.' 用作冲浪营氛围照片(3:4 裁剪)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。 - 图片:将 https://media.vibefather.ai/assets/57a81e6a-056a-40ad-9286-45f1c8694f6a/coach-lineup.webp 下载到 public/images/coach-lineup.webp。Alt:'A coach in a wetsuit seen from behind, standing in waist-deep water and watching the line-up.' 教练卡片 1(3:4)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。 - 图片:将 https://media.vibefather.ai/assets/57a81e6a-056a-40ad-9286-45f1c8694f6a/coach-push.webp 下载到 public/images/coach-push.webp。Alt:'From behind, a coach steadying a beginner's board into the white water.' 教练卡片 2(3:4)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。 - 图片:将 https://media.vibefather.ai/assets/57a81e6a-056a-40ad-9286-45f1c8694f6a/coach-walk.webp 下载到 public/images/coach-walk.webp。Alt:'A coach walking away down the beach with a surfboard under one arm, seen from behind.' 教练卡片 3(3:4)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。 - 图片:将 https://media.vibefather.ai/assets/57a81e6a-056a-40ad-9286-45f1c8694f6a/boards-sand.webp 下载到 public/images/boards-sand.webp。Alt:'Plain soft-top surfboards standing upright in the sand.' 用于“Find us”条带(3:4)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。 - 图标:lucide-react(ISC)通过 npm 引入——链接和 CTA 中的 arrow-right,联系区块中的 map-pin、clock、phone 和 mail,以及 party-size 步进器中的 plus 和 minus,移动端页眉中的 menu 和 x。不使用其他图标:不用 emoji,不用波浪 logo,不用品牌标识。 - 字体:@fontsource/bricolage-grotesque(OFL,字重 600、700、800)、@fontsource/archivo(OFL,字重 400、500、600)和 @fontsource/space-mono(OFL,字重 400、700),在 src/main.tsx 中导入;绝不从 fonts.googleapis.com 或任何 CDN 加载。在项目根目录的 ASSETS.md 中列出全部三个字体家族和六张照片:路径、来源、生成器或作者、许可证。 ## 不要做 - 不要后端、不要网络请求、不要分析统计、不要天气 API:预报条是来自 src/content.ts 的虚构示例数据,并带有可见的 SAMPLE FORECAST 标签;预约表单只保存到 localStorage,并附有内联说明——任何表单都不会提交。 - 不要任何 CDN:字体通过 Fontsource 包提供,图标来自 lucide-react,照片来自 public/images;绝不外链,绝不使用 Unsplash/Pexels/Pixabay 或占位图服务。 - 生产构建:单条命令,压缩,无 source map,输出中不含 src/,使用相对路径(Vite base './');每张照片压缩为 ≤ 350 KB 的 WebP,使 dist/ 保持在 20 MB 以下。 - 单页,仅锚点导航;必须在 1440×900 和 390×844 下干净渲染,控制台零报错,并遵循 prefers-reduced-motion(视差、缩放和预报循环关闭;仅保留淡入淡出)。 - 不要真实冲浪学校、冲浪品牌、冲浪板标志或可辨认的浪点:学校、教练、地点和街道均为虚构,凡是出现名称的地方都使用 [BRAND]。 - 照片不得带有可读文字或标志,任何人物在画面中都要很小、背对镜头或以其他方式无法辨认——绝不要肖像式正脸照;如果生成的图像出现面部或文字,请替换。 - 不要使用真实时钟的日期:预报是静态的周一至周五示例,课程时间是工作日模式,任何地方都不出现发布日期或年份。 - 保持日晒褪色方向不变:沙地和沙丘底色、褪色海洋蓝、深潮色和一个温暖的日晒高光、柔和墨色文字,以及覆盖整个页面(包括照片)的暖色颗粒叠加层;不要饱和青色、不要霓虹、不要深色模式、不要玻璃拟态。 - 所有文案、标签、示例数据和 alt 文本均使用美式英语,存放在 src/content.ts 中;当 [BRAND]、[BEACH]、[PRICE_LESSON] 或 [CLASS_SIZE] 变化时,重写教练姓名、地点细节和运动专属文案以适配新学校,而不是把冲浪文案留在另一项运动的品牌下。 - 在项目根目录的 ASSETS.md 中列出每个第三方文件(三个 Fontsource 字体家族、lucide 图标、六张照片):路径、来源、许可证。 --- — Prompt by VibeFather · https://vibefather.ai/t/surf-school-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: "Surf School Website"
colors:
sand: "#F4EDE3"
dune: "#E7DCCC"
driftwood: "#B9A88F"
faded_blue: "#8FB4C2"
deep_tide: "#3E6474"
ink: "#2E3438"
fog: "#6E7A78"
sunbleach: "#DFA95C"
typography:
display_headlines_camp_names_coach_names_laid_back_slightly_quirky: { family: "Bricolage Grotesque", weights: [600, 700, 800] }
text_body_copy_lists_form_labels: { family: "Archivo", weights: [400, 500, 600] }
mono_forecast_readouts_small_uppercase_labels_prices: { family: "Space Mono", weights: [400, 700] }
spacing: "Loose and unhurried: sections py-28 (112px) desktop / py-20 (80px) mobile; content max-w-6xl px-6/px-10; cards breathe with 28px padding; hairlines (1px driftwood) carry structure instead of shadows."
radius: "Soft but not pill: 12px on cards and photos, 8px on buttons and inputs, 999px only on tiny chips; nothing sharper, nothing perfectly round."
---
# Surf School 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
- **Sand** `#F4EDE3` — Page ground everywhere; the hero photo melts into it with a bottom gradient.
- **Dune** `#E7DCCC` — Raised surfaces: level cards, coach cards, forecast cells, footer band.
- **Driftwood** `#B9A88F` — Hairlines, card borders, rules; darkens on hover.
- **Faded blue** `#8FB4C2` — Primary faded ocean accent: links, active chips, wave arcs, forecast highlights, the map's sea.
- **Deep tide** `#3E6474` — Strong accent: primary buttons, level card headings, the map pin outline.
- **Ink** `#2E3438` — Primary text — soft near-black with a blue undertone, never pure #000.
- **Fog** `#6E7A78` — Secondary text: intros, meta lines, captions, sample-data label.
- **Sunbleach** `#DFA95C` — The one warm highlight: the map pin fill, underline accents, the tide dot — used sparingly.
## Typography
- **Display — headlines, camp names, coach names (laid-back, slightly quirky)** — Bricolage Grotesque (OFL), weights 600/700/800. Self-host the font files.
- **Text — body copy, lists, form labels** — Archivo (OFL), weights 400/500/600. Self-host the font files.
- **Mono — forecast readouts, small uppercase labels, prices** — Space Mono (OFL), weights 400/700. Self-host the font files.
## Spacing & shape
- Spacing: Loose and unhurried: sections py-28 (112px) desktop / py-20 (80px) mobile; content max-w-6xl px-6/px-10; cards breathe with 28px padding; hairlines (1px driftwood) carry structure instead of shadows.
- Radius: Soft but not pill: 12px on cards and photos, 8px on buttons and inputs, 999px only on tiny chips; nothing sharper, nothing perfectly round.
## Motion
- Reveals: sections and cards fade up (y 20→0, 600ms ease-out) with 80ms stagger via Motion whileInView, firing once.
- Hero: the wave photo scales 1.05→1 over 3s on load and parallaxes at 0.1 of scroll; the headline rises 120ms after the photo settles; the sand gradient at the bottom keeps the melt into the page static.
- Forecast strip: each wave arc drifts (translateY ±3px) on a 4s ease-in-out loop, staggered 200ms per cell; wind arrows ease from 0° to their rotation on reveal (400ms).
- Card and row hovers lift 2px and darken the driftwood hairline to fadedblue (200ms); chips fill dune and the label shifts to Space Mono 700.
- The beach map pin pops in (scale 0→1, 300ms spring) when the section enters; the map itself is static.
- The grain overlay never animates — it is the constant of the page.
- prefers-reduced-motion: parallax, load zoom and all loops off; reveals become plain 200ms opacity fades; hover effects become color changes only.
## Imagery
One roll of film: 35mm photographs on sun-bleached color negative stock — faded ocean blues and sandy neutrals, warm visible grain, hazy soft highlights, slightly lifted blacks. Empty waves, boards on sand, and people only small in frame or from behind with faces not identifiable. No text in frame, no logos, no recognizable breaks or landmarks. The six photographs are generated by VibeFather, downloaded into public/images, with the site-wide warm grain overlay sitting on top of them too.
## Tone
Laid-back and warm with dry humor; short sentences that sound like they were said squinting into the sun; competence shown through specifics, not adjectives.
---
— Prompt by VibeFather · https://vibefather.ai/t/surf-school-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 风筝冲浪学校:将 [BRAND] 和 [BEACH] 设置为你的地点,为风筝技能重写三个等级,并为风速重新标记预报单元格。
- 桨板和皮划艇租赁:保留预订表单,将等级改为租赁时长,并将营地行换成导游之旅和日落桨板。
- 单冲浪教练:将 [CLASS_SIZE] 设置为你私教课程的限制,用你自己的简介替换教练卡片,并将营地行变成一对一教练套餐。
- 海岸冲浪旅舍:重用海岸线地图和地址块,将你的房型添加到营地行中,并将预订表单指向你的住宿咨询。
冲浪学校网站:常见问题
如何在这个模板中更改冲浪学校名称、海滩和课程价格?
冲浪学校网站模板将所有面向用户的字符串放在一个内容文件中,因此你在那里设置 [BRAND]、[BEACH]、[PRICE_LESSON] 和 [CLASS_SIZE],文字标识、页面标题、首屏标签、预报介绍、等级价格、预订表单和地图图钉说明都会更新。首先让你的 AI 代理指向该文件,并让它为你自己的学校重写文案,保持相同的长度和语气。
我可以把这个冲浪学校模板变成风筝冲浪或 SUP 学校网站吗?
是的。冲浪学校网站模板专为冲浪、风筝、SUP 和其他海滩学校构建,两个在线演示之一已经是一个由相同提示词构建的风筝冲浪学校。你保留布局、调色板和动效,重写内容文件:品牌、地点、价格、班级人数、课程等级、营地、教练和预报标签,使文案与你的项目匹配。
怎么用 AI 做一个冲浪学校网站?
复制本页的提示词,或者运行 npx vibefather add surf-school-website,把 [BEACH]、[BRAND]、[CLASS_SIZE]、[PRICE_LESSON] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。