跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

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

关于这个模板

一个精酿鸡尾酒吧的双页网站:首页以琥珀烛光下的空间开场,展示酒吧的承诺和订座按钮;酒单按烈酒分类(金酒、威士忌、龙舌兰、无酒精),每款配一句实在的介绍和价格;一张调酒师工作照作为酒单的视觉锚点;三张空间照片(皮质卡座、后吧台、露台);四个定期活动之夜(以星期命名,不标日期)和一条信任背书;到访页包含营业时间与当前营业状态指示、包场咨询(人数、场合——纯前端)和订座流程(人数、日期选项、座位区域偏好),确认信息在前端完成。默认内容虚构了一家地下酒吧,但结构适用于任何暗调饮酒或听音酒吧——葡萄酒、梅斯卡尔、爵士:改掉名字、城市和烈酒列表,每一行酒单依然读得通。视觉风格为琥珀暗调:近黑色表面、烛光琥珀色、一条黄铜细线、Oswald 高瘦标题字搭配 Karla 正文、酒具摄影和小型大写字母的酒单排版,配以舒缓的淡入效果。摄影展示空间、酒具、空白标签的酒瓶和一位 AI 生成的虚构调酒师工作照——没有顾客面部。要适配它,只需替换变量并在一个内容文件中重写文案。

模板提示词

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

# Cocktail Bar Website

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

## Brief
A two-page website for [BAR], a cocktail bar in [NEIGHBORHOOD], [CITY] — drinks built on [SPIRITS], open six nights. It must feel like the room after your eyes adjust: an amber-candle hero with the promise and a book CTA, a spirit-grouped menu with honest lines, a bartender-at-work anchor photo, the room in three photographs, four recurring event nights, private hire enquiry and a table booking flow — both client-side. Pages: index.html, visit.html. Everything runs in the browser; nothing is submitted anywhere.

- Audience: After-work drinkers choosing tonight's bar and weekend groups planning ahead: 25–45, phone in hand, allergic to venues that shout. They want the room's vibe, the drinks' credibility, and a table in three taps.
- Goal: Fill the tables and the hire calendar. Within ten seconds a visitor feels the room and sees 'book a table'; within two minutes they've read the menu and checked the nights.
- Tone: Low-voice confident, dry wit between the drinks. Real ingredients, real minutes, no 'mixology journey'. One joke at the zero-proof section's expense — reversed.

## 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 (MIT), tailwindcss (MIT), postcss (MIT), autoprefixer (MIT), vite (MIT), @vitejs/plugin-react (MIT), typescript (Apache-2.0), @fontsource/oswald (OFL-1.1), @fontsource-variable/karla (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. Two real HTML pages at the project root: index.html (entry src/main-home.tsx) and visit.html (entry src/main-visit.tsx).
  - vite.config.ts: base './', plugins [react()], build { outDir 'dist', sourcemap false, assetsInlineLimit 0, rollupOptions { input { index: resolve(__dirname, 'index.html'), visit: resolve(__dirname, 'visit.html') } } }. Do not copy src/ into dist/.
  - Tailwind 3.4 through PostCSS, content ['./index.html', './visit.html', './src/**/*.{ts,tsx}']. In tailwind.config.ts add every color under Design to theme.extend.colors with kebab-case keys (noir, coal, candle, amberglow, bone, ash, brass, rule) and fontFamily display ['Oswald', 'Arial Narrow', 'sans-serif'], sans ['Karla Variable', 'system-ui', 'sans-serif']. Set borderRadius DEFAULT to 4px and add maxWidth { container: '1140px' }.
  - In src/fonts.ts import '@fontsource/oswald/400.css', '@fontsource/oswald/600.css' and '@fontsource-variable/karla'; import src/fonts.ts and src/index.css from both entry files.
  - File layout: src/content.ts (every string, drink, price, event, hour, room caption and image path, typed), src/lib/brand.ts (barSlug = [BAR] lowercased with every run of non-alphanumeric characters replaced by '-', emailDomain = barSlug without hyphens + '.com', phoneDigits for tel:), src/lib/storage.ts (safe localStorage get/set wrapped in try/catch, keys prefixed with barSlug + ':'), src/lib/useOpenNow.ts (open-now from the hours table and the client clock).
  - State: src/store/booking.ts is a tiny external store (useSyncExternalStore) holding { kind: 'table' | 'hire', party, day, area, occasion, capacity, name, email, sent } persisted to localStorage key barSlug + ':request'. Both forms write the same store; the confirmation reads from it.
  - Components in src/components/: Header.tsx, Reveal.tsx (Motion whileInView wrapper), Eyebrow.tsx, Footer.tsx; home: Hero.tsx, MenuBoard.tsx (SpiritGroup.tsx, DrinkRow.tsx), BartenderAnchor.tsx, RoomStrip.tsx (RoomPhoto.tsx), Events.tsx (NightCard.tsx), TrustStrip.tsx; visit: HoursBlock.tsx (OpenNowPill.tsx), TableBooking.tsx (PartyStepper.tsx, DayChips.tsx, AreaPicker.tsx), HireForm.tsx, RequestCard.tsx (shared confirmation). src/pages/Home.tsx and Visit.tsx compose them; both pages render Header and Footer.
  - Before the first build, download every image listed under Assets into public/images/ with curl -L -o using the exact file names given. The build itself never fetches anything.
  - public/favicon.svg as described under Assets. Both HTML files: lang en, <meta name='theme-color' content='#12100D'>, <link rel='icon' href='./favicon.svg' type='image/svg+xml'>. Titles: index.html '<title>[BAR] — Cocktails in [NEIGHBORHOOD], [CITY]</title>', visit.html '<title>Book & visit — [BAR]</title>'.
  - Write ASSETS.md at the project root as described under Assets.
  - dist/ holds the two HTML files, hashed JS/CSS, the woff2 fonts, favicon.svg and the six images. Keep it under 10 MB.

## Variables
- [BAR] — Bar name (default: "The Amber Room"). Invented bar name. Used in the wordmark, title, footer, email (hello@ + barSlug without hyphens + .com) and localStorage keys. Never a real bar.
- [CITY] — City (default: "New Orleans, Louisiana"). Where the bar is. Used in the title, hero eyebrow, directions copy and footer. Real cities fine; the street invented.
- [NEIGHBORHOOD] — Neighborhood (default: "the Warehouse District"). Lowercase article style ('the Warehouse District', 'Eastside'). Used in the title, hero line and events copy.
- [SPIRITS] — House spirits (default: "gin, rye and agave"). Three comma-separated base spirits. Drives the menu's three spirit groups (plus the zero-proof group), the hero line and one event night. Keep exactly three.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/cocktail-bar-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
- Noir `#12100D` — Page background on both pages.
- Coal `#1C1915` — Alternate section background, cards, menu board wells, hover fill.
- Candle `#262019` — Photo overlays (as rgba(38,32,25,x)), input fills, chips.
- Amberglow `#E0A458` — The one accent: prices, the book CTA, selected chips, candle dot, focus ring, brass hairlines.
- Bone `#EDE6D8` — Primary text: headlines, body, drink names.
- Ash `#9C9184` — Secondary text, captions, eyebrows, unavailable states.
- Brass `#B08A4F` — Quiet second color: section rules, group labels, small caps details, star fills.
- Rule `#322C24` — 1px hairlines, card borders, input borders, menu dividers.

### Typography
- Display: H1, H2, drink names, prices, the wordmark, event nights — Oswald tall condensed, letterspaced: Oswald (OFL), weights 400/600
- Text and UI: body, eyebrows, buttons, forms, captions; tabular numerals for prices and hours: Karla (OFL), weights 400/600/700

### Layout & motion
- Spacing: 8px base unit. Container max-width 1140px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 104px desktop, 76px under 1024px, 60px under 640px — a dark room breathes slowly. Type scale: H1 clamp(48px, 7.5vw, 104px) Oswald 600 uppercase letter-spacing 0.02em, line-height 0.96; H2 clamp(30px, 4vw, 52px) Oswald 600 uppercase; drink names Oswald 400 21px; prices Oswald 600 18px Amberglow tabular; lead Karla 400 17.5px / 1.7 Bone at 88%; body 15.5px / 1.7 (max-width 62ch); eyebrow Karla 700 11px uppercase letter-spacing 0.26em Ash; caption 12.5px Ash. Buttons: height 52px, Karla 700 13.5px uppercase letter-spacing 0.1em. Book CTA: Amberglow fill, Noir text. Secondary: 1px Bone/35% border, Bone text. Inputs: height 50px, Candle fill, 1px Rule border, Bone text, focus Amberglow border. Focus ring everywhere: 2px Amberglow outline with 3px offset.
- Radius: 4px on cards, buttons, inputs, chips and photos — dark and sharp. 999px only for pills, the candle dot and party-stepper buttons.
- Motion: Easing: --ease-out cubic-bezier(0.22, 0.61, 0.36, 1) for reveals; --ease-io cubic-bezier(0.65, 0, 0.35, 1) for form swaps and chips. Slow fades like eyes adjusting — 700–900ms, nothing snaps.
- Motion: Reveal: blocks wrapped in <Reveal> start at opacity 0, translateY(12px) and settle over 800ms --ease-out when 12% visible (Motion whileInView, viewport once). Siblings stagger 80ms.
- Motion: Hero: the room photo fades from 60% to full over 1600ms while scaling 1.04→1.0; the H1 lines rise 18px with 150ms stagger; a small candle dot pulses once (amber, 2000ms, off under reduced motion).
- Motion: Menu rows: hover slides a 1px Brass rule from the left and the price brightens Ash→Amberglow; the drink's one-liner indents 2px.
- Motion: Bartender anchor: the photo's brass frame draws once when scrolled into view; the caption crossfades in last.
- Motion: Room strip: photos parallax 4% at different rates on scroll (useScroll per frame); captions fade with their frame.
- Motion: Events: night cards reveal 60ms-staggered; the weekday chip fills Amberglow on hover.
- Motion: Booking: party stepper pops on count; day chips fill Amberglow; area picker crossfades the mini floor sketch; submitting slides the panel to RequestCard (300ms --ease-io) with a candle-flame stamp (a drawn amber flame) flickering twice before resting.
- Motion: Links: .link-draw grows a 1px currentColor underline over 300ms on hover and focus-visible.
- Motion: prefers-reduced-motion: reduce — everything renders at rest; the flame stamp is static; color/border hovers stay. Use CSS @media in index.css plus Motion's useReducedMotion in components.
- Imagery: Moody real photography, all six made for this template in one consistent style: near-dark rooms lit by candles and one amber lamp, glassware catching light, blank-labeled bottles, deep leather. One anchor photo shows the bartender at work — an AI-generated fictional person (mid-pour, warm concentration), a placeholder a real bar swaps for its own staff photo. No customer faces anywhere, no readable text or logos (bottle labels blank). Every photo uses object-fit cover with the object-position given under Assets, 4px corners, no shadow; photos on Noir get a 1px Rule outline. Captions in Karla 12.5px Ash. Drawn in code: the favicon, the candle dot, the flame stamp, chips, the mini floor sketch and the star fills. Icons: lucide-react only, stroke width 1.75.

## Pages & Sections
### Home (`index.html`)
1. **Content file and copy rules** — All copy below is written for the default values ([BAR] = The Amber Room, [CITY] = New Orleans, Louisiana, [NEIGHBORHOOD] = the Warehouse District, [SPIRITS] = gin, rye and agave). Put every string, price and list in src/content.ts and render from it; both pages share one content file. If any variable value differs, rewrite the hero, all twelve drinks, the events, room captions, hire copy and booking copy so they are specific and believable for the new bar, keeping the same structure and counts (4 menu groups × 3 drinks, 4 event nights, 3 room photos, 3 areas, 5 trust/hire facts). All drinks, staff and nights are invented. Facts: address '912 Tchoupitoulas Lane, [CITY]' invented; phone (504) 555-0186; hours Tue–Thu 17:00–01:00, Fri–Sat 17:00–02:00, Sun 16:00–23:00, Mon closed; walk-ins always; tables held 15 minutes; no minimum spend; card accepted; hire capacities: booths 12, back bar 24, whole room 60. Menu (group · drink · line · price): Gin: 'Garden Distraction' 'elderflower, cucumber, a whisper of dill — the porch, distilled' $15; 'Last Ferry' 'gin, dry vermouth, olive brine, taken seriously' $14; 'Juniper & Smoke' 'gin, lapsang syrup, lemon — campfire in a coupe' $16. Rye: 'Warehouse Sour' 'rye, honey, lemon, a float of malbec — our postcard' $15; 'Second Thoughts' 'rye, amaro, bitters — for decisions already improving' $16; 'Barrel Standard' 'rye, demerara, orange bitters — the house handshake' $14. Agave: 'Cloud Cover' 'blanco tequila, coconut, lime, sea salt — a beach in the dark' $15; 'Smoke Signal' 'mezcal, grapefruit, chili — answers on a ten-second delay' $16; 'Sundown Express' 'reposado, vermouth, burnt orange — the last one, twice' $15. Zero-proof: ' designated Driver' → 'Designated Driver' 'seedlip, tonic, grapefruit — zero proof, full effort' $10; 'Open Secret' 'roasted barley, chicory, orange peel — the sober pour regulars fight over' $10; 'Static' 'sparkling water, verjus, thyme — quiet, and proud of it' $9. Events (night · name · line): 'Wednesday · Vinyl Midweek' 'records on the turntable, no playlist, requests at the bar''s discretion'; 'Thursday · Educated Guess' 'a blind tasting flight, five pours, bragging rights'; 'Friday · Late Set' 'a trio plays two sets from nine; talking over them is discouraged politely'; 'Sunday · Slow Close' 'one bartender, the classics only, last call at ten'.
   Layout: n/a
   Motion: n/a
2. **Header (all pages)** — Left: the wordmark '[BAR]' (Oswald 600 20px uppercase letter-spacing 0.14em) linking ./index.html. Right nav (Karla 600 13px uppercase letter-spacing 0.08em): 'Menu' → ./index.html#menu, 'The room' → ./index.html#room, 'Nights' → ./index.html#nights, 'Visit' → ./visit.html; and a small Amberglow 'Book a table' → ./visit.html#book. Under 760px: wordmark + book button.
   Layout: Sticky top, height 68px, Noir/88% blur, Rule border.
3. **Hero** — Full-bleed hero-room.webp (92svh, min 620px). Eyebrow (Bone at 70%): 'COCKTAILS · [NEIGHBORHOOD] · [CITY]'. H1 two lines: 'AFTER YOUR EYES' / '*ADJUST.*' Lead (Bone at 80%, max-width 500px): 'A basement room, forty candles, and drinks built on [SPIRITS] — no shouty playlists, no minimum spend, no dress code with opinions.' Primary 'Book a table' → ./visit.html#book and secondary-on-photo 'Read the menu' → #menu. Bottom strip inside the hero on Coal/70%: 'Tue–Sun from 5pm' · 'Walk-ins welcome' · 'Tables held 15 min'.
   Layout: Photo object-position 50% 60%; overlay gradient Noir 0.5→0.15→0.92; content anchored bottom-left 120px up.
4. **Drinks menu** — Section id='menu'. Eyebrow 'THE DRINKS' and H2 'TWELVE, CHOSEN SLOWLY.' Two columns: left, the MenuBoard — four SpiritGroups (GIN / RYE / AGAVE / ZERO-PROOF labels in Oswald 600 13px letterspaced Brass) each with three DrinkRows (name + one-liner + price); right, the BartenderAnchor: bartender-pour.webp (3:4, brass frame) with caption 'Marius, mid-pour — a fictional bartender' and a note under: 'Tell him a flavor you like; he''ll bring you something with a name by the second round.' A caption line under the board: 'Prices include the ice negotiations. Zero-proof listed with the same respect.'
   Layout: Noir background. Board 7 cols with Rule hairline dividers between groups (24px gaps); anchor 4 cols offset 1 sticky top 96px. Under 1024px: stacked, anchor after the board at aspect 3:2.
5. **The room** — Section id='room'. Eyebrow 'THE ROOM' and H2 'THREE PLACES TO SIT.' RoomStrip photos with parallax: room-booths.webp 'The booths — leather, low light, decisions' (4:3); room-backbar.webp 'The back bar — forty bottles, no logos we answer to' (4:3); room-terrace.webp 'The terrace — one string bulb and the river smell' (4:3). Each with a small Brass index ('01', '02', '03').
   Layout: Coal background. Three columns 20px gap; captions under each in Karla 12.5px Ash with the Brass index; photos 4px radius, 1px Rule outline.
6. **Nights and trust** — Section id='nights'. Eyebrow 'MOST WEEKS' and H2 'FOUR NIGHTS, REPEATING.' NightCards: weekday chip (Oswald 600) + name + one-liner from the roster. Under, TrustStrip on Coal: three items with Amberglow checks — 'Walk-ins welcome, always'; 'No minimum spend, no bottle politics'; 'Card, cash and split bills without sighs'. A closing line: 'Sundays we close early; the candles have families.'
   Layout: Noir background. 2x2 grid 20px gap cards on Coal Rule-bordered; trust strip a hairline-bounded row of three; closing line centered 40px below.
7. **Footer** — Noir with a Rule top border. Three columns: 1) wordmark + '[BAR]' over 'Cocktails · [NEIGHBORHOOD] · [CITY]'. 2) 'Find us': '912 Tchoupitoulas Lane, [CITY]', (504) 555-0186 tel:, hello@ + emailDomain. 3) 'Hours': Tue–Thu 5pm–1am, Fri–Sat 5pm–2am, Sun 4pm–11pm, Mon closed. Bottom line: '© [BAR]. The ice is clear; the jokes are not.'
   Layout: Vertical padding 64px, 3 columns, bottom line 32px below a Bone/10% rule. Under 768px stacked.

### Visit (`visit.html`)
1. **Masthead and hours** — Solid header. Eyebrow 'BOOK & VISIT', H1 'COME DOWN.' Lead: 'Tables for two to eight, private hire for twelve to sixty, and a door policy that stops at ''be decent''.' HoursBlock: OpenNowPill ('Open · kitchen of ice until 1am' style from the hours table) and the week's hours with today's row on Amberglow; note 'Tables held 15 minutes; the candle clock is generous but finite.'
   Layout: Noir background, vertical padding 136px top + 48px, bottom hairline; hours block max-width 640px with Rule dividers.
2. **Table booking** — Section id='book'. Eyebrow 'A TABLE' and H2 'THREE TAPS AND A BOOTH.' The TableBooking panel on Coal: PartyStepper 2–8; DayChips (next 7 open days, weekday-named; Monday disabled 'we rest'); AreaPicker with a mini floor sketch (drawn SVG: three zones) — 'Booths (leather, low)' / 'Back bar (watch the work)' / 'Terrace (weather permitting)'; name + email; primary 'Request the table' with caption 'Saved in this browser — the real bar confirms by text. Nothing is sent here.'
   Layout: Coal section; panel max-width 620px, 28px padding, Rule border, 4px radius; sketch beside the picker 5 cols; under 760px stacked.
3. **Private hire and confirmation** — Eyebrow 'THE WHOLE ROOM' and H2 'RENT THE DARK.' HireForm: capacity select ('Booths · up to 12' / 'Back bar · up to 24' / 'The whole room · up to 60'); occasion input (placeholder 'Birthday, launch, music video — we''ve hosted two of three'); date-free window chips ('This month' / 'Next month' / 'Just exploring'); name + email; secondary 'Send the enquiry'. The shared RequestCard (either form): a candle-flame stamp flickering twice then resting, 'Request received.' (Oswald 28px), the echo ('Table for 4 · Friday · Booths' or 'Hire · the whole room · this month'), 'We reply within a day — usually with a better idea than you asked for.' and 'Change my request' returning pre-filled. Persisted in localStorage.
   Layout: Noir background; hire panel 6 cols, RequestCard shared confirmation below both forms (crossfade 300ms); under 1024px stacked.
4. **Getting here** — Three quiet lines with icons: MapPin '912 Tchoupitoulas Lane — the stairs next to the flower shop, follow the amber bulb'; TrainFront 'Two streetcar stops from the Quarter, then a short walk that builds anticipation'; Car 'Street parking after 7pm; the lot behind the brewery is kinder'. Closing line centered: 'Knock once. If Marius knocks back, it''s the right door.'
   Layout: Coal band; rows hairline-divided max-width 720px; closing line 48px below.

## Assets
- image: Template photos made for this design (free to redistribute with the template). Download each with curl -L -o into public/images/: https://media.vibefather.ai/assets/886249a6-bf32-4601-8683-a27771ad5375/hero-room.webp → public/images/hero-room.webp (Hero; object-position 50% 60%; alt 'A dark cocktail bar room lit by candles and one amber lamp'); https://media.vibefather.ai/assets/886249a6-bf32-4601-8683-a27771ad5375/bartender-pour.webp → public/images/bartender-pour.webp (Menu anchor; alt 'Marius mid-pour, a fictional bartender'); https://media.vibefather.ai/assets/886249a6-bf32-4601-8683-a27771ad5375/room-booths.webp → public/images/room-booths.webp (Room 1; alt 'Deep leather booths in candlelight'); https://media.vibefather.ai/assets/886249a6-bf32-4601-8683-a27771ad5375/room-backbar.webp → public/images/room-backbar.webp (Room 2; alt 'A back bar of blank-labeled bottles under amber light'); https://media.vibefather.ai/assets/886249a6-bf32-4601-8683-a27771ad5375/room-terrace.webp → public/images/room-terrace.webp (Room 3; alt 'A small terrace with one string bulb'); https://media.vibefather.ai/assets/886249a6-bf32-4601-8683-a27771ad5375/glassware.webp → public/images/glassware.webp (Menu board side detail, optional small strip; alt 'Coupe and rocks glasses catching amber light'). Six files in total.
- image: Write ASSETS.md at the project root with a table: path, source URL, author, license — one row for each photo (source 'media.vibefather.ai, made for this template', author 'VibeFather', license 'Distributed with the template'), plus rows for @fontsource/oswald and @fontsource-variable/karla (OFL-1.1) and lucide-react (ISC). Never replace photos with stock sites or images with customer faces, readable labels or branding — the bartender portrait is an AI-generated fictional person per the portrait rules.
- icon: lucide-react only: Martini, Wine, GlassWater, Music, FlaskConical, MapPin, TrainFront, Car, Clock, Check, Plus, Minus, ArrowRight. Stroke width 1.75, 16–24px, color inherits. The candle dot, flame stamp, mini floor sketch, Brass indexes and favicon are drawn SVG. public/favicon.svg: viewBox 0 0 32 32, a 32x32 rect rx 5 filled #12100D with a 1px #B08A4F border, an Amberglow (#E0A458) candle-flame glyph over a short Bone wick line. No other logo: the bar name is always set as type.
- font: Install @fontsource/oswald and @fontsource-variable/karla and import them in src/fonts.ts as listed in Setup. Vite bundles the woff2 files into dist/.
- image: Drawn in code: the candle dot, flame stamp, mini floor sketch, Brass indexes, chips and the favicon. No other bitmaps beyond the six photos; no illustrations; no map tiles.

## Don'ts
- No backend, no form submission, no fetch to any API: both forms save in the browser only (localStorage) and say so; tel: links are built from the phone digits.
- Every internal link points to a file name (./index.html, ./index.html#menu, ./index.html#room, ./index.html#nights, ./visit.html, ./visit.html#book) — never to a bare directory.
- Self-host everything: fonts through Fontsource, icons as npm packages or inline SVG, images downloaded into public/images/. No CDN <script> or <link> tags, no Google Fonts, no analytics.
- Production build: minified, no source maps, no src/ copied into dist/, single command npm run build, output in dist/ under 10 MB.
- No real bars, spirit brands or their bottles; bottle labels in photos stay blank; the bartender portrait is an AI-generated fictional person, not any real individual; no customer faces anywhere; no readable signage.
- No dates or years anywhere; events are weekday-named recurring nights; day chips show weekday names without calendar dates; the site never shows today's date.
- Never mention VibeFather or any other brand inside the site except the optional credit footer link; all copy is invented US English.
- Respect prefers-reduced-motion: no pulses, flickers, parallax or staggered fades; everything renders at rest; color/border hovers stay.
- The site must work at 1440x900 desktop and 390x844 mobile with zero console errors; steppers, chips, pickers and both forms work with keyboard only and visible Amberglow focus rings.
- Keep copy low-voice and concrete: no lorem, no 'mixology journey'; every drink, price and night lives in src/content.ts.

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

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

## 简介
为 [BAR] 打造的两页网站,这是一家位于 [CITY] 的 [NEIGHBORHOOD] 的鸡尾酒吧——以 [SPIRITS] 为基酒的饮品,每周营业六晚。它必须让人感觉像眼睛适应后的那个房间:一个琥珀色烛光的主视觉区,带着承诺和预订 CTA,一份按烈酒分组的菜单,配以诚实的文案,一张调酒师工作时的锚点照片,三张照片呈现的房间,四个固定活动之夜,私人包场咨询和订桌流程——两者均为客户端实现。页面:index.html、visit.html。一切都在浏览器中运行;不会提交到任何地方。

- 受众:选择今晚去哪家酒吧的下班饮酒者和提前规划的周末聚会人群:25–45 岁,手机在手,对喧闹的场所过敏。他们想要房间的氛围、饮品的可信度,以及三次点击内订到桌位。
- 目标:填满餐桌和包场日历。访客在十秒内感受到房间氛围并看到“book a table”;在两分钟内读完菜单并查看活动之夜。
- 语调:低声自信,饮品之间带着冷幽默。真实的原料,真实的时间,没有“mixology journey”。在无酒精部分开一个玩笑——反着来。

## 技术栈(Stack)
- 框架(Framework):Vite 5 + React 18 + TypeScript
- 样式(Styling):Tailwind CSS 3.4
- 库(Libraries):react(MIT)、react-dom(MIT)、motion(motion.dev,从 'motion/react' 导入)(MIT)、lucide-react(MIT)、tailwindcss(MIT)、postcss(MIT)、autoprefixer(MIT)、vite(MIT)、@vitejs/plugin-react(MIT)、typescript(Apache-2.0)、@fontsource/oswald(OFL-1.1)、@fontsource-variable/karla(OFL-1.1)
- 构建(Build):`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。
- 设置(Setup):
  - 使用 react-ts 模板通过 npm create vite@latest 脚手架创建项目。项目根目录下有两个真实的 HTML 页面:index.html(入口 src/main-home.tsx)和 visit.html(入口 src/main-visit.tsx)。
  - vite.config.ts:base './',plugins [react()],build { outDir 'dist',sourcemap false,assetsInlineLimit 0,rollupOptions { input { index: resolve(__dirname, 'index.html'),visit: resolve(__dirname, 'visit.html') } } }。不要将 src/ 复制到 dist/ 中。
  - 通过 PostCSS 使用 Tailwind 3.4,content ['./index.html', './visit.html', './src/**/*.{ts,tsx}']。在 tailwind.config.ts 中,将设计(Design)下的每种颜色以 kebab-case 键名添加到 theme.extend.colors 中(noir、coal、candle、amberglow、bone、ash、brass、rule),并将 fontFamily display 设为 ['Oswald', 'Arial Narrow', 'sans-serif'],sans 设为 ['Karla Variable', 'system-ui', 'sans-serif']。将 borderRadius DEFAULT 设为 4px,并添加 maxWidth { container: '1140px' }。
  - 在 src/fonts.ts 中导入 '@fontsource/oswald/400.css'、'@fontsource/oswald/600.css' 和 '@fontsource-variable/karla';从两个入口文件导入 src/fonts.ts 和 src/index.css。
  - 文件布局:src/content.ts(所有字符串、饮品、价格、活动、营业时间、房间说明和图片路径,带类型),src/lib/brand.ts(barSlug = [BAR] 转为小写,并将每一段连续的非字母数字字符替换为 '-',emailDomain = 去掉连字符的 barSlug + '.com',phoneDigits 用于 tel:),src/lib/storage.ts(安全的 localStorage get/set,包裹在 try/catch 中,键前缀为 barSlug + ':'),src/lib/useOpenNow.ts(根据营业时间表和客户端时钟判断 open-now)。
  - 状态(State):src/store/booking.ts 是一个小型外部 store(useSyncExternalStore),持有 { kind: 'table' | 'hire', party, day, area, occasion, capacity, name, email, sent },持久化到 localStorage 键 barSlug + ':request'。两个表单写入同一个 store;确认信息从中读取。
  - 组件位于 src/components/:Header.tsx、Reveal.tsx(Motion whileInView 包装器)、Eyebrow.tsx、Footer.tsx;首页(home):Hero.tsx、MenuBoard.tsx(SpiritGroup.tsx、DrinkRow.tsx)、BartenderAnchor.tsx、RoomStrip.tsx(RoomPhoto.tsx)、Events.tsx(NightCard.tsx)、TrustStrip.tsx;到访页(visit):HoursBlock.tsx(OpenNowPill.tsx)、TableBooking.tsx(PartyStepper.tsx、DayChips.tsx、AreaPicker.tsx)、HireForm.tsx、RequestCard.tsx(共享确认信息)。src/pages/Home.tsx 和 Visit.tsx 组合它们;两个页面都渲染 Header 和 Footer。
  - 在首次构建之前,使用 curl -L -o 将资源(Assets)下列出的每张图片下载到 public/images/ 中,并使用给定的确切文件名。构建本身从不获取任何内容。
  - public/favicon.svg 如资源(Assets)下所述。两个 HTML 文件:lang en,<meta name='theme-color' content='#12100D'>,<link rel='icon' href='./favicon.svg' type='image/svg+xml'>。标题:index.html '<title>[BAR] — Cocktails in [NEIGHBORHOOD], [CITY]</title>',visit.html '<title>Book & visit — [BAR]</title>'。
  - 在项目根目录下按资源(Assets)下所述编写 ASSETS.md。
  - dist/ 包含两个 HTML 文件、带哈希的 JS/CSS、woff2 字体、favicon.svg 和六张图片。保持在 10 MB 以下。

## 变量
- [BAR] — 酒吧名称(默认:“The Amber Room”)。虚构的酒吧名称。用于字标、标题、页脚、电子邮件(hello@ + 不含连字符的 barSlug + .com)以及 localStorage 键。绝不使用真实酒吧。
- [CITY] — 城市(默认:“New Orleans, Louisiana”)。酒吧所在地。用于标题、主视觉眉题、路线指引文案和页脚。可以使用真实城市;街道为虚构。
- [NEIGHBORHOOD] — 街区(默认:“the Warehouse District”)。小写冠词风格('the Warehouse District'、'Eastside')。用于标题、主视觉文案和活动文案。
- [SPIRITS] — 店内烈酒(默认:“gin, rye and agave”)。三种以逗号分隔的基酒。驱动菜单的三个烈酒分组(外加无酒精分组)、主视觉文案和一个活动之夜。保持恰好三种。
- [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接,指向 https://vibefather.ai/t/cocktail-bar-website(默认:是;删除此行即可移除)

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

## 设计
### 颜色(Colors)
- 黑(Noir)`#12100D` — 两个页面的页面背景。
- 炭(Coal)`#1C1915` — 交替区块背景、卡片、菜单板凹槽、悬停填充。
- 烛(Candle)`#262019` — 照片叠加层(以 rgba(38,32,25,x) 表示)、输入框填充、标签片。
- 琥珀光(Amberglow)`#E0A458` — 唯一强调色:价格、订位 CTA、选中标签片、烛点、焦点环、黄铜细线。
- 骨(Bone)`#EDE6D8` — 主文本:标题、正文、饮品名称。
- 灰(Ash)`#9C9184` — 次要文本、说明文字、眉题、不可用状态。
- 黄铜(Brass)`#B08A4F` — 安静的第二色:区块分隔线、分组标签、小型大写细节、星形填充。
- 线(Rule)`#322C24` — 1px 细线、卡片边框、输入框边框、菜单分隔线。

### 字体排印(Typography)
- 展示字体:H1、H2、饮品名称、价格、字标、活动之夜 — Oswald 高瘦压缩体,加字距:Oswald(OFL),字重 400/600
- 文本与 UI:正文、眉题、按钮、表单、说明文字;价格和营业时间使用表格数字:Karla(OFL),字重 400/600/700

### 布局与动效(Layout & motion)
- 间距:8px 基准单位。容器最大宽度 1140px,居中,侧边内边距桌面端 48px、平板端 32px、640px 以下 20px。12 列网格,列间距 24px。区块垂直内边距桌面端 104px、1024px 以下 76px、640px 以下 60px — 一间暗室缓缓呼吸。字号比例:H1 clamp(48px, 7.5vw, 104px) Oswald 600 大写 letter-spacing 0.02em,line-height 0.96;H2 clamp(30px, 4vw, 52px) Oswald 600 大写;饮品名称 Oswald 400 21px;价格 Oswald 600 18px Amberglow 表格数字;导语 Karla 400 17.5px / 1.7 Bone 88%;正文 15.5px / 1.7(max-width 62ch);眉题 Karla 700 11px 大写 letter-spacing 0.26em Ash;说明文字 12.5px Ash。按钮:高度 52px,Karla 700 13.5px 大写 letter-spacing 0.1em。订位 CTA:Amberglow 填充,Noir 文字。次要按钮:1px Bone/35% 边框,Bone 文字。输入框:高度 50px,Candle 填充,1px Rule 边框,Bone 文字,聚焦时 Amberglow 边框。全局焦点环:2px Amberglow 轮廓,偏移 3px。
- 圆角:卡片、按钮、输入框、标签片和照片均为 4px — 暗而锐利。仅药丸形、烛点和派对步进器按钮使用 999px。
- 动效:缓动:--ease-out cubic-bezier(0.22, 0.61, 0.36, 1) 用于显现;--ease-io cubic-bezier(0.65, 0, 0.35, 1) 用于表单切换和标签片。缓慢淡入如眼睛适应 — 700–900ms,没有突兀。
- 动效:显现:包裹在 <Reveal> 中的区块从 opacity 0、translateY(12px) 开始,在 12% 可见时(Motion whileInView,viewport once)以 800ms --ease-out 落定。同级元素错开 80ms。
- 动效:首屏:房间照片在 1600ms 内从 60% 淡入到全显,同时缩放 1.04→1.0;H1 各行上升 18px,错开 150ms;一个小烛点脉冲一次(琥珀色,2000ms,减少动效下关闭)。
- 动效:菜单行:悬停时从左侧滑入一条 1px Brass 分隔线,价格从 Ash→Amberglow 变亮;饮品的一句话描述缩进 2px。
- 动效:调酒师锚点:照片的黄铜边框在滚动进入视野时绘制一次;说明文字最后交叉淡入。
- 动效:房间横条:照片在滚动时以不同速率视差 4%(逐帧 useScroll);说明文字随其画框淡出。
- 动效:活动:夜晚卡片以 60ms 错开显现;星期标签片悬停时填充 Amberglow。
- 动效:预订:派对步进器在计数时弹出;日期标签片填充 Amberglow;区域选择器交叉淡入迷你平面草图;提交时面板滑向 RequestCard(300ms --ease-io),并带一个烛焰印章(绘制的琥珀色火焰)闪烁两次后静止。
- 动效:链接:.link-draw 在悬停和 focus-visible 时以 300ms 生长 1px currentColor 下划线。
- 动效:prefers-reduced-motion: reduce — 一切以静止状态渲染;火焰印章为静态;颜色/边框悬停保留。在 index.css 中使用 CSS @media,并在组件中使用 Motion 的 useReducedMotion。
- 图像:情绪化真实摄影,全部六张为本模板以统一风格制作:近乎黑暗的房间由蜡烛和一盏琥珀色灯照亮,玻璃器皿捕捉光线,空白标签的瓶子,深色皮革。一张锚点照片展示调酒师工作 — 一个 AI 生成的虚构人物(倒酒中,温暖的专注),真实酒吧可替换为自己员工的照片。任何地方都没有顾客面孔,没有可读文字或标志(瓶标空白)。每张照片使用 object-fit cover,object-position 见 Assets 下,4px 圆角,无阴影;Noir 上的照片获得 1px Rule 轮廓。说明文字为 Karla 12.5px Ash。代码绘制:favicon、烛点、火焰印章、标签片、迷你平面草图和星形填充。图标:仅 lucide-react,描边宽度 1.75。

## 页面与区块
### 首页(`index.html`)
1. **内容文件与文案规则** — 以下所有文案均按默认值撰写([BAR] = The Amber Room,[CITY] = New Orleans, Louisiana,[NEIGHBORHOOD] = the Warehouse District,[SPIRITS] = gin, rye and agave)。将每个字符串、价格和列表放入 src/content.ts 并从中渲染;两个页面共享一个内容文件。若任何变量值不同,请重写主视觉、全部十二款饮品、活动、房间说明、租赁文案和预订文案,使其对新酒吧具体且可信,保持相同的结构和数量(4 个菜单组 × 3 款饮品,4 个活动之夜,3 张房间照片,3 个区域,5 条信任/租赁事实)。所有饮品、员工和夜晚均为虚构。事实:地址 '912 Tchoupitoulas Lane, [CITY]' 为虚构;电话 (504) 555-0186;营业时间周二至周四 17:00–01:00,周五至周六 17:00–02:00,周日 16:00–23:00,周一休息;随时接受散客;餐桌保留 15 分钟;无最低消费;接受银行卡;租赁容量:卡座 12 人,后吧 24 人,整间 60 人。菜单(组 · 饮品 · 一行描述 · 价格):Gin:'Garden Distraction' 'elderflower, cucumber, a whisper of dill — the porch, distilled' $15;'Last Ferry' 'gin, dry vermouth, olive brine, taken seriously' $14;'Juniper & Smoke' 'gin, lapsang syrup, lemon — campfire in a coupe' $16。Rye:'Warehouse Sour' 'rye, honey, lemon, a float of malbec — our postcard' $15;'Second Thoughts' 'rye, amaro, bitters — for decisions already improving' $16;'Barrel Standard' 'rye, demerara, orange bitters — the house handshake' $14。Agave:'Cloud Cover' 'blanco tequila, coconut, lime, sea salt — a beach in the dark' $15;'Smoke Signal' 'mezcal, grapefruit, chili — answers on a ten-second delay' $16;'Sundown Express' 'reposado, vermouth, burnt orange — the last one, twice' $15。Zero-proof:' designated Driver' → 'Designated Driver' 'seedlip, tonic, grapefruit — zero proof, full effort' $10;'Open Secret' 'roasted barley, chicory, orange peel — the sober pour regulars fight over' $10;'Static' 'sparkling water, verjus, thyme — quiet, and proud of it' $9。活动(夜晚 · 名称 · 一行描述):'Wednesday · Vinyl Midweek' 'records on the turntable, no playlist, requests at the bar''s discretion';'Thursday · Educated Guess' 'a blind tasting flight, five pours, bragging rights';'Friday · Late Set' 'a trio plays two sets from nine; talking over them is discouraged politely';'Sunday · Slow Close' 'one bartender, the classics only, last call at ten'。
   布局:不适用
   动效:不适用
2. **页眉(所有页面)** — 左侧:字标 '[BAR]'(Oswald 600 20px 大写 字间距 0.14em)链接至 ./index.html。右侧导航(Karla 600 13px 大写 字间距 0.08em):'Menu' → ./index.html#menu,'The room' → ./index.html#room,'Nights' → ./index.html#nights,'Visit' → ./visit.html;以及一个小号 Amberglow 的 'Book a table' → ./visit.html#book。低于 760px:字标 + 预订按钮。
   布局:粘性顶部,高度 68px,Noir/88% 模糊,Rule 边框。
3. **主视觉** — 全出血 hero-room.webp(92svh,最小 620px)。眉题(Bone 70% 不透明度):'COCKTAILS · [NEIGHBORHOOD] · [CITY]'。H1 两行:'AFTER YOUR EYES' / '*ADJUST.*' 导语(Bone 80% 不透明度,最大宽度 500px):'A basement room, forty candles, and drinks built on [SPIRITS] — no shouty playlists, no minimum spend, no dress code with opinions.' 主按钮 'Book a table' → ./visit.html#book 和照片上的次要按钮 'Read the menu' → #menu。主视觉内底部条带 Coal/70%:'Tue–Sun from 5pm' · 'Walk-ins welcome' · 'Tables held 15 min'。
   布局:照片 object-position 50% 60%;叠加渐变 Noir 0.5→0.15→0.92;内容锚定左下角向上 120px。
4. **饮品菜单** — 区块 id='menu'。眉题 'THE DRINKS' 和 H2 'TWELVE, CHOSEN SLOWLY.' 两栏:左侧,MenuBoard — 四个 SpiritGroups(GIN / RYE / AGAVE / ZERO-PROOF 标签,Oswald 600 13px 字间距 Brass)各含三个 DrinkRows(名称 + 一行描述 + 价格);右侧,BartenderAnchor:bartender-pour.webp(3:4,黄铜边框)配说明 'Marius, mid-pour — a fictional bartender' 及下方注释:'Tell him a flavor you like; he''ll bring you something with a name by the second round.' 菜单板下方说明行:'Prices include the ice negotiations. Zero-proof listed with the same respect.'
   布局:Noir 背景。菜单板 7 列,组间 Rule 细线分隔(24px 间距);锚点 4 列偏移 1 列,粘性顶部 96px。低于 1024px:堆叠,锚点在菜单板之后,宽高比 3:2。
5. **房间** — 区块 id='room'。眉题 'THE ROOM' 和 H2 'THREE PLACES TO SIT.' RoomStrip 照片带视差:room-booths.webp 'The booths — leather, low light, decisions'(4:3);room-backbar.webp 'The back bar — forty bottles, no logos we answer to'(4:3);room-terrace.webp 'The terrace — one string bulb and the river smell'(4:3)。每张配小号 Brass 索引('01'、'02'、'03')。
   布局:Coal 背景。三列 20px 间距;每张下方说明文字 Karla 12.5px Ash 配 Brass 索引;照片 4px 圆角,1px Rule 轮廓。
6. **夜晚与信任** — 区块 id='nights'。眉题 'MOST WEEKS' 和 H2 'FOUR NIGHTS, REPEATING.' NightCards:星期标签(Oswald 600)+ 名称 + 来自名册的一行描述。下方,Coal 上的 TrustStrip:三项带 Amberglow 勾选 — 'Walk-ins welcome, always';'No minimum spend, no bottle politics';'Card, cash and split bills without sighs'。结尾行:'Sundays we close early; the candles have families.'
   布局:Noir 背景。2x2 网格 20px 间距卡片,Coal 上 Rule 边框;信任条为细线边界的三项一行;结尾行居中,下方 40px。
7. **页脚** — Noir 配 Rule 顶部边框。三栏:1)字标 + '[BAR]' 上方 'Cocktails · [NEIGHBORHOOD] · [CITY]'。2)'Find us':'912 Tchoupitoulas Lane, [CITY]',(504) 555-0186 tel:,hello@ + emailDomain。3)'Hours':周二至周四 5pm–1am,周五至周六 5pm–2am,周日 4pm–11pm,周一休息。底部行:'© [BAR]. The ice is clear; the jokes are not.'
   布局:垂直内边距 64px,3 列,底部行在 Bone/10% 分隔线下方 32px。低于 768px 堆叠。

### 访问(`visit.html`)
1. **刊头与营业时间** — 实心页眉。眉题 'BOOK & VISIT',H1 'COME DOWN.' 导语:'Tables for two to eight, private hire for twelve to sixty, and a door policy that stops at ''be decent''.' HoursBlock:OpenNowPill(根据营业时间表显示 'Open · kitchen of ice until 1am' 样式)和本周营业时间,今日行用 Amberglow 高亮;注释 'Tables held 15 minutes; the candle clock is generous but finite.'
   布局:Noir 背景,垂直内边距顶部 136px + 48px,底部细线;营业时间块最大宽度 640px 配 Rule 分隔线。
2. **餐桌预订** — 区块 id='book'。眉题 'A TABLE' 和 H2 'THREE TAPS AND A BOOTH.' Coal 上的 TableBooking 面板:PartyStepper 2–8;DayChips(接下来 7 个营业日,以星期命名;周一禁用 'we rest');AreaPicker 配迷你平面草图(绘制 SVG:三个区域)— 'Booths (leather, low)' / 'Back bar (watch the work)' / 'Terrace (weather permitting)';姓名 + 邮箱;主按钮 'Request the table' 配说明 'Saved in this browser — the real bar confirms by text. Nothing is sent here.'
   布局:Coal 区块;面板最大宽度 620px,28px 内边距,Rule 边框,4px 圆角;草图在选择器旁 5 列;低于 760px 堆叠。
3. **私人租赁与确认** — 眉题 'THE WHOLE ROOM' 和 H2 'RENT THE DARK.' HireForm:容量选择('Booths · up to 12' / 'Back bar · up to 24' / 'The whole room · up to 60');场合输入(占位符 'Birthday, launch, music video — we''ve hosted two of three');无日期窗口标签('This month' / 'Next month' / 'Just exploring');姓名 + 邮箱;次要按钮 'Send the enquiry'。共享 RequestCard(任一表单):烛焰印章闪烁两次后静止,'Request received.'(Oswald 28px),回显('Table for 4 · Friday · Booths' 或 'Hire · the whole room · this month'),'We reply within a day — usually with a better idea than you asked for.' 和 'Change my request' 返回预填。持久化在 localStorage 中。
   布局:Noir 背景;租赁面板 6 列,RequestCard 共享确认在两个表单下方(交叉淡入 300ms);低于 1024px 堆叠。
4. **到达方式** — 三行安静文字配图标:MapPin '912 Tchoupitoulas Lane — the stairs next to the flower shop, follow the amber bulb';TrainFront 'Two streetcar stops from the Quarter, then a short walk that builds anticipation';Car 'Street parking after 7pm; the lot behind the brewery is kinder'。结尾行居中:'Knock once. If Marius knocks back, it''s the right door.'
   布局:Coal 条带;行间细线分隔,最大宽度 720px;结尾行下方 48px。

## 资源
- 图片:为本设计制作的模板照片(可随模板自由再分发)。用 curl -L -o 将每张图片下载到 public/images/:https://media.vibefather.ai/assets/886249a6-bf32-4601-8683-a27771ad5375/hero-room.webp → public/images/hero-room.webp(Hero;object-position 50% 60%;alt 'A dark cocktail bar room lit by candles and one amber lamp');https://media.vibefather.ai/assets/886249a6-bf32-4601-8683-a27771ad5375/bartender-pour.webp → public/images/bartender-pour.webp(Menu anchor;alt 'Marius mid-pour, a fictional bartender');https://media.vibefather.ai/assets/886249a6-bf32-4601-8683-a27771ad5375/room-booths.webp → public/images/room-booths.webp(Room 1;alt 'Deep leather booths in candlelight');https://media.vibefather.ai/assets/886249a6-bf32-4601-8683-a27771ad5375/room-backbar.webp → public/images/room-backbar.webp(Room 2;alt 'A back bar of blank-labeled bottles under amber light');https://media.vibefather.ai/assets/886249a6-bf32-4601-8683-a27771ad5375/room-terrace.webp → public/images/room-terrace.webp(Room 3;alt 'A small terrace with one string bulb');https://media.vibefather.ai/assets/886249a6-bf32-4601-8683-a27771ad5375/glassware.webp → public/images/glassware.webp(Menu board side detail,可选的小条带;alt 'Coupe and rocks glasses catching amber light')。共六个文件。
- 图片:在项目根目录写入 ASSETS.md,包含一个表格:path、source URL、author、license——每张照片一行(source 'media.vibefather.ai, made for this template',author 'VibeFather',license 'Distributed with the template'),另加 @fontsource/oswald 和 @fontsource-variable/karla(OFL-1.1)以及 lucide-react(ISC)的行。绝不用图库网站替换照片,也不使用带客户面孔、可读标签或品牌标识的图片——调酒师肖像按肖像规则是 AI 生成的虚构人物。
- 图标:仅使用 lucide-react:Martini、Wine、GlassWater、Music、FlaskConical、MapPin、TrainFront、Car、Clock、Check、Plus、Minus、ArrowRight。描边宽度 1.75,16–24px,颜色继承。蜡烛圆点、火焰印章、迷你平面草图、Brass 索引和 favicon 为绘制的 SVG。public/favicon.svg:viewBox 0 0 32 32,一个 32x32 的 rect,rx 5,填充 #12100D,带 1px #B08A4F 边框,一个 Amberglow(#E0A458)烛焰字形覆盖在一条短的 Bone 烛芯线上。无其他标志:酒吧名称始终以文字排版呈现。
- 字体:安装 @fontsource/oswald 和 @fontsource-variable/karla,并按 Setup 中所列在 src/fonts.ts 中导入它们。Vite 会将 woff2 文件打包进 dist/。
- 图片:在代码中绘制:蜡烛圆点、火焰印章、迷你平面草图、Brass 索引、chips 和 favicon。除六张照片外无其他位图;无插图;无地图瓦片。

## 禁止事项
- 无后端、无表单提交、不向任何 API 发起 fetch 请求:两个表单仅在浏览器内保存(localStorage)并明确说明这一点;tel: 链接由电话号码数字构建。
- 每个内部链接都指向文件名(./index.html、./index.html#menu、./index.html#room、./index.html#nights、./visit.html、./visit.html#book)——绝不指向裸目录。
- 全部自托管:字体通过 Fontsource,图标作为 npm 包或内联 SVG,图片下载到 public/images/。不使用 CDN 的 <script> 或 <link> 标签,不使用 Google Fonts,不使用分析工具。
- 生产构建:压缩,无 source map,不将 src/ 复制到 dist/,单条命令 npm run build,输出在 dist/ 下且小于 10 MB。
- 不使用真实酒吧、烈酒品牌或其酒瓶;照片中的酒瓶标签保持空白;调酒师肖像为 AI 生成的虚构人物,非任何真实个人;任何地方不出现顾客面部;无可读标识。
- 任何地方不出现日期或年份;活动为以星期命名的定期之夜;日期标签显示星期名称而不含日历日期;网站从不显示今天的日期。
- 除可选的页脚署名链接外,网站内绝不提及 VibeFather 或任何其他品牌;所有文案为虚构的美式英语。
- 尊重 prefers-reduced-motion:无脉冲、闪烁、视差或交错淡入;一切以静止状态渲染;颜色/边框悬停效果保留。
- 网站必须在 1440x900 桌面端和 390x844 移动端正常工作且零控制台错误;步进器、标签、选择器和两个表单仅用键盘即可操作,并具有可见的 Amberglow 焦点环。
- 文案保持低调具体:无 lorem,无“mixology journey”;每一款饮品、价格和夜晚都存放在 src/content.ts 中。

---
— Prompt by VibeFather · https://vibefather.ai/t/cocktail-bar-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: "Cocktail Bar Website"
colors:
  noir: "#12100D"
  coal: "#1C1915"
  candle: "#262019"
  amberglow: "#E0A458"
  bone: "#EDE6D8"
  ash: "#9C9184"
  brass: "#B08A4F"
  rule: "#322C24"
typography:
  display_h1_h2_drink_names_prices_the_wordmark_event_nights_oswald_tall_condensed_letterspaced: { family: "Oswald", weights: [400, 600] }
  text_and_ui_body_eyebrows_buttons_forms_captions_tabular_numerals_for_prices_and_hours: { family: "Karla", weights: [400, 600, 700] }
spacing: "8px base unit. Container max-width 1140px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 104px desktop, 76px under 1024px, 60px under 640px — a dark room breathes slowly. Type scale: H1 clamp(48px, 7.5vw, 104px) Oswald 600 uppercase letter-spacing 0.02em, line-height 0.96; H2 clamp(30px, 4vw, 52px) Oswald 600 uppercase; drink names Oswald 400 21px; prices Oswald 600 18px Amberglow tabular; lead Karla 400 17.5px / 1.7 Bone at 88%; body 15.5px / 1.7 (max-width 62ch); eyebrow Karla 700 11px uppercase letter-spacing 0.26em Ash; caption 12.5px Ash. Buttons: height 52px, Karla 700 13.5px uppercase letter-spacing 0.1em. Book CTA: Amberglow fill, Noir text. Secondary: 1px Bone/35% border, Bone text. Inputs: height 50px, Candle fill, 1px Rule border, Bone text, focus Amberglow border. Focus ring everywhere: 2px Amberglow outline with 3px offset."
radius: "4px on cards, buttons, inputs, chips and photos — dark and sharp. 999px only for pills, the candle dot and party-stepper buttons."
---

# Cocktail Bar 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
- **Noir** `#12100D` — Page background on both pages.
- **Coal** `#1C1915` — Alternate section background, cards, menu board wells, hover fill.
- **Candle** `#262019` — Photo overlays (as rgba(38,32,25,x)), input fills, chips.
- **Amberglow** `#E0A458` — The one accent: prices, the book CTA, selected chips, candle dot, focus ring, brass hairlines.
- **Bone** `#EDE6D8` — Primary text: headlines, body, drink names.
- **Ash** `#9C9184` — Secondary text, captions, eyebrows, unavailable states.
- **Brass** `#B08A4F` — Quiet second color: section rules, group labels, small caps details, star fills.
- **Rule** `#322C24` — 1px hairlines, card borders, input borders, menu dividers.

## Typography
- **Display: H1, H2, drink names, prices, the wordmark, event nights — Oswald tall condensed, letterspaced** — Oswald (OFL), weights 400/600. Self-host the font files.
- **Text and UI: body, eyebrows, buttons, forms, captions; tabular numerals for prices and hours** — Karla (OFL), weights 400/600/700. Self-host the font files.

## Spacing & shape
- Spacing: 8px base unit. Container max-width 1140px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 104px desktop, 76px under 1024px, 60px under 640px — a dark room breathes slowly. Type scale: H1 clamp(48px, 7.5vw, 104px) Oswald 600 uppercase letter-spacing 0.02em, line-height 0.96; H2 clamp(30px, 4vw, 52px) Oswald 600 uppercase; drink names Oswald 400 21px; prices Oswald 600 18px Amberglow tabular; lead Karla 400 17.5px / 1.7 Bone at 88%; body 15.5px / 1.7 (max-width 62ch); eyebrow Karla 700 11px uppercase letter-spacing 0.26em Ash; caption 12.5px Ash. Buttons: height 52px, Karla 700 13.5px uppercase letter-spacing 0.1em. Book CTA: Amberglow fill, Noir text. Secondary: 1px Bone/35% border, Bone text. Inputs: height 50px, Candle fill, 1px Rule border, Bone text, focus Amberglow border. Focus ring everywhere: 2px Amberglow outline with 3px offset.
- Radius: 4px on cards, buttons, inputs, chips and photos — dark and sharp. 999px only for pills, the candle dot and party-stepper buttons.

## Motion
- Easing: --ease-out cubic-bezier(0.22, 0.61, 0.36, 1) for reveals; --ease-io cubic-bezier(0.65, 0, 0.35, 1) for form swaps and chips. Slow fades like eyes adjusting — 700–900ms, nothing snaps.
- Reveal: blocks wrapped in <Reveal> start at opacity 0, translateY(12px) and settle over 800ms --ease-out when 12% visible (Motion whileInView, viewport once). Siblings stagger 80ms.
- Hero: the room photo fades from 60% to full over 1600ms while scaling 1.04→1.0; the H1 lines rise 18px with 150ms stagger; a small candle dot pulses once (amber, 2000ms, off under reduced motion).
- Menu rows: hover slides a 1px Brass rule from the left and the price brightens Ash→Amberglow; the drink's one-liner indents 2px.
- Bartender anchor: the photo's brass frame draws once when scrolled into view; the caption crossfades in last.
- Room strip: photos parallax 4% at different rates on scroll (useScroll per frame); captions fade with their frame.
- Events: night cards reveal 60ms-staggered; the weekday chip fills Amberglow on hover.
- Booking: party stepper pops on count; day chips fill Amberglow; area picker crossfades the mini floor sketch; submitting slides the panel to RequestCard (300ms --ease-io) with a candle-flame stamp (a drawn amber flame) flickering twice before resting.
- Links: .link-draw grows a 1px currentColor underline over 300ms on hover and focus-visible.
- prefers-reduced-motion: reduce — everything renders at rest; the flame stamp is static; color/border hovers stay. Use CSS @media in index.css plus Motion's useReducedMotion in components.

## Imagery
Moody real photography, all six made for this template in one consistent style: near-dark rooms lit by candles and one amber lamp, glassware catching light, blank-labeled bottles, deep leather. One anchor photo shows the bartender at work — an AI-generated fictional person (mid-pour, warm concentration), a placeholder a real bar swaps for its own staff photo. No customer faces anywhere, no readable text or logos (bottle labels blank). Every photo uses object-fit cover with the object-position given under Assets, 4px corners, no shadow; photos on Noir get a 1px Rule outline. Captions in Karla 12.5px Ash. Drawn in code: the favicon, the candle dot, the flame stamp, chips, the mini floor sketch and the star fills. Icons: lucide-react only, stroke width 1.75.

## Tone
Low-voice confident, dry wit between the drinks. Real ingredients, real minutes, no 'mixology journey'. One joke at the zero-proof section's expense — reversed.

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

改成你自己的

  • 梅斯卡尔听音酒吧:将 SPIRITS 设为梅斯卡尔、龙舌兰和朗姆酒,围绕龙舌兰重写酒单介绍,并将活动之夜换成唱片聆听会。
  • 社区葡萄酒吧:将 SPIRITS 设为你供应的葡萄酒风格,将鸡尾酒行替换为瓶装和杯卖价格,并保留空间图片条和订座流程。
  • 私人活动场地:保留到访页的包场咨询,将人数字段提升到你的场地容量,并用三张空间照片作为首页主视觉。
  • 会员制爵士酒吧:用 NEIGHBORHOOD 表示街区,将四个活动之夜按你的每周演出改名,并将订座按钮指向你的订座流程。

鸡尾酒吧网站:常见问题

鸡尾酒吧网站模板的两个页面各包含哪些内容?

鸡尾酒吧网站模板有两个页面。首页以琥珀烛光主视觉开场,展示酒吧的承诺和订座按钮,然后是按烈酒分类并标价的酒单、调酒师工作照、三张空间照片、四个定期活动之夜和一条信任背书。到访页包含营业时间与当前营业状态指示、包场咨询和订座流程。

怎么用 AI 做一个鸡尾酒吧网站?

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