跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

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

关于这个模板

滑雪场网站是一个四页站点,面向虚构的山地度假村,围绕游客在滑雪旅行前要做出的决策来构建。首页将一张全景高山照片与标注清晰的示例雪况报告搭配,然后进入原创的交互式 SVG 雪道地图。难度筛选、可选雪道、缆车状态和路线详情让地图真正有用,而不只是装饰。专门的票务与租赁、课程和住宿页面延续同样的规划旅程,配有可用的客户端计算器和请求状态。

视觉系统结合了冷调雪白、深云杉绿、冰蓝和克制的雪道难度色。Bricolage Grotesque 让标题呈现自信的编辑感造型,而 Inter 和 IBM Plex Mono 让价格、标签和山地数据易于扫读。大幅摄影、精细等高线、紧凑的数据条和简短的入场过渡,赋予网站精致的高山气质,又不模仿任何现有度假村。

这个模板适合滑雪场、单板滑雪度假村、冬季静修地和山地酒店业者,他们需要在同一个连贯体验中说明雪况、地形、价格、教学和住宿。所有雪况和可订状态均为明确示意;没有后端、实时数据源、支付流程或真实预订。票务估算器、课程查找器、住宿报价、筛选器、手风琴和移动端导航全部在本地运行。

默认设置描述的是位于虚构的科罗拉多州 Juniper Valley 的 Alderpeak Resort。五个变量控制品牌、位置、首屏标语、目标人群和成人单日票价。第二个案例可以变成更安静的家庭山地度假村,同时保留相同结构。文案、价格、雪道数据、常见问题和图片引用都放在一个带类型的内容文件中,因此调整度假村无需重构组件。六张协调生成的摄影图片已下载到项目中,并配有原创代码绘制的雪道地图以及本地图标和字体。

模板提示词

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

# Ski Resort Website

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

## Brief
Build a four-page static website for [BRAND], an invented ski resort in [LOCATION], for [AUDIENCE]. The hero uses the line [TAGLINE]. The site includes a clearly labeled sample mountain conditions report, an original interactive SVG trail map with difficulty filters and selectable route details, lift-ticket and rental pricing with working browser-only estimators, a lesson finder and request form, and lodging with a stay estimate. Pages are index.html, tickets.html, lessons.html and lodging.html. Every internal link uses a real file name. All conditions, availability, prices and requests are illustrative and local; nothing is live, charged, booked or sent.

- Audience: The visitor audience is [AUDIENCE]: people comparing terrain, weather, lesson options, equipment and the total cost of a mountain trip on desktop or mobile. The template itself suits resort operators and hospitality marketers who need a concrete planning experience rather than a brochure.
- Goal: Let a visitor understand the mountain within ten seconds, find an appropriate trail, estimate tickets and equipment, choose a lesson, and price a stay without encountering a dead control or an invented live-service claim.
- Tone: Clear, capable and quietly warm, like a good mountain host. Use precise terrain, times, inclusions and prices. Avoid luxury clichés, exaggerated powder claims, fake urgency and exclamation marks. All site copy is US English.

## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: react (MIT), react-dom (MIT), motion (motion.dev, import from 'motion/react') (MIT), lucide-react (ISC), tailwindcss (MIT), postcss (MIT), autoprefixer (MIT), vite (MIT), @vitejs/plugin-react (MIT), typescript (Apache-2.0), @fontsource-variable/bricolage-grotesque (OFL-1.1), @fontsource-variable/inter (OFL-1.1), @fontsource/ibm-plex-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Scaffold with npm create vite@latest using the react-ts template. Keep four root HTML entry files: index.html, tickets.html, lessons.html and lodging.html. Each loads /src/main.tsx and sets body data-page to home, tickets, lessons or lodging; main.tsx selects the matching page component without a router.
  - vite.config.ts: base './', plugins [react()], build.outDir 'dist', build.sourcemap false, assetsInlineLimit 0, and rollupOptions.input containing absolute resolved paths to all four root HTML files. Do not copy src/ into dist/.
  - Tailwind 3.4 through PostCSS with content covering all root HTML files and src/**/*.{ts,tsx}. Add every Design color as a kebab-case theme color, fontFamily display ['Bricolage Grotesque Variable','system-ui','sans-serif'], sans ['Inter Variable','system-ui','sans-serif'], mono ['IBM Plex Mono','monospace'], and a 1360px container.
  - In src/fonts.ts import '@fontsource-variable/bricolage-grotesque', '@fontsource-variable/inter', '@fontsource/ibm-plex-mono/400.css' and '@fontsource/ibm-plex-mono/500.css'. Import fonts and src/index.css from main.tsx.
  - Put every visible string, price, time, trail record, lift record, condition, FAQ, image path and variable default in typed src/content.ts. Derive brandSlug by lowercasing [BRAND] and replacing non-alphanumeric runs with hyphens; derive the fictional email as hello@ plus brandSlug without hyphens plus .example. Components contain no hard-coded default-brand copy.
  - Use src/pages/Home.tsx, Tickets.tsx, Lessons.tsx and Lodging.tsx. Shared components include Header, Footer, Reveal, SectionHeading, Accordion and PhotoFrame. Feature components include ConditionsBar, TrailMap, TicketEstimator, RentalPicker, LessonFinder, LessonRequest and StayEstimator. Keep all calculations in pure functions with whole-dollar rounding.
  - Before building, download the six exact image URLs under Assets into public/images/ using the specified file names. Reference them as ./images/<file> from content.ts so all four root-level pages resolve them under Vite base './'. The build never fetches assets.
  - Create public/favicon.svg as described under Assets. Each HTML file gets lang='en', a local favicon link and a plain title: '[BRAND] — [TAGLINE]' on index, and '[BRAND] — Lift Tickets & Rentals', '[BRAND] — Ski & Snowboard Lessons', or '[BRAND] — Lodging' on the others.
  - Write ASSETS.md at the project root with every image, font and icon package, its source, author and license exactly as described under Assets.
  - The production dist/ must contain all four HTML files, hashed local JS/CSS, woff2 fonts, favicon.svg and the six local images, with no source maps and a total size under 20 MB.

## Variables
- [BRAND] — Resort name (default: "Alderpeak Resort"). An invented resort name used in the wordmark, titles, footer, sample email and localStorage key prefixes. Never use a real resort or VibeFather.
- [LOCATION] — Resort location (default: "Juniper Valley, Colorado"). An invented town or valley with a real state. Used in the hero, lodging address, directions and footer.
- [TAGLINE] — Hero tagline (default: "Find your line above the valley."). A short resort-specific sentence used as the homepage H1 and adapted for alternate values.
- [AUDIENCE] — Primary visitors (default: "Skiers, snowboarders, and mountain families"). A plain-language audience phrase used in introductory copy; lesson and trail recommendations should suit this audience.
- [TICKET_PRICE] — Adult day ticket (default: "129"). Digits only, in USD. Drives every ticket category and multi-day rate: teen 0.80, child 0.55, senior 0.75 of adult; two-day 1.85 and three-day 2.55 of the corresponding one-day rate; round each final per-person rate to a whole dollar.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/ski-resort-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 仍然免费。

$9/月起 · 年付和终身正在上线特惠

DESIGN.md

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

---
name: "Ski Resort Website"
colors:
  snow: "#F4F7F5"
  card: "#FFFFFF"
  frost: "#E6EFED"
  spruce: "#102E2D"
  pine: "#1D4842"
  slate: "#5E7272"
  ice: "#B9E2E5"
  sky: "#67B8C5"
  sun: "#E8AD54"
  beginner: "#2E7656"
  intermediate: "#286F9D"
  advanced: "#20292D"
  closed: "#A34F45"
  rule: "#D2DEDA"
typography:
  display_h1_h2_large_prices_room_names_and_the_text_wordmark: { family: "Bricolage Grotesque", weights: [500, 600, 700] }
  text_and_ui_body_navigation_buttons_form_labels_table_cells_and_captions: { family: "Inter", weights: [400, 500, 600] }
  technical_data_condition_values_trail_metadata_coordinates_badges_and_small_numeric_labels: { family: "IBM Plex Mono", weights: [400, 500] }
spacing: "Use an 8px base unit. Center a 12-column container at max-width 1360px with 40px desktop side padding, 28px tablet and 18px under 640px; grid gap 24px. Section padding is 104px desktop, 80px tablet and 64px mobile. H1: Bricolage Grotesque 600, clamp(48px,6.4vw,88px), line-height 0.98, letter-spacing -0.045em. Interior page H1: clamp(42px,5vw,68px), line-height 1.02. H2: clamp(32px,3.6vw,52px), line-height 1.06, letter-spacing -0.035em. H3: 24px/1.2, weight 600. Lead: Inter 18px/1.65, max 58ch. Body: Inter 16px/1.65. Eyebrow: IBM Plex Mono 500 11px uppercase, letter-spacing 0.15em. Buttons: minimum 48px high, 22px horizontal padding, Inter 600 14px. Inputs: 52px high with 16px text. Use tabular numerals for all prices and conditions. Focus-visible: 2px Sky outline with 3px offset."
radius: "18px on large photo frames and major panels, 12px on cards and inputs, 8px on small controls, and 999px only for chips, difficulty dots and stepper buttons. Use 1px Rule borders rather than heavy card shadows; only floating header and mobile menu may use a soft 0 16px 40px rgba(16,46,45,0.12) shadow."
---

# Ski Resort 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
- **Snow** `#F4F7F5` — Main page background and light text over dark photography.
- **Card** `#FFFFFF` — Calculators, map details, pricing cards, forms and accordions.
- **Frost** `#E6EFED` — Alternate sections, map land, selected soft backgrounds and disabled states.
- **Spruce** `#102E2D` — Headline and body ink, footer, primary buttons and dark overlays.
- **Pine** `#1D4842` — Secondary dark surfaces, hover fills and illustrated forest shapes.
- **Slate** `#5E7272` — Secondary copy, captions and inactive labels; never use for small text below accessible contrast.
- **Ice** `#B9E2E5` — Primary accent for selected controls, focus details, data highlights and map panels.
- **Sky** `#67B8C5` — Links on dark surfaces, active data accents and subtle icon fills.
- **Sun** `#E8AD54` — Sparse warm accent for weather, sunrise markers and sample-data badges.
- **Beginner** `#2E7656` — Beginner trail strokes, dots and labels only.
- **Intermediate** `#286F9D` — Intermediate trail strokes, dots and labels only.
- **Advanced** `#20292D` — Advanced trail strokes, diamonds and labels only.
- **Closed** `#A34F45` — Closed status text and dashed trail state; never the only status cue.
- **Rule** `#D2DEDA` — One-pixel borders, table lines, input borders and separators.

## Typography
- **Display: H1, H2, large prices, room names and the text wordmark** — Bricolage Grotesque (OFL), weights 500/600/700. Self-host the font files.
- **Text and UI: body, navigation, buttons, form labels, table cells and captions** — Inter (OFL), weights 400/500/600. Self-host the font files.
- **Technical data: condition values, trail metadata, coordinates, badges and small numeric labels** — IBM Plex Mono (OFL), weights 400/500. Self-host the font files.

## Spacing & shape
- Spacing: Use an 8px base unit. Center a 12-column container at max-width 1360px with 40px desktop side padding, 28px tablet and 18px under 640px; grid gap 24px. Section padding is 104px desktop, 80px tablet and 64px mobile. H1: Bricolage Grotesque 600, clamp(48px,6.4vw,88px), line-height 0.98, letter-spacing -0.045em. Interior page H1: clamp(42px,5vw,68px), line-height 1.02. H2: clamp(32px,3.6vw,52px), line-height 1.06, letter-spacing -0.035em. H3: 24px/1.2, weight 600. Lead: Inter 18px/1.65, max 58ch. Body: Inter 16px/1.65. Eyebrow: IBM Plex Mono 500 11px uppercase, letter-spacing 0.15em. Buttons: minimum 48px high, 22px horizontal padding, Inter 600 14px. Inputs: 52px high with 16px text. Use tabular numerals for all prices and conditions. Focus-visible: 2px Sky outline with 3px offset.
- Radius: 18px on large photo frames and major panels, 12px on cards and inputs, 8px on small controls, and 999px only for chips, difficulty dots and stepper buttons. Use 1px Rule borders rather than heavy card shadows; only floating header and mobile menu may use a soft 0 16px 40px rgba(16,46,45,0.12) shadow.

## Motion
- Define --ease-out cubic-bezier(0.22,0.61,0.36,1). Reveal major sections with Motion whileInView once: opacity 0 and translateY(20px) to rest over 600ms, 70ms sibling stagger, threshold 0.12. Never hide content when JavaScript or motion is unavailable.
- Hero image loads at scale 1.035 and settles to 1 over 1100ms; eyebrow, H1, lead and CTAs rise 18px with 70ms stagger. Do not add parallax or an auto-playing carousel.
- Header changes from transparent with Snow text over the homepage hero to Snow at 96% with Spruce text and a Rule bottom border after 32px scroll; interior pages start in the solid state. Mobile menu fades and slides down 10px over 180ms.
- Trail filters crossfade route opacity over 180ms; the selected route gains a 3px Snow under-stroke and a 160ms opacity pulse, while its detail rows rise 8px over 200ms. Closed routes remain dashed and visibly labeled.
- Calculator totals use a restrained 220ms opacity and translateY(4px) change, never a slot-machine count-up. Steppers, tabs, accordion panels and selected cards animate for 160–220ms with no layout jump.
- Photo frames subtly scale their image from 1 to 1.025 on hover over 450ms; captions and arrows do not move. Links grow a 1px underline from left to right over 220ms.
- With prefers-reduced-motion: reduce, disable all reveals, image scaling, slide/fade transitions, route pulses and smooth scrolling; render content immediately and retain only instant color or border feedback.

## Imagery
Use the six coordinated realistic editorial photographs listed in Assets, all with cool blue winter shadows, faint warm early-morning highlights, natural snow texture and fine grain. The homepage hero is an expansive alpine scene, not a portrait. People may appear only as distant skiers or fully helmeted, back-facing lesson participants; no close faces or identifiable individuals. No generated photo contains text, signs, logos, branded equipment or recognizable landmarks. Use object-fit: cover: hero 50% 48%, skiing 50% 45%, lesson 50% 50%, lodge 50% 55%, room 50% 52%, rentals 50% 50%. The original trail map, contour lines, lift lines, difficulty symbols, favicon and village map are hand-written SVG in code, never traced from a real resort. Use lucide-react icons at 1.6px stroke and 18–22px; do not substitute emoji.

## Tone
Clear, capable and quietly warm, like a good mountain host. Use precise terrain, times, inclusions and prices. Avoid luxury clichés, exaggerated powder claims, fake urgency and exclamation marks. All site copy is US English.

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

改成你自己的

  • 精品高山旅馆:将 BRAND 和 LOCATION 设为你的物业,把雪道地图换成当地滑雪登山路线,并将缆车票估算器替换为客房和早餐价格。
  • 单板公园和地形学校:保留雪道地图筛选器,将雪道难度改为公园地形特征,并围绕自由式教学和设备租赁改写课程查找器。
  • 地区旅游局:将 AUDIENCE 设为首次冬季访客,把住宿替换为周边住宿,并用雪况报告引导人们前往多座山。
  • 山地向导公司:保留雪况栏,将缆车票替换为向导日费,并把课程请求表单改为私人向导预订咨询。

滑雪场网站:常见问题

滑雪场网站模板里的交互式雪道地图是怎么工作的?

滑雪场网站模板包含一张原创的交互式 SVG 雪道地图,支持难度筛选、可选雪道、缆车状态和路线详情。游客可以按雪道难度筛选、点击雪道查看详情,并查看哪些缆车正在运行。地图由代码绘制而非图片,因此雪道数据、难度评级和缆车状态都放在同一个带类型的内容文件中,你编辑它就能匹配自己的山。

怎么用 AI 做一个滑雪场网站?

复制本页的完整提示词(Pro),或者运行 npx vibefather add ski-resort-website,把 [BRAND]、[TAGLINE]、[AUDIENCE]、[LOCATION] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。