跳到正文
VibeFather
免费注册

用这个模板做的 4 个案例

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

关于这个模板

Tidestone 是一个面向小型独立酒店的三页网站模板:首页、客房页和本地指南。它的设计目标是让人感觉这是一家明天就能开门迎客的酒店,而不是一块情绪板。默认内容描述了一家位于花岗岩海岬上的24间客房酒店,包含三种房型、餐厅和酒吧、季节性优惠、住客评价、常见问题解答,以及带手绘地图的联系区块。

它适合为客栈、旅店和小型酒店建站的自由职业者,也适合想要一个沉稳可信、不带预订平台风格的网站的业主。核心是一个客户端预订小部件:带不可预订日期的双月日期范围日历、遵循每间客房容量限制的住客步进器、房间选择器、包含周末附加费和当地税费的每晚价格明细,以及带参考码的确认页面。所有功能都在浏览器中运行,因此你之后可以把确认步骤接到酒店现有的任何预订系统上。

设计风格是安静的海岸编辑风。温暖的米白色纸张底色、深海板岩墨色和单一的风化铁锈色点缀;大号 Cormorant Garamond 展示字体搭配 Hanken Grotesk 正文,IBM Plex Mono 用于价格和代码。全出血的公共领域和 CC0 海岸照片,与客房、餐厅、早餐和酒吧的对应室内照片并置。小型大写标签、细线分隔和不规则的图文分栏让长页面易于浏览。动效缓慢而克制:淡入上升显现,以及照片带上的轻微缩放,在减少动态效果模式下全部关闭。

要改编它,请更改酒店名称、地点、物业描述和货币。提示词将所有文案放在一个内容文件中,因此房型名称、价格、菜单菜品、指南条目和常见问题解答可以一次性重写,而布局保持不变。

模板提示词

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

# Boutique Hotel Website

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

## Brief
A three-page static website for [BRAND], a [STAY] above [PLACE]. It must feel like a real, operating hotel: real coastal photographs and matching interior photographs, a rooms catalogue with sizes, capacities, nightly rates in [CURRENCY] and amenities, a client-side availability and booking widget (date-range calendar, guests, room choice, price summary, fake confirmation with reference code), the restaurant and bar with opening hours and menu highlights, seasonal offers, guest reviews, an FAQ, contact details and a map drawn in SVG, plus a local guide page with an interactive SVG map. Pages: index.html (home), rooms.html (rooms and rates), guide.html (local guide).

- Audience: Couples and small families planning a two-to-four-night coastal break, who want to see the rooms, know the exact price and check dates before they commit; plus walkers and food travellers looking for a quiet base.
- Goal: Get a visitor from the first photograph to a priced, date-checked booking request in as few steps as possible, while showing enough of the rooms, food and surroundings to make the stay feel worth it.
- Tone: Calm, specific and warm. Short declarative sentences, concrete facts (sizes, times, distances, prices), dry understatement instead of superlatives. Never 'luxury', 'unforgettable', 'nestled' or 'hidden gem'.

## 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), @fontsource/cormorant-garamond (OFL-1.1), @fontsource-variable/hanken-grotesk (OFL-1.1), @fontsource/ibm-plex-mono (OFL-1.1), @vitejs/plugin-react (dev) (MIT), tailwindcss, postcss, autoprefixer (dev) (MIT), typescript (dev) (Apache-2.0)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Scaffold with Vite's react-ts template. package.json scripts: dev = vite, build = tsc -b && vite build, preview = vite preview.
  - vite.config.ts: plugins [react()], base './', build.sourcemap false, build.outDir 'dist', build.rollupOptions.input = { main: 'index.html', rooms: 'rooms.html', guide: 'guide.html' } (resolve each with path.resolve(__dirname, ...)).
  - Three HTML entry files at the project root (index.html, rooms.html, guide.html), each with <title>[BRAND] · Home|Rooms & rates|Local guide</title>, <link rel='icon' href='./favicon.svg' type='image/svg+xml'>, a <div id='root'>, and a module script pointing to src/entries/home.tsx, src/entries/rooms.tsx or src/entries/guide.tsx.
  - src/main.css: @tailwind base/components/utilities; import the fonts there or in src/fonts.ts: @fontsource/cormorant-garamond/400.css, 500.css, 600.css, 400-italic.css; @fontsource-variable/hanken-grotesk; @fontsource/ibm-plex-mono/400.css, 500.css.
  - tailwind.config.ts: content ['./index.html','./rooms.html','./guide.html','./src/**/*.{ts,tsx}']; theme.extend.colors = { paper:'#F4EFE6', shell:'#EAE3D6', ink:'#1F2A30', slate:'#46565E', mist:'#8B979B', rule:'#D3CABB', rust:'#B5532E', 'rust-deep':'#8F3F21', sea:'#DCE4E3', night:'#172126', kelp:'#56634B' }; fontFamily = { display:['"Cormorant Garamond"','Georgia','serif'], sans:['"Hanken Grotesk Variable"','system-ui','sans-serif'], mono:['"IBM Plex Mono"','ui-monospace','monospace'] }; letterSpacing.label = '0.18em'.
  - All copy, rates, room data, menu items, offers, reviews, FAQ, guide places and map pin coordinates live in one file, src/content.ts, exported as typed constants. Components read only from it. When the variable values differ from the defaults, rewrite all copy in content.ts to fit the new brand, place and property while keeping the same structure, counts and lengths.
  - Shared components in src/components: Header, Footer, Reveal (motion wrapper), PhotoBand, BookingWidget (with Calendar, GuestStepper, RoomPicker, PriceSummary, Confirmation), BookingDrawer, Accordion, CoastMap (SVG), SectionLabel.
  - Booking logic in src/lib/booking.ts as pure functions: isUnavailable(date, roomIndex), nightsBetween, priceFor(roomId, checkIn, checkOut, adults, children), referenceCode(input). Dates are handled as local YYYY-MM-DD strings; no date library.
  - Images live in public/images (downloaded files, see Assets) and are referenced as ./images/<file>. public/favicon.svg is a 32x32 rust (#B5532E) rounded square (rx 7) with three paper-coloured horizontal wave strokes.
  - Write ASSETS.md at the project root listing every third-party file: path, source URL, author, license. Add a README.md with npm install / npm run dev / npm run build.

## Variables
- [BRAND] — Hotel name (default: "Skerry House"). Invented property name. Used in the wordmark, page titles, copy and the booking reference prefix.
- [PLACE] — Location (default: "Porthkell Head"). Invented headland, village or valley. Used in copy, the guide and the map labels.
- [STAY] — Property (default: "24-room hotel on a granite headland"). What the place is, with its room count. Room counts in the catalogue must add up to this number.
- [CURRENCY] — Currency symbol (default: "€"). Symbol used for every rate and total. Place it the way the currency is normally written (€165, 1 650 kr).
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/boutique-hotel-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: "Boutique Hotel Website"
colors:
  paper: "#F4EFE6"
  shell: "#EAE3D6"
  ink: "#1F2A30"
  slate: "#46565E"
  mist: "#8B979B"
  rule: "#D3CABB"
  rust: "#B5532E"
  rust_deep: "#8F3F21"
  sea: "#DCE4E3"
  night: "#172126"
  kelp: "#56634B"
typography:
  display_h1_desktop_88px_line_height_0_98_tracking_0_01em_mobile_48px_h2_desktop_56px_1_04_mobile_36px_h3_room_and_section_names_32px_1_1_pull_quotes_and_review_quotes_italic_400_30px_desktop_24px_mobile: { family: "Cormorant Garamond", weights: [400, 500, 600] }
  text_body_17px_1_65_mobile_16px_ui_15px_weight_500_buttons_15px_weight_600_small_caps_section_labels_12px_weight_600_uppercase_tracking_0_18em_in_rust: { family: "Hanken Grotesk", weights: [400, 500, 600] }
  mono_rates_sizes_in_the_spec_tables_opening_hours_distances_map_pin_numbers_and_the_booking_reference_code_14px_weight_400_500_tabular_figures: { family: "IBM Plex Mono", weights: [400, 500] }
spacing: "8px base unit. Content max-width 1240px with 32px side padding on desktop and 20px on mobile; 12-column grid with 24px gutters. Section vertical padding 128px desktop / 80px mobile. Stack headline to body 24px, body to CTA 32px. Hairline rules (1px Rule) separate sections inside the same background; labels sit 16px above headlines."
radius: "Mostly square and editorial: photographs 0px, cards and table containers 2px, inputs and calendar days 2px, buttons 999px pill, filter chips 999px pill, drawer 0px on desktop and 16px top corners on mobile bottom sheet."
---

# Boutique Hotel 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
- **Paper** `#F4EFE6` — Page background, header after scroll, drawer and calendar background
- **Shell** `#EAE3D6` — Alternate section background (rooms preview, offers, FAQ), input fields, calendar range fill
- **Ink** `#1F2A30` — Headlines and body text, primary outline buttons, selected calendar day fill
- **Slate** `#46565E` — Secondary text, captions, table values
- **Mist** `#8B979B` — Muted text, disabled and unavailable calendar days, placeholder text
- **Rule** `#D3CABB` — 1px hairline rules, card borders, table lines, accordion dividers
- **Rust** `#B5532E` — The only accent: primary CTA fill, small-caps labels, map hotel pin, active filter chip, focus ring
- **Rust deep** `#8F3F21` — Primary CTA hover and pressed state
- **Sea** `#DCE4E3` — Sea fill and contour lines in the SVG maps
- **Night** `#172126` — Footer background, photo gradient overlays (at 0-70% opacity)
- **Kelp** `#56634B` — 'Available' status dot and text in the room picker

## Typography
- **Display: H1 (desktop 88px / line-height 0.98 / tracking -0.01em, mobile 48px), H2 (desktop 56px / 1.04, mobile 36px), H3 room and section names (32px / 1.1), pull quotes and review quotes (italic 400, 30px desktop / 24px mobile)** — Cormorant Garamond (OFL), weights 400/500/600. Self-host the font files.
- **Text: body 17px / 1.65 (mobile 16px), UI 15px weight 500, buttons 15px weight 600, small-caps section labels 12px weight 600 uppercase tracking 0.18em in Rust** — Hanken Grotesk (OFL), weights 400/500/600. Self-host the font files.
- **Mono: rates, sizes in the spec tables, opening hours, distances, map pin numbers and the booking reference code, 14px weight 400/500, tabular figures** — IBM Plex Mono (OFL), weights 400/500. Self-host the font files.

## Spacing & shape
- Spacing: 8px base unit. Content max-width 1240px with 32px side padding on desktop and 20px on mobile; 12-column grid with 24px gutters. Section vertical padding 128px desktop / 80px mobile. Stack headline to body 24px, body to CTA 32px. Hairline rules (1px Rule) separate sections inside the same background; labels sit 16px above headlines.
- Radius: Mostly square and editorial: photographs 0px, cards and table containers 2px, inputs and calendar days 2px, buttons 999px pill, filter chips 999px pill, drawer 0px on desktop and 16px top corners on mobile bottom sheet.

## Motion
- Reveal: section content fades and rises (opacity 0 to 1, y 24px to 0, duration 0.9s, ease [0.22, 1, 0.36, 1]) once when 30% in view, via motion's whileInView with viewport { once: true, amount: 0.3 }. Card groups stagger children by 0.08s.
- Hero photo: on load scales from 1.08 to 1.0 over 1.6s with ease [0.22, 1, 0.36, 1]; the headline and booking bar reveal 0.3s and 0.5s after.
- PhotoBand: full-bleed photo inside overflow-hidden wrapper; useScroll on the wrapper (offset ['start end','end start']) maps progress 0 to 1 onto image scale 1.12 to 1.0 and y -4% to 4%.
- Header: transparent with paper text over the hero; after 80px of scroll it transitions (300ms) to Paper background, Ink text and a 1px Rule bottom border.
- Image cards: on hover the photo scales to 1.04 over 600ms and the 'View room' link's arrow shifts 4px right.
- Accordion: height and opacity animate over 0.35s; the plus icon rotates 45 degrees.
- BookingDrawer: desktop slides in from the right (x 100% to 0, 0.45s) over a Night 50% backdrop; mobile slides up as a bottom sheet (y 100% to 0). Escape key, backdrop click and the close button dismiss it; focus is trapped inside while open and the body does not scroll.
- Calendar: selected range fills with Shell, start and end days fill Ink with Paper text; hovering a day after choosing check-in previews the range. Price summary numbers cross-fade (0.2s) when they change.
- prefers-reduced-motion: disable all transforms and scroll-linked effects (use useReducedMotion), keep content visible immediately; drawer appears without sliding.

## Imagery
Real photographs only for the coast and the house; everything else is drawn in code. Coast: five public-domain / CC0 photographs of granite cliffs, a sea stack, tide pools and a cove (listed in Assets). House: six matching interior photographs generated for this template (three room types, dining room, breakfast, bar) in a muted palette of off-white, oak, slate blue and rust. Photographs are always full-bleed or edge-to-edge inside their grid columns, never with drop shadows or rounded corners. Captions in 13px Slate sit 12px below images with a mono index ('01', '02'). No people's faces as hero images. Maps, the wordmark mark, the favicon and dividers are SVG. Icons are Lucide at 18px, stroke 1.5, in Slate.

## Tone
Calm, specific and warm. Short declarative sentences, concrete facts (sizes, times, distances, prices), dry understatement instead of superlatives. Never 'luxury', 'unforgettable', 'nestled' or 'hidden gem'.

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

改成你自己的

  • 海岸客栈:将 BRAND 和 PLACE 设为该物业,用你自己的价格以 CURRENCY 重写客房目录,并将餐饮部分缩减为仅早餐。
  • 岛屿桑拿度假村:将 STAY 改为描述小木屋和桑拿,用你的小木屋类型替换客房目录,并将指南页指向海岸线和森林步道。
  • 家庭经营的乡村旅店:将 BRAND 设为旅店,围绕厨房菜品重写菜单亮点,并保留预订小部件用于餐桌和房间咨询。
  • 自由网页设计师的酒店业作品集:保留布局,将酒店文案替换为案例研究,并将预订小部件用作你所交付成果的可运行演示。

精品酒店网站:常见问题

精品酒店网站模板上的预订小部件实际是如何工作的?

精品酒店网站模板包含一个客户端预订小部件:带不可预订日期的双月日期范围日历、受每间客房容量限制的住客步进器、房间选择器、包含周末附加费和当地税费的每晚价格明细,以及带参考码的确认页面。所有功能都在浏览器中运行,没有后端,因此确认步骤是一个占位符,你之后可以将其连接到酒店现有的预订系统。

怎么用 AI 做一个精品酒店网站?

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