用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
一个为高端野生动物营地打造的单页网站,像电影一样构建:炭黑底色、赭石与橄榄绿点缀、整体覆盖温暖颗粒感,以及在第一缕和最后一缕光线下拍摄的全出血风景摄影。首屏是黄金时刻的稀树草原,营地在小河湾处发光,薄雾之上是精致的衬线标题,按钮下方安静地放置着住宿价格。从那里开始,页面完整讲述一次住宿体验:一条编辑式横条讲述营地如何作为自身保护区的访客行事;一个套房图库展示黎明、黄昏和灯笼光下的帆布帐篷;一个营地一日时间线沿页面向下延伸——黎明巡游、露台早午餐、午休、日落酒、夜间巡游——一条轨道像太阳划过天空一样填充。体验卡片涵盖巡游、徒步游猎、观鸟早晨和社区探访,以示例数据定价,并诚实地承诺光线而非保证看到动物。一个季节价格表按套房比较绿色季、平季和旱季,用代码绘制细线而非卡片装饰,咨询表单收集季节、晚数、同行人数和备注,仅保存到本地存储并明确说明。Fraunces 在 Work Sans 之上承载展示声音;动效缓慢而克制——首屏视差、700ms 显现、填充的时间线轨道——全部尊重 prefers-reduced-motion。在一个内容文件中替换营地、保护区、套房数量和起价;第二个演示案例将相同布局变成一个摄影优先的野生动物营地,以证明设计成立。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Safari Lodge 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 luxury safari lodge: golden-hour cinematic identity (ochre, olive, charcoal, warm grain), a full-bleed dusk savanna hero, an editorial conservancy strip, a suites gallery of tented suites at dawn and dusk, a vertical day-at-the-lodge timeline, game drive and experience cards with sample pricing, a seasonal rates table, and a client-side inquiry form. - Audience: Safari lodges, tented camps, wilderness retreats and the studios who build for them; also photo-safari and expedition outfits. - Goal: Sell the feeling first — golden light, space and quiet — then make planning feel certain: see the suites, live a day at the lodge, understand the seasons and rates, and leave an inquiry. - Tone: Quiet, warm, unhurried; short declarative sentences with the precision of a field notebook; luxury expressed through restraint and light, never superlatives. ## Stack - Framework: Vite 5 + React 18 + TypeScript - Styling: Tailwind CSS 3.4 - Libraries: tailwindcss (MIT), motion (MIT), lucide-react (ISC), @fontsource/fraunces (OFL), @fontsource/work-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 safari-lodge-website -- --template react-ts; add [email protected], postcss and autoprefixer as dev dependencies; add motion, lucide-react, @fontsource/fraunces and @fontsource/work-sans as dependencies. - vite.config.ts: base './', build.sourcemap false, build output dist/. - tailwind.config.js: extend colors charcoal #1C1A16, charcoal-raised #26231D, fieldline #3A372F, ochre #C98A3B, ochre-light #E4B36A, olive #6E6F4C, bone #EFE7D8, sandmist #A79C88; fontFamily display 'Fraunces' and sans 'Work Sans'; set the default borderRadius to 2px (rounded-sm). - postcss.config.js: tailwindcss + autoprefixer. - Warm grain overlay: in src/index.css define .grain-overlay as a fixed, inset-0, pointer-events-none layer with opacity 0.08, mix-blend-mode soft-light and a repeating background-image built from an inline SVG data URI (feTurbulence type fractalNoise, baseFrequency 0.8, 280px tile); render it once in App above every page and photograph — this warm grain is the signature of the site. - src/lib/motion.ts: shared Motion variants — reveal (opacity 0→1, y 26→0, 700ms cubic-bezier(0.16,1,0.3,1), 90ms stagger, whileInView once), hoverLift (y -2px, 200ms) — with useReducedMotion falling back to plain 200ms opacity fades. - src/components/Timeline.tsx: the vertical day rail — a 1px fieldline track with five 10px ochre dots that fill as their stop crosses 45% of the viewport (IntersectionObserver, once per stop, 200ms). - Keep every user-facing string (brand, conservancy, suites, rates, timeline stops, experiences, inquiry copy, contact email) in src/content.ts; sections read from it so values swap in one place. - index.html: <title>[BRAND] — Safari Lodge, [REGION]</title> plus a drawn-in-code favicon.svg (a simple ochre acacia-tree silhouette on the charcoal ground); no other meta work. ## Variables - [BRAND] — Lodge name (default: "Mopane Reach"). Invented lodge name used for the wordmark, page title, day-at-the-lodge heading and contact email ([email protected], from content.ts). - [REGION] — Conservancy name (default: "Karoha Conservancy"). The invented private conservancy the lodge sits in — hero label, intro copy and footer line. - [SUITES] — Number of suites (default: "8"). Small-lodge promise in the hero and intro strip ('[SUITES] tented suites'); the gallery shows three of them. - [RATE_FROM] — Starting nightly rate (default: "$740"). High-season starting rate — hero sub-line ('stays from [RATE_FROM] per suite, per night') and the Dry season column in the rates table. - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/safari-lodge-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.
Pro 模板
解锁完整提示词和源码
- 完整提示词:设计、版块、动效、素材
- 每个在线演示的源码
- 商用授权
在线演示和 DESIGN.md 仍然免费。
DESIGN.md
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Safari Lodge Website"
colors:
charcoal: "#1C1A16"
charcoal_raised: "#26231D"
field_line: "#3A372F"
ochre: "#C98A3B"
ochre_light: "#E4B36A"
olive: "#6E6F4C"
bone: "#EFE7D8"
sand_mist: "#A79C88"
typography:
display_headlines_suite_names_timeline_stop_titles_refined_serif: { family: "Fraunces", weights: [500, 600] }
text_body_copy_table_cells_form_labels_uppercase_section_labels_tracked_0_16em: { family: "Work Sans", weights: [400, 500, 600] }
spacing: "Wide and slow: sections py-32 (128px) desktop / py-20 (80px) mobile; content max-w-6xl px-6/px-10; photos bleed full-width; 1px fieldline hairlines carry structure instead of boxes."
radius: "Almost square: 2px on images, cards, buttons and inputs — the cinematic look depends on it; nothing rounder anywhere."
---
# Safari Lodge 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
- **Charcoal** `#1C1A16` — Page ground everywhere — warm near-black, never pure #000; base of the hero scrim.
- **Charcoal raised** `#26231D` — Rates table header, suite card hovers, inquiry panel ground.
- **Field line** `#3A372F` — Hairlines, table rules, timeline track, card borders — structure instead of shadows.
- **Ochre** `#C98A3B` — Primary golden accent: section labels, prices, timeline dots, active chips, the CTA underline.
- **Ochre light** `#E4B36A` — Hover and emphasis states on ochre: link hover, price emphasis, the active timeline stop's time.
- **Olive** `#6E6F4C` — Secondary accent: suite tags, experience icons' color, the 'sample data' chips.
- **Bone** `#EFE7D8` — Primary text — warm off-white for headlines and body on charcoal.
- **Sand mist** `#A79C88` — Secondary text: intros, captions, meta rows, table body copy.
## Typography
- **Display — headlines, suite names, timeline stop titles (refined serif)** — Fraunces (OFL), weights 500/600. Self-host the font files.
- **Text — body copy, table cells, form labels, uppercase section labels (tracked 0.16em)** — Work Sans (OFL), weights 400/500/600. Self-host the font files.
## Spacing & shape
- Spacing: Wide and slow: sections py-32 (128px) desktop / py-20 (80px) mobile; content max-w-6xl px-6/px-10; photos bleed full-width; 1px fieldline hairlines carry structure instead of boxes.
- Radius: Almost square: 2px on images, cards, buttons and inputs — the cinematic look depends on it; nothing rounder anywhere.
## Motion
- Hero: the photograph scales 1.05→1 over 3s on load and parallaxes at 0.12 of scroll (capped 14%); the bottom scrim deepens slightly as the headline settles.
- Reveals: sections, cards and table rows fade up (y 26→0, 700ms cubic-bezier(0.16,1,0.3,1)) with 90ms stagger via Motion whileInView, once.
- Day timeline: each dot fills ochre (200ms) as its stop crosses 45% of the viewport, and that stop's time label brightens to ochre light; past dots rest at 50% ochre.
- Suite and experience cards hover-lift 2px and turn their fieldline border to ochre (200ms); arrows nudge 2px.
- Inquiry chips toggle to ochre ground with charcoal text (200ms); steppers tick with a small y-bounce.
- The grain overlay never animates — it is the constant of the page.
- prefers-reduced-motion: parallax and load zoom off, all reveals become plain 200ms opacity fades, timeline dots fill without transition.
## Imagery
One shoot, one hour of light: cinematic golden-hour landscape photography — warm ochre sun low over olive bush and charcoal shadow, hazy amber skies, backlit dust, visible warm grain, wide filmic compositions. Animals only distant in frame; people at most a ranger silhouette from behind; no identifiable faces, no text, no logos. The six photographs are generated by VibeFather, downloaded into public/images, with the warm grain overlay sitting over them too.
## Tone
Quiet, warm, unhurried; short declarative sentences with the precision of a field notebook; luxury expressed through restraint and light, never superlatives.
---
— Prompt by VibeFather · https://vibefather.ai/t/safari-lodge-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 一个私人保护区营地:将 BRAND 和 REGION 设置为你自己的,保留保护区横条并围绕你的土地护理工作重写,将 SUITES 设置为你真实的帐篷数量。
- 一个摄影游猎营地:保留黄金时刻首屏和一日时间线,将体验卡片替换为摄影掩体和黄金时刻巡游,并在价格表中定价。
- 一个小团体帐篷营地:将 SUITES 设低,围绕共享露台重写套房图库,并将旱季列调整为你的团体每晚价格。
- 一个荒野度假村工作室推介:将四个变量和内容文件交给客户,然后在发布前将套房图库和一日时间线替换为他们自己的物业。
野生动物营地网站:常见问题
如何在野生动物营地网站模板中更改营地名称、保护区和每晚价格?
野生动物营地网站模板将所有面向用户的字符串放在一个内容文件中,因此你在那里设置 BRAND 为营地名称、REGION 为保护区、SUITES 为套房数量、RATE_FROM 为起始每晚价格。文字标识、页面标题、首屏副标题、营地一日标题、价格表和联系邮箱都读取这些值,因此布局中无需编辑任何内容。
怎么用 AI 做一个野生动物营地网站?
复制本页的完整提示词(Pro),或者运行 npx vibefather add safari-lodge-website,把 [BRAND]、[REGION]、[SUITES]、[RATE_FROM] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。