用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
一个活动场地的单页网站:主厅以晚宴布置作为首屏,展示场地承诺和咨询 CTA;三个空间,每个空间都配有不同布局(宴会、剧院、鸡尾酒)的容量表和规格;一个交互式虚拟平面图,其座位模式切换器(宴会/教室/鸡尾酒)可实时重绘桌位布局并更新容量数字;一个包含六张照片的图库,展示布置好和空置的空间;三个套餐,包含所含项目和每小时最低消费;一个档期咨询(不限定日期的窗口标签、宾客人数步进器、活动类型),在客户端确认;一张场地经理肖像(AI 生成的虚构人物);以及一条后勤信息条,涵盖停车、无障碍、进场和噪音宵禁。默认内容基于一个虚构的改造仓库场地,但该结构适合任何活动空间。外观是现代画廊风格:温暖的画廊白和炭黑,配以香槟色点缀,优雅的衬线标题搭配简洁的无衬线字体,手绘平面图和宽裕的间距。宾客面部从不出现——房间以空置或精心布置的状态拍摄。要适配它,只需替换变量并在一个内容文件中重写文案。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Event Venue Website
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
A single-page site for [VENUE], an event venue in [CITY] known for [STYLE_NOTE], noise curfew [CURFEW]. It must sell the space: three rooms with capacity tables, an interactive seating floor plan (banquet/classroom/cocktail modes redrawn live), a six-photo gallery, three packages, a client-side availability enquiry, a manager portrait (AI-generated fictional person), and a logistics strip. One page: index.html with sections (#spaces, #plan, #gallery, #packages, #enquire). Everything runs in the browser; nothing is submitted anywhere.
- Audience: Couples and corporate event planners shortlisting three venues on a Sunday afternoon. They compare capacity, cost per hour and photos of the room full — the floor plan answers 'will my 120 fit'.
- Goal: Produce enquiries. Within ten seconds a visitor sees the main hall set and the enquiry CTA; within two minutes they've switched floor-plan modes and checked their headcount.
- Tone: Host-confident: precise numbers, warm specifics, zero wedding-industry gush. One dry line about the curfew.
## 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/cormorant-garamond (OFL-1.1), @fontsource-variable/jost (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. One HTML page at the project root: index.html (entry src/main.tsx).
- vite.config.ts: base './', plugins [react()], build { outDir 'dist', sourcemap false, assetsInlineLimit 0 }. Do not copy src/ into dist/.
- Tailwind 3.4 through PostCSS, content ['./index.html', './src/**/*.{ts,tsx}']. In tailwind.config.ts add every color under Design to theme.extend.colors with kebab-case keys (gallerywhite, linen, card, charcoal, charcoal-deep, ink, stonegray, champagne, champagne-deep, rule, good) and fontFamily display ['Cormorant Garamond', 'Georgia', 'serif'], sans ['Jost Variable', 'system-ui', 'sans-serif']. Set borderRadius DEFAULT to 4px and add maxWidth { container: '1240px' }.
- In src/fonts.ts import '@fontsource/cormorant-garamond/500.css', '@fontsource/cormorant-garamond/600.css', '@fontsource/cormorant-garamond/500-italic.css' and '@fontsource-variable/jost'; import src/fonts.ts and src/index.css from the entry file.
- File layout: src/content.ts (every string, capacity, package, hour, spec and image path, typed), src/lib/brand.ts (venueSlug = [VENUE] lowercased with every run of non-alphanumeric characters replaced by '-', emailDomain = venueSlug without hyphens + '.com', phoneDigits for tel:), src/lib/storage.ts (safe localStorage get/set wrapped in try/catch, keys prefixed with venueSlug + ':'), src/lib/layouts.ts (layoutFor(spaceSlug, mode) → { tables, rows, capacity, dancefloor } — deterministic seating math per mode used by the SVG plan).
- State: src/store/enquiry.ts is a tiny external store (useSyncExternalStore) holding { space, mode, guests, window, type, name, email, sent } persisted to localStorage key venueSlug + ':enquiry'.
- Components in src/components/: Header.tsx, Reveal.tsx (Motion whileInView wrapper), Eyebrow.tsx, Footer.tsx; Hero.tsx, Spaces.tsx (SpaceCard.tsx with CapacityTable.tsx), FloorPlan.tsx (ModeSwitch.tsx, PlanSVG.tsx, CapacityReadout.tsx), Gallery.tsx (Lightbox.tsx), Packages.tsx (TierCard.tsx), ManagerNote.tsx, EnquiryForm.tsx (GuestsStepper.tsx, WindowChips.tsx, SentCard.tsx), Logistics.tsx. src/pages/Home.tsx composes them.
- The FloorPlan is hand-rolled inline SVG: each space drawn to scale (the Main Hall as a warehouse rectangle with mezzanine line, the Gallery as an L, the Parlor as a smaller rect); mode switch animates table blocks (Motion layout, 400ms glide) and the CapacityReadout counts to the new capacity; a legend explains banquet rounds of 10, classroom rows, cocktail clusters.
- 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. index.html: lang en, <meta name='theme-color' content='#FAF8F4'>, <link rel='icon' href='./favicon.svg' type='image/svg+xml'>, <title>[VENUE] — An event venue in [CITY]</title>.
- Write ASSETS.md at the project root as described under Assets.
- dist/ holds index.html, hashed JS/CSS, the woff2 fonts, favicon.svg and the six images. Keep it under 10 MB.
## Variables
- [VENUE] — Venue name (default: "The Foundry Hall"). Invented venue name. Used in the wordmark, title, footer, email (events@ + venueSlug without hyphens + '.com') and localStorage keys. Never a real venue.
- [CITY] — City (default: "Providence, Rhode Island"). Where the venue is. Used in the title, hero, logistics and footer. Real cities fine; street invented.
- [STYLE_NOTE] — Style note (default: "warehouse light and long dinners"). One lowercase phrase naming what the venue is loved for. Drives the hero line and one package line.
- [CURFEW] — Noise curfew (default: "midnight"). The amplified-music cutoff as a time word ('midnight', '11pm'). Used in the logistics strip and one dry FAQ-free line. Keep it short.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/event-venue-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
- Gallery White `#FAF8F4` — Page background throughout.
- Linen `#F0EBE1` — Alternate section background (Spaces, Packages), chips, hover fill.
- Card `#FFFFFF` — Space cards, tier cards, the enquiry panel, lightbox chrome.
- Charcoal `#2B2926` — Headlines and body ink, footer background, photo overlays (as rgba(43,41,38,x)).
- Charcoal Deep `#1E1C1A` — Hover surfaces, hero overlay ink.
- Stone Gray `#6E6A61` — Secondary text, captions, eyebrows, disabled states.
- Champagne `#C2A265` — The one accent: primary buttons, capacity figures, selected mode, focus ring, plan table fills.
- Champagne Deep `#A3853F` — Hover and pressed states.
- Rule `#E2DCCF` — 1px hairlines, card borders, input borders, plan grid lines.
- Good `#3E8E6D` — Availability ticks, sent check, logistics icons.
### Typography
- Display: H1, H2, H3, space names, capacity figures, the wordmark — Cormorant Garamond, gallery-elegant: Cormorant Garamond (OFL), weights 500/600
- Text and UI: body, eyebrows, buttons, forms, captions; tabular numerals for capacities and hours: Jost (OFL), weights 400/500/600
### Layout & motion
- Spacing: 8px base unit. Container max-width 1240px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 108px desktop, 80px under 1024px, 62px under 640px — galleries breathe. Type scale: H1 clamp(46px, 6.8vw, 88px) Cormorant 500, line-height 1.04; H2 clamp(30px, 4vw, 50px) Cormorant 500; H3 22px Cormorant 600; capacity figures Cormorant 600 34px Champagne tabular; lead Jost 400 17.5px / 1.65 Charcoal at 88%; body 15.5px / 1.7 (max-width 62ch); eyebrow Jost 600 12px uppercase letter-spacing 0.2em Stone Gray; caption 13px Stone Gray. Buttons: height 52px, Jost 600 13.5px uppercase letter-spacing 0.08em. Primary: Champagne fill, Charcoal text. Secondary: 1px Charcoal/40% border. Inputs: height 50px, 1px Rule border, Card fill, focus Champagne border. Focus ring everywhere: 2px Champagne outline with 3px offset.
- Radius: 4px on cards, buttons, inputs, chips and photos — architectural. 999px only for pills, mode chips and the guest stepper.
- Motion: Easing: --ease-out cubic-bezier(0.22, 0.61, 0.36, 1) for reveals and gallery; --ease-io cubic-bezier(0.65, 0, 0.35, 1) for plan-mode transitions and the form swap. Composed and unhurried.
- Motion: Reveal: blocks wrapped in <Reveal> start at opacity 0, translateY(12px) and settle over 750ms --ease-out when 12% visible (Motion whileInView, viewport once). Siblings stagger 70ms.
- Motion: Hero: the set-hall photo scales 1.04→1.0 over 2400ms while the overlay lightens 4%; the H1 rises 16px with 140ms stagger; a hairline Champagne rule draws under the promise line.
- Motion: Floor plan modes: tables and rows glide to new positions (Motion layout, 400ms --ease-io); the dancefloor/stage blocks crossfade; the CapacityReadout counts to the new figure over 450ms; mode chips fill Champagne in 150ms.
- Motion: Capacity tables: figures never animate; a hover fills the row Linen and slides a 2px Champagne rule.
- Motion: Gallery: photos scale 1.03 on hover with the caption fading up; clicking opens the Lightbox (Charcoal overlay at 88%, keyboard arrows and Escape, focus returns).
- Motion: Enquiry: guests stepper pops on change; window chips fill Champagne on select; invalid submit shakes 4px with inline labels; sending swaps to SentCard (320ms --ease-io) — a drawn Champagne 'ON THE BOOKS' seal scaling in gently, 'Thank you, [NAME].' 'We reply within a day with real availability.' space/mode/guests echo, 'Edit the enquiry' pre-filled. Persisted in localStorage.
- Motion: Links: .link-draw grows a 1px currentColor underline over 280ms on hover and focus-visible.
- Motion: prefers-reduced-motion: reduce — plan modes swap instantly, no scales, counts or staggers; everything at rest; color/border hovers stay. Use CSS @media in index.css plus Motion's useReducedMotion in components.
- Imagery: Real photography, all six made for this template in one consistent style: high-ceilinged warehouse rooms in soft natural light, photographed empty or set for events — tables dressed, chairs aligned, no guests, no faces, no readable signage or vendor logos. The manager portrait is an AI-generated fictional person (a warm mid-forties host in a linen blazer) — a placeholder a real venue swaps for its own manager's photo. Every photo uses object-fit cover with the object-position given under Assets, 4px corners, no shadow. Captions in Jost 13px Stone Gray. Drawn in code: the favicon, the floor plans (spaces, tables, dancefloor, legend), the seal, chips and capacity tables. Icons: lucide-react only, stroke width 1.75.
## Pages & Sections
### Venue (`index.html`)
1. **Content file and copy rules** — All copy below is written for the default values ([VENUE] = The Foundry Hall, [CITY] = Providence, Rhode Island, [STYLE_NOTE] = warehouse light and long dinners, [CURFEW] = midnight). Put every string and number in src/content.ts and render from it. If any variable value differs, rewrite the hero, all three spaces and capacities, packages, logistics and enquiry copy so they are specific and believable for the new venue, keeping the same structure and counts (3 spaces × 3 capacities, 3 packages, 4 logistics, 6 gallery captions). All capacities, packages and facts are invented. Facts: address '88 Eddy Court, [CITY]' invented; phone (401) 555-0161; events Tue–Sun; amplified music until [CURFEW], acoustic anytime; load-in via the alley door with a freight elevator; 40-car lot plus street; step-free entry and elevator to the mezzanine. Spaces (name · size · capacities banquet/theater/cocktail · note): 'The Main Hall' '4,800 sq ft, 22-ft ceilings' '180 / 240 / 320' 'the warehouse heart: steel trusses, fairy lights, the long dinner'; 'The Gallery' '2,300 sq ft L-shaped' '80 / 110 / 150' 'daylight corner for ceremonies and slower mornings'; 'The Parlor' '900 sq ft' '30 / 40 / 60' 'cocktails, green room, or the after-party'. Packages: 'The Hall, bare' '$450/hr, 4-hour minimum' 'the room, the tables, the chairs, the freight elevator — you bring the rest'; 'Half managed' '$700/hr, 5-hour minimum' 'our preferred caterer list, a day-of coordinator, load-in crew'; 'Fully hosted' '$1,100/hr, 6-hour minimum' 'catering, bar staff, florist intro, coat check, and someone who fixes problems before you see them'. Logistics: Parking '40-car lot behind the building, street after 6'; Accessibility 'step-free entry, elevator to the mezzanine, accessible restrooms'; Load-in 'alley door, freight elevator, 8-hour windows'; Sound 'amplified until [CURFEW], acoustic anytime — the neighbors signed off, we kept the letter'.
Layout: n/a
Motion: n/a
2. **Header** — Left: the wordmark '[VENUE]' (Cormorant 600 21px) over 'An event venue · [CITY]' (10px uppercase Stone Gray) linking ./index.html. Right nav (Jost 500 13px uppercase letterspaced): 'Spaces' → #spaces, 'Floor plan' → #plan, 'Gallery' → #gallery, 'Packages' → #packages; a small Champagne 'Check availability' → #enquire. Under 780px: wordmark + enquire button. Under 640px the tagline hides and the CTA stays one line (shorter label 'Enquire' or smaller padding); the hero pads down by the header height so the eyebrow never overlaps it.
Layout: Sticky top, height 72px, Gallery White/95% blur, Rule border.
3. **Hero** — Full-bleed hall-set.webp (88svh, min 600px) under a soft Charcoal gradient. Eyebrow (Bone at 75%): 'AN EVENT VENUE · [CITY]'. H1 two lines: 'Room for the' / '*long, slow celebration.*' Lead (Bone at 85%, max-width 520px): '[VENUE] is three rooms of [STYLE_NOTE] — capacities on the page, the floor plan one tap away, and availability answered within a day.' Primary 'Check availability' → #enquire and secondary-on-photo 'See the floor plan' → #plan. Bottom strip on Charcoal/70%: 'Up to 320 guests' · 'Load-in with freight elevator' · 'Amplified until [CURFEW]'. A left-to-right charcoal gradient scrim backs the text block (or the overlay raises to ~55%) so body copy reads over bright windows; the paragraph gets a max-width and the italic second half never fights the photo.
Layout: Photo object-position 50% 55%; gradient Charcoal 0.5→0.15→0.85; content anchored bottom-left 116px up.
4. **Spaces** — Section id='spaces'. Eyebrow 'THREE ROOMS' and H2 'CAPACITIES, PRINTED.' Three SpaceCards (photo 4:3, name, sq ft + ceiling line, CapacityTable with banquet/theater/cocktail figures in Champagne tabular, one-line note): the roster. Tighten the intro sentence (drop the awkward hover phrasing); each room card gets a small 'See this room on the plan' link that selects the matching floor-plan room; mobile gets a tap cue instead of hover.
Layout: Linen background. Three columns 24px gap; capacity rows hairline-divided with config labels small-caps.
5. **Interactive floor plan** — Section id='plan'. Eyebrow 'THE VIRTUAL FLOOR PLAN' and H2 'WILL YOUR 120 FIT? YES — SEE HOW.' The FloorPlan: a space selector (three chips), a ModeSwitch (Banquet / Classroom / Cocktail), the PlanSVG of the selected space with tables/rows/clusters gliding into place (banquet rounds of 10 with dancefloor, classroom rows with aisle, cocktail clusters with bars), and the CapacityReadout ('Banquet: 180 seated · dancefloor 20×20') counting on change; a legend explains the blocks. Caption: 'Plans are indicative; your coordinator confirms to the chair.'
Layout: Gallery White background. The plan panel max-width 980px on Card with a Rule frame; space chips above, mode chips below; legend small-caps.
6. **Gallery** — Section id='gallery'. Eyebrow 'SET & EMPTY' and H2 'SIX VIEWS OF THREE ROOMS.' Six-photo mosaic with captions: hall-set.webp (reused) 'The Main Hall, set for 140'; hall-empty.webp 'The same hall, yours to fill'; gallery-ceremony.webp 'The Gallery, ceremony for 80'; mezzanine.webp 'The mezzanine, above it all'; parlor-bar.webp 'The Parlor, cocktail hour'; detail-trusses.webp 'Steel trusses, fairy lights, [STYLE_NOTE]'. Clicking opens the Lightbox. Rebuild the six-photo grid with explicit grid-template-areas (or a uniform 3x2): every cell filled, rows aligned, no tall-photo empty gaps, no half-spanning orphans; tall and wide shots balanced deliberately.
Layout: Linen background. 3x2 mosaic 16px gaps (tall items span rows); captions fade up on hover.
7. **Packages and manager note** — Section id='packages'. Eyebrow 'PACKAGES' and H2 'THREE WAYS TO TAKE THE ROOM.' TierCards (price Cormorant 32px Champagne, minimums line, 4–5 inclusions with Champagne ticks): the roster; the middle tier featured with a Champagne border and 'MOST BOOKED' chip. The ManagerNote beside: manager-wren.webp portrait (3:4) with the caption 'Wren Okafor, venue manager — a fictional host' and the note: 'Wren walks every enquiry personally — tell her the guest count and the vibe; she''ll tell you which room and whether the mezzanine is worth it.' Each tier gains a one-line 'best for' note (or the card heights shrink) so no ~200px hollow band sits between features and the Enquire button; card bottoms align deliberately.
Layout: Gallery White background. Three tiers 24px gap with the middle lifted; the note 4 cols beside on desktop (stacked under 1000px).
8. **Enquiry, logistics and footer** — Section id='enquire'. Eyebrow 'CHECK AVAILABILITY' and H2 'THREE TAPS TO A REAL ANSWER.' EnquiryForm on Card: space chips (three), GuestsStepper 20–320, WindowChips ('This month' / 'Next 1–3 months' / 'Just exploring'), event-type select (Wedding / Corporate / Birthday / Something else), name + email; primary 'Send the enquiry' with caption 'Saved in this browser — the real page emails Wren. Nothing is sent here.' SentCard: the ON THE BOOKS seal, 'Thank you, [NAME].' 'We reply within a day with real availability — hold dates go fast in spring.' space/guests echo, 'Edit the enquiry' pre-filled. LogisticsStrip: the four rows with Good icons. Footer (Charcoal, bone text): wordmark, '88 Eddy Court, [CITY]', (401) 555-0161 tel:, events@ + emailDomain; bottom line '© [VENUE]. Capacities are comfortable, not theoretical.' Style the Wedding select with a custom lucide chevron; show a live echo line ('Main Hall · 120 guests · banquet fits 180') tying the form to the room data; the form stays visually connected to the chips above.
Layout: Linen section for the enquiry (panel max-width 640px); logistics a hairline-bounded row of four below; footer three-part with bottom line.
## 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/ea242f9a-b922-492b-a5cb-36c6905b9310/hall-set.webp → public/images/hall-set.webp (Hero, Gallery; object-position 50% 55%; alt 'The Main Hall set for dinner with long tables and fairy lights'); https://media.vibefather.ai/assets/ea242f9a-b922-492b-a5cb-36c6905b9310/hall-empty.webp → public/images/hall-empty.webp (Gallery; alt 'The empty Main Hall with steel trusses and tall windows'); https://media.vibefather.ai/assets/ea242f9a-b922-492b-a5cb-36c6905b9310/gallery-ceremony.webp → public/images/gallery-ceremony.webp (Gallery, Spaces card; alt 'The Gallery room set with ceremony chairs in daylight'); https://media.vibefather.ai/assets/ea242f9a-b922-492b-a5cb-36c6905b9310/mezzanine.webp → public/images/mezzanine.webp (Gallery; alt 'The mezzanine walkway above the Main Hall'); https://media.vibefather.ai/assets/ea242f9a-b922-492b-a5cb-36c6905b9310/parlor-bar.webp → public/images/parlor-bar.webp (Spaces card, Gallery; alt 'The Parlor with a small bar and lounge chairs'); https://media.vibefather.ai/assets/ea242f9a-b922-492b-a5cb-36c6905b9310/manager-wren.webp → public/images/manager-wren.webp (Manager note; alt 'Wren Okafor, a fictional venue manager'). 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/cormorant-garamond and @fontsource-variable/jost (OFL-1.1) and lucide-react (ISC). No guest faces in any photo — rooms are photographed empty or set; the manager portrait is an AI-generated fictional person per the portrait rules; no readable signage or vendor logos.
- icon: lucide-react only: Users, LayoutGrid, Armchair, UtensilsCrossed, GlassWater, Car, Accessibility, Truck, Volume2, Check, Plus, Minus. Stroke width 1.75, 16–24px, color inherits. The floor plans (spaces, tables, dancefloor, legend blocks), the ON THE BOOKS seal, chips and favicon are drawn SVG. public/favicon.svg: viewBox 0 0 32 32, a 32x32 rect rx 5 filled #2B2926, a Champagne (#C2A265) truss-and-table glyph (two lines crossed over a small circle). No other logo: the venue name is always set as type.
- font: Install @fontsource/cormorant-garamond and @fontsource-variable/jost and import them in src/fonts.ts as listed in Setup. Vite bundles the woff2 files into dist/.
- image: Drawn in code: the interactive floor plans (three spaces, banquet/classroom/cocktail layouts, dancefloor and bars, legend), the seal, chips, capacity tables 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: the enquiry saves in the browser only (localStorage) and says so; tel: links are built from the phone digits.
- All links on this single page are anchors (./index.html#spaces, #plan, #gallery, #packages, #enquire) plus the footer mailto.
- No guest faces or identifiable events in any photo — rooms are photographed empty or artfully set; the manager portrait is an AI-generated fictional person, not any real individual; no vendor logos or readable signage.
- 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 venues, caterers or rental companies; capacities and packages are invented and consistent between the space cards, the floor plan and the packages.
- No dates or years anywhere; window chips are month-relative phrases; 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: plan modes swap instantly, no scales, counts or staggers; everything at rest; color/border hovers stay.
- The page must work at 1440x900 desktop and 390x844 mobile with zero console errors; space/mode chips, the stepper, selects and the form work with keyboard only and visible focus rings.
- Keep copy host-precise: no lorem, no 'magical day'; every capacity, hour and minimum lives in src/content.ts.
---
— Prompt by VibeFather · https://vibefather.ai/t/event-venue-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 活动场地网站
完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。
## 简介
为 [VENUE] 打造的单页网站,[VENUE] 是位于 [CITY] 的活动场地,以 [STYLE_NOTE] 著称,噪音宵禁时间为 [CURFEW]。网站必须能推销这个空间:三间厅房及容量表、一个互动式座位平面图(宴会/教室/鸡尾酒模式可实时重绘)、一个六张照片的画廊、三个套餐、一个客户端可用性查询、一张经理肖像(AI 生成的虚构人物),以及一条后勤信息条。单页:index.html,包含各区块(#spaces、#plan、#gallery、#packages、#enquire)。一切都在浏览器中运行;不会向任何地方提交数据。
- 受众:正在一个周日下午筛选三家场地的情侣和企业活动策划人。他们会比较容量、每小时费用,以及厅房坐满时的照片——平面图回答的是“我的 120 人坐得下吗”。
- 目标:促成查询。访客在十秒内看到主厅布置和查询 CTA;在两分钟内切换过平面图模式并核对了自己的人数。
- 语气:东道主式的自信:精确的数字、温暖的具体细节、零婚礼行业的煽情。用一句干巴巴的话交代宵禁。
## 技术栈(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/cormorant-garamond(OFL-1.1)、@fontsource-variable/jost(OFL-1.1)
- 构建(Build):`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。
- 安装配置(Setup):
- 使用 react-ts 模板,通过 npm create vite@latest 搭建脚手架。项目根目录下只有一个 HTML 页面:index.html(入口为 src/main.tsx)。
- vite.config.ts:base 设为 './',plugins 为 [react()],build 配置为 { outDir 'dist', sourcemap false, assetsInlineLimit 0 }。不要将 src/ 复制到 dist/ 中。
- Tailwind 3.4 通过 PostCSS 接入,content 为 ['./index.html', './src/**/*.{ts,tsx}']。在 tailwind.config.ts 中,将设计(Design)下的每种颜色以 kebab-case 键名添加到 theme.extend.colors(gallerywhite、linen、card、charcoal、charcoal-deep、ink、stonegray、champagne、champagne-deep、rule、good),并设置 fontFamily:display 为 ['Cormorant Garamond', 'Georgia', 'serif'],sans 为 ['Jost Variable', 'system-ui', 'sans-serif']。将 borderRadius 的 DEFAULT 设为 4px,并添加 maxWidth { container: '1240px' }。
- 在 src/fonts.ts 中导入 '@fontsource/cormorant-garamond/500.css'、'@fontsource/cormorant-garamond/600.css'、'@fontsource/cormorant-garamond/500-italic.css' 和 '@fontsource-variable/jost';在入口文件中导入 src/fonts.ts 和 src/index.css。
- 文件布局(File layout):src/content.ts(所有字符串、容量、套餐、时段、规格和图片路径,带类型)、src/lib/brand.ts(venueSlug = [VENUE] 转为小写,并将每一段连续的非字母数字字符替换为 '-';emailDomain = 去掉连字符的 venueSlug + '.com';phoneDigits 用于 tel:)、src/lib/storage.ts(安全的 localStorage get/set,用 try/catch 包裹,键名以 venueSlug + ':' 为前缀)、src/lib/layouts.ts(layoutFor(spaceSlug, mode) → { tables, rows, capacity, dancefloor }——按模式确定的座位计算,供 SVG 平面图使用)。
- 状态(State):src/store/enquiry.ts 是一个小型外部 store(useSyncExternalStore),持有 { space, mode, guests, window, type, name, email, sent },并持久化到 localStorage 键 venueSlug + ':enquiry'。
- 组件位于 src/components/:Header.tsx、Reveal.tsx(Motion whileInView 包装器)、Eyebrow.tsx、Footer.tsx;Hero.tsx、Spaces.tsx(含 CapacityTable.tsx 的 SpaceCard.tsx)、FloorPlan.tsx(ModeSwitch.tsx、PlanSVG.tsx、CapacityReadout.tsx)、Gallery.tsx(Lightbox.tsx)、Packages.tsx(TierCard.tsx)、ManagerNote.tsx、EnquiryForm.tsx(GuestsStepper.tsx、WindowChips.tsx、SentCard.tsx)、Logistics.tsx。src/pages/Home.tsx 负责组合它们。
- FloorPlan 是手写的内联 SVG:每个空间按比例绘制(Main Hall 为带夹层线的仓库矩形,Gallery 为 L 形,Parlor 为较小的矩形);模式切换会为桌块添加动画(Motion layout,400ms 滑动),CapacityReadout 会计数到新的容量;图例说明每桌 10 人的宴会圆桌、教室式排座、鸡尾酒式聚集区。
- 在首次构建之前,使用 curl -L -o 将 Assets 下列出的每张图片下载到 public/images/ 中,并使用给定的确切文件名。构建本身从不获取任何内容。
- public/favicon.svg 按 Assets 中所述。index.html:lang en,<meta name='theme-color' content='#FAF8F4'>,<link rel='icon' href='./favicon.svg' type='image/svg+xml'>,<title>[VENUE] — An event venue in [CITY]</title>。
- 按 Assets 中所述,在项目根目录写入 ASSETS.md。
- dist/ 包含 index.html、带哈希的 JS/CSS、woff2 字体、favicon.svg 和六张图片。保持在 10 MB 以下。
## 变量
- [VENUE] — 场馆名称(默认:"The Foundry Hall")。虚构的场馆名称。用于字标、标题、页脚、电子邮件(events@ + 不含连字符的 venueSlug + '.com')以及 localStorage 键。绝不使用真实场馆。
- [CITY] — 城市(默认:"Providence, Rhode Island")。场馆所在的城市。用于标题、主视觉区、后勤信息和页脚。可以使用真实城市;街道为虚构。
- [STYLE_NOTE] — 风格说明(默认:"warehouse light and long dinners")。一个全小写短语,说明该场馆因何而备受喜爱。用于驱动主视觉区文案和一条套餐文案。
- [CURFEW] — 噪音宵禁时间(默认:"midnight")。扩音音乐截止时间,以时间词表示('midnight'、'11pm')。用于后勤信息条和一条不带 FAQ 的简洁文案。保持简短。
- [CREDIT] — 在页脚保留一个小型 "Template by VibeFather" 链接,指向 https://vibefather.ai/t/event-venue-website(默认:是;删除此行即可移除)
页面与区块(Pages & Sections)下的文案是按默认值撰写的。如果你的取值不同,请为它们重写每一个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。
将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便日后无需改动组件即可替换内容。
## 设计
### 颜色(Colors)
- 画廊白(Gallery White)`#FAF8F4` — 全站页面背景。
- 亚麻色(Linen)`#F0EBE1` — 交替区块背景(空间、套餐)、标签、悬停填充。
- 卡片白(Card)`#FFFFFF` — 空间卡片、档位卡片、咨询面板、灯箱外框。
- 炭黑(Charcoal)`#2B2926` — 标题与正文文字、页脚背景、照片遮罩(以 rgba(43,41,38,x) 表示)。
- 深炭黑(Charcoal Deep)`#1E1C1A` — 悬停表面、首屏遮罩文字。
- 石灰色(Stone Gray)`#6E6A61` — 次要文字、说明文字、眉题、禁用状态。
- 香槟色(Champagne)`#C2A265` — 唯一强调色:主按钮、容量数字、选中模式、焦点环、平面表格填充。
- 深香槟色(Champagne Deep)`#A3853F` — 悬停与按下状态。
- 分隔线(Rule)`#E2DCCF` — 1px 细线、卡片边框、输入框边框、平面网格线。
- 可用绿(Good)`#3E8E6D` — 可用性对勾、发送成功对勾、物流图标。
### 字体排印(Typography)
- 展示字体:H1、H2、H3、空间名称、容量数字、字标 — Cormorant Garamond,画廊优雅风:Cormorant Garamond(OFL),字重 500/600
- 文本与界面:正文、眉题、按钮、表单、说明文字;容量与小时数使用等宽数字:Jost(OFL),字重 400/500/600
### 布局与动效(Layout & motion)
- 间距:8px 基准单位。容器最大宽度 1240px,居中,侧边内边距桌面端 48px、平板端 32px、640px 以下 20px。12 列网格,列间距 24px。区块垂直内边距桌面端 108px、1024px 以下 80px、640px 以下 62px — 让画廊有呼吸感。字号阶梯:H1 clamp(46px, 6.8vw, 88px) Cormorant 500,行高 1.04;H2 clamp(30px, 4vw, 50px) Cormorant 500;H3 22px Cormorant 600;容量数字 Cormorant 600 34px 香槟色等宽数字;导语 Jost 400 17.5px / 1.65 炭黑 88% 不透明度;正文 15.5px / 1.7(最大宽度 62ch);眉题 Jost 600 12px 大写 字距 0.2em 石灰色;说明文字 13px 石灰色。按钮:高度 52px,Jost 600 13.5px 大写 字距 0.08em。主按钮:香槟色填充,炭黑文字。次按钮:1px 炭黑/40% 边框。输入框:高度 50px,1px 分隔线边框,卡片白填充,聚焦时香槟色边框。全局焦点环:2px 香槟色轮廓,偏移 3px。
- 圆角:卡片、按钮、输入框、标签和照片均为 4px — 建筑感。999px 仅用于胶囊、模式标签和宾客步进器。
- 动效:缓动:--ease-out cubic-bezier(0.22, 0.61, 0.36, 1) 用于显现和画廊;--ease-io cubic-bezier(0.65, 0, 0.35, 1) 用于平面模式切换和表单切换。从容不迫。
- 动效:显现:包裹在 <Reveal> 中的区块从 opacity 0、translateY(12px) 开始,在 12% 可见时(Motion whileInView,viewport once)以 750ms --ease-out 落定。同级元素错开 70ms。
- 动效:首屏:宴会厅照片在 2400ms 内从 1.04 缩放至 1.0,同时遮罩变亮 4%;H1 上升 16px,错开 140ms;一条香槟色细线在承诺语下方绘制。
- 动效:平面图模式:桌子和行滑向新位置(Motion layout,400ms --ease-io);舞池/舞台区块交叉淡入淡出;CapacityReadout 在 450ms 内计数到新数字;模式标签在 150ms 内填充香槟色。
- 动效:容量表格:数字从不动画;悬停时整行填充亚麻色并滑入一条 2px 香槟色线。
- 动效:画廊:照片悬停时缩放 1.03,说明文字淡入上移;点击打开灯箱(炭黑遮罩 88%,键盘方向键和 Escape,焦点返回)。
- 动效:咨询:宾客步进器在变化时弹跳;窗口标签选中时填充香槟色;无效提交抖动 4px 并显示内联标签;发送时切换到 SentCard(320ms --ease-io)— 一枚绘制的香槟色 'ON THE BOOKS' 印章轻柔缩放进入,'Thank you, [NAME].' 'We reply within a day with real availability.' 空间/模式/宾客回显,'Edit the enquiry' 预填充。持久化在 localStorage 中。
- 动效:链接:.link-draw 在悬停和 focus-visible 时以 280ms 生长出 1px currentColor 下划线。
- 动效:prefers-reduced-motion: reduce — 平面模式即时切换,无缩放、计数或错开;一切静止;颜色/边框悬停保留。在 index.css 中使用 CSS @media,并在组件中使用 Motion 的 useReducedMotion。
- 图像:真实摄影,全部六张为模板以统一风格制作:高天花板仓库房间,柔和自然光,拍摄为空场或活动布置 — 餐桌布置、椅子对齐,无宾客、无面孔、无可读标牌或供应商标志。经理肖像为 AI 生成的虚构人物(一位温暖的四十五岁左右、穿亚麻西装外套的接待者)— 一个占位符,真实场地可替换为自己经理的照片。每张照片使用 object-fit cover,object-position 见 Assets 部分,4px 圆角,无阴影。说明文字 Jost 13px 石灰色。代码绘制:favicon、平面图(空间、桌子、舞池、图例)、印章、标签和容量表格。图标:仅 lucide-react,描边宽度 1.75。
## 页面与区块
### 场地(`index.html`)
1. **内容文件与文案规则** — 以下所有文案均针对默认值编写([VENUE] = The Foundry Hall,[CITY] = Providence, Rhode Island,[STYLE_NOTE] = warehouse light and long dinners,[CURFEW] = midnight)。将每个字符串和数字放入 src/content.ts 并从中渲染。若任何变量值不同,请重写主视觉、全部三个空间及容量、套餐、后勤和咨询文案,使其对新场地具体可信,同时保持相同结构和数量(3 个空间 × 3 种容量、3 个套餐、4 项后勤、6 个图库说明)。所有容量、套餐和事实均为虚构。事实:地址 '88 Eddy Court, [CITY]' 为虚构;电话 (401) 555-0161;活动时间为周二至周日;扩音音乐至 [CURFEW],原声音乐不限时;通过后巷门和货运电梯进场;40 车位停车场加街边停车;无障碍入口及通往夹层的电梯。空间(名称 · 面积 · 容量 宴会/剧场/鸡尾酒 · 备注):'The Main Hall' '4,800 sq ft, 22-ft ceilings' '180 / 240 / 320' 'the warehouse heart: steel trusses, fairy lights, the long dinner';'The Gallery' '2,300 sq ft L-shaped' '80 / 110 / 150' 'daylight corner for ceremonies and slower mornings';'The Parlor' '900 sq ft' '30 / 40 / 60' 'cocktails, green room, or the after-party'。套餐:'The Hall, bare' '$450/hr, 4-hour minimum' 'the room, the tables, the chairs, the freight elevator — you bring the rest';'Half managed' '$700/hr, 5-hour minimum' 'our preferred caterer list, a day-of coordinator, load-in crew';'Fully hosted' '$1,100/hr, 6-hour minimum' 'catering, bar staff, florist intro, coat check, and someone who fixes problems before you see them'。后勤:停车 '40-car lot behind the building, street after 6';无障碍 'step-free entry, elevator to the mezzanine, accessible restrooms';进场 'alley door, freight elevator, 8-hour windows';声音 'amplified until [CURFEW], acoustic anytime — the neighbors signed off, we kept the letter'。
布局:不适用
动效:不适用
2. **页眉** — 左侧:字标 '[VENUE]'(Cormorant 600 21px)上方为 'An event venue · [CITY]'(10px 大写 Stone Gray),链接至 ./index.html。右侧导航(Jost 500 13px 大写 加字距):'Spaces' → #spaces,'Floor plan' → #plan,'Gallery' → #gallery,'Packages' → #packages;一个小号 Champagne 色 'Check availability' → #enquire。低于 780px:字标 + 咨询按钮。低于 640px 时标语隐藏,CTA 保持一行(更短标签 'Enquire' 或更小内边距);主视觉向下留出页眉高度的内边距,使眉题永不与其重叠。
布局:顶部粘性,高度 72px,Gallery White/95% 模糊,Rule 边框。
3. **主视觉** — 全出血 hall-set.webp(88svh,最小 600px),覆盖柔和 Charcoal 渐变。眉题(Bone 75%):'AN EVENT VENUE · [CITY]'。H1 两行:'Room for the' / '*long, slow celebration.*' 导语(Bone 85%,最大宽度 520px):'[VENUE] is three rooms of [STYLE_NOTE] — capacities on the page, the floor plan one tap away, and availability answered within a day.' 主按钮 'Check availability' → #enquire 和照片上的次级按钮 'See the floor plan' → #plan。底部条带 Charcoal/70%:'Up to 320 guests' · 'Load-in with freight elevator' · 'Amplified until [CURFEW]'。从左到右的炭色渐变遮罩衬托文本块(或将叠加层提高至约 55%),使正文在明亮窗户上可读;段落设置最大宽度,斜体后半部分永不与照片冲突。
布局:照片 object-position 50% 55%;渐变 Charcoal 0.5→0.15→0.85;内容锚定左下,上移 116px。
4. **空间** — 区块 id='spaces'。眉题 'THREE ROOMS' 和 H2 'CAPACITIES, PRINTED.' 三个 SpaceCard(照片 4:3,名称,平方英尺 + 层高行,CapacityTable 以 Champagne 等宽数字显示宴会/剧场/鸡尾酒数字,一行备注):即名册。精简介绍句(去掉别扭的悬停措辞);每个房间卡片获得一个小号 'See this room on the plan' 链接,用于选择匹配的平面图房间;移动端获得点击提示而非悬停。
布局:Linen 背景。三列 24px 间距;容量行以细线分隔,配置标签为小型大写。
5. **交互式平面图** — 区块 id='plan'。眉题 'THE VIRTUAL FLOOR PLAN' 和 H2 'WILL YOUR 120 FIT? YES — SEE HOW.' FloorPlan:空间选择器(三个芯片),ModeSwitch(Banquet / Classroom / Cocktail),所选空间的 PlanSVG,桌子/排/簇滑入到位(宴会圆桌每桌 10 人带舞池,教室排带过道,鸡尾酒簇带吧台),以及 CapacityReadout('Banquet: 180 seated · dancefloor 20×20')在变化时计数;图例解释各区块。说明:'Plans are indicative; your coordinator confirms to the chair.'
布局:Gallery White 背景。平面图面板最大宽度 980px,位于 Card 上,带 Rule 边框;空间芯片在上,模式芯片在下;图例小型大写。
6. **图库** — 区块 id='gallery'。眉题 'SET & EMPTY' 和 H2 'SIX VIEWS OF THREE ROOMS.' 六照片马赛克带说明:hall-set.webp(复用)'The Main Hall, set for 140';hall-empty.webp 'The same hall, yours to fill';gallery-ceremony.webp 'The Gallery, ceremony for 80';mezzanine.webp 'The mezzanine, above it all';parlor-bar.webp 'The Parlor, cocktail hour';detail-trusses.webp 'Steel trusses, fairy lights, [STYLE_NOTE]'。点击打开 Lightbox。用显式 grid-template-areas(或统一 3x2)重建六照片网格:每个单元格填满,行对齐,无高照片空档,无半跨孤儿;高和宽镜头刻意平衡。
布局:Linen 背景。3x2 马赛克 16px 间距(高项目跨行);说明在悬停时淡入。
7. **套餐与经理备注** — 区块 id='packages'。眉题 'PACKAGES' 和 H2 'THREE WAYS TO TAKE THE ROOM.' TierCard(价格 Cormorant 32px Champagne,最低消费行,4–5 项包含内容带 Champagne 勾选):即名册;中间档位突出,带 Champagne 边框和 'MOST BOOKED' 芯片。旁边的 ManagerNote:manager-wren.webp 肖像(3:4),说明 'Wren Okafor, venue manager — a fictional host',备注:'Wren walks every enquiry personally — tell her the guest count and the vibe; she''ll tell you which room and whether the mezzanine is worth it.' 每个档位获得一行 'best for' 备注(或卡片高度缩小),使特色与 Enquire 按钮之间没有约 200px 的空带;卡片底部刻意对齐。
布局:Gallery White 背景。三个档位 24px 间距,中间抬升;备注在桌面端旁边 4 列(低于 1000px 堆叠)。
8. **咨询、后勤与页脚** — 区块 id='enquire'。眉题 'CHECK AVAILABILITY' 和 H2 'THREE TAPS TO A REAL ANSWER.' EnquiryForm 在 Card 上:空间芯片(三个),GuestsStepper 20–320,WindowChips('This month' / 'Next 1–3 months' / 'Just exploring'),活动类型选择(Wedding / Corporate / Birthday / Something else),姓名 + 邮箱;主按钮 'Send the enquiry',说明 'Saved in this browser — the real page emails Wren. Nothing is sent here.' SentCard:ON THE BOOKS 印章,'Thank you, [NAME].' 'We reply within a day with real availability — hold dates go fast in spring.' 空间/宾客回显,'Edit the enquiry' 预填。LogisticsStrip:四行带 Good 图标。页脚(Charcoal,骨色文本):字标,'88 Eddy Court, [CITY]',(401) 555-0161 tel:,events@ + emailDomain;底行 '© [VENUE]. Capacities are comfortable, not theoretical.' 用自定义 lucide 箭头样式化 Wedding 选择;显示实时回显行('Main Hall · 120 guests · banquet fits 180')将表单与房间数据关联;表单与上方芯片保持视觉连接。
布局:咨询部分为 Linen 区块(面板最大宽度 640px);后勤为下方细线边界的四行;页脚三部分带底行。
## 资源
- 图片:为本设计制作的模板照片(可随模板自由再分发)。用 curl -L -o 将每张图片下载到 public/images/:https://media.vibefather.ai/assets/ea242f9a-b922-492b-a5cb-36c6905b9310/hall-set.webp → public/images/hall-set.webp(Hero、Gallery;object-position 50% 55%;alt 'The Main Hall set for dinner with long tables and fairy lights');https://media.vibefather.ai/assets/ea242f9a-b922-492b-a5cb-36c6905b9310/hall-empty.webp → public/images/hall-empty.webp(Gallery;alt 'The empty Main Hall with steel trusses and tall windows');https://media.vibefather.ai/assets/ea242f9a-b922-492b-a5cb-36c6905b9310/gallery-ceremony.webp → public/images/gallery-ceremony.webp(Gallery、Spaces 卡片;alt 'The Gallery room set with ceremony chairs in daylight');https://media.vibefather.ai/assets/ea242f9a-b922-492b-a5cb-36c6905b9310/mezzanine.webp → public/images/mezzanine.webp(Gallery;alt 'The mezzanine walkway above the Main Hall');https://media.vibefather.ai/assets/ea242f9a-b922-492b-a5cb-36c6905b9310/parlor-bar.webp → public/images/parlor-bar.webp(Spaces 卡片、Gallery;alt 'The Parlor with a small bar and lounge chairs');https://media.vibefather.ai/assets/ea242f9a-b922-492b-a5cb-36c6905b9310/manager-wren.webp → public/images/manager-wren.webp(Manager 备注;alt 'Wren Okafor, a fictional venue manager')。共六个文件。
- 图片:在项目根目录写入 ASSETS.md,包含一个表格:path、source URL、author、license——每张照片一行(source 为 'media.vibefather.ai, made for this template',author 为 'VibeFather',license 为 'Distributed with the template'),另加 @fontsource/cormorant-garamond 和 @fontsource-variable/jost(OFL-1.1)以及 lucide-react(ISC)的行。任何照片中都没有宾客面孔——房间以空置或布置好的状态拍摄;经理肖像是根据肖像规则由 AI 生成的虚构人物;没有可辨认的标牌或供应商标志。
- 图标:仅使用 lucide-react:Users、LayoutGrid、Armchair、UtensilsCrossed、GlassWater、Car、Accessibility、Truck、Volume2、Check、Plus、Minus。描边宽度 1.75,16–24px,颜色继承。平面图(空间、桌子、舞池、图例块)、ON THE BOOKS 印章、标签和 favicon 为绘制的 SVG。public/favicon.svg:viewBox 0 0 32 32,一个 32x32 的 rect,rx 为 5,填充 #2B2926,一个 Champagne(#C2A265)桁架与桌子图形(两条线交叉在一个小圆上)。没有其他标志:场地名称始终以文字排版呈现。
- 字体:安装 @fontsource/cormorant-garamond 和 @fontsource-variable/jost,并在 src/fonts.ts 中按 Setup 所列导入它们。Vite 会将 woff2 文件打包进 dist/。
- 图片:在代码中绘制:交互式平面图(三个空间、宴会/教室/鸡尾酒布局、舞池和吧台、图例)、印章、标签、容量表和 favicon。除六张照片外没有其他位图;没有插图;没有地图瓦片。
## 禁止事项(Don'ts)
- 无后端、无表单提交、不向任何 API 发起 fetch:咨询信息仅保存在浏览器中(localStorage)并明确说明这一点;tel: 链接由电话号码数字构建。
- 此单页上的所有链接均为锚点(./index.html#spaces、#plan、#gallery、#packages、#enquire)外加页脚的 mailto。
- 任何照片中不得出现宾客面部或可识别的事件——房间以空置或艺术化布置拍摄;经理肖像为 AI 生成的虚构人物,非任何真实个人;不得出现供应商标志或可读标识。
- 一切自托管:字体通过 Fontsource,图标以 npm 包或内联 SVG 形式引入,图片下载至 public/images/。不得使用 CDN <script> 或 <link> 标签,不得使用 Google Fonts,不得使用分析工具。
- 生产构建:压缩、无 source map、不将 src/ 复制到 dist/、单一命令 npm run build、输出位于 dist/ 且小于 10 MB。
- 不得出现真实场地、餐饮供应商或租赁公司;容量与套餐为虚构,且在空间卡片、平面图和套餐之间保持一致。
- 任何地方不得出现日期或年份;窗口标签为相对月份的短语;网站永不显示当天日期。
- 除页脚可选的署名链接外,网站内绝不提及 VibeFather 或任何其他品牌;所有文案为虚构的美式英语。
- 尊重 prefers-reduced-motion:平面图模式即时切换,无缩放、计数或交错动画;一切处于静止状态;颜色/边框悬停效果保留。
- 页面必须在 1440x900 桌面端和 390x844 移动端正常工作且零控制台错误;空间/模式标签、步进器、选择器和表单仅用键盘即可操作,并有可见的焦点环。
- 文案保持宿主精确:无 lorem,无“magical day”;每个容量、小时和最低消费均存在于 src/content.ts 中。
---
— Prompt by VibeFather · https://vibefather.ai/t/event-venue-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: "Event Venue Website"
colors:
gallery_white: "#FAF8F4"
linen: "#F0EBE1"
card: "#FFFFFF"
charcoal: "#2B2926"
charcoal_deep: "#1E1C1A"
stone_gray: "#6E6A61"
champagne: "#C2A265"
champagne_deep: "#A3853F"
rule: "#E2DCCF"
good: "#3E8E6D"
typography:
display_h1_h2_h3_space_names_capacity_figures_the_wordmark_cormorant_garamond_gallery_elegant: { family: "Cormorant Garamond", weights: [500, 600] }
text_and_ui_body_eyebrows_buttons_forms_captions_tabular_numerals_for_capacities_and_hours: { family: "Jost", weights: [400, 500, 600] }
spacing: "8px base unit. Container max-width 1240px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 108px desktop, 80px under 1024px, 62px under 640px — galleries breathe. Type scale: H1 clamp(46px, 6.8vw, 88px) Cormorant 500, line-height 1.04; H2 clamp(30px, 4vw, 50px) Cormorant 500; H3 22px Cormorant 600; capacity figures Cormorant 600 34px Champagne tabular; lead Jost 400 17.5px / 1.65 Charcoal at 88%; body 15.5px / 1.7 (max-width 62ch); eyebrow Jost 600 12px uppercase letter-spacing 0.2em Stone Gray; caption 13px Stone Gray. Buttons: height 52px, Jost 600 13.5px uppercase letter-spacing 0.08em. Primary: Champagne fill, Charcoal text. Secondary: 1px Charcoal/40% border. Inputs: height 50px, 1px Rule border, Card fill, focus Champagne border. Focus ring everywhere: 2px Champagne outline with 3px offset."
radius: "4px on cards, buttons, inputs, chips and photos — architectural. 999px only for pills, mode chips and the guest stepper."
---
# Event Venue 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
- **Gallery White** `#FAF8F4` — Page background throughout.
- **Linen** `#F0EBE1` — Alternate section background (Spaces, Packages), chips, hover fill.
- **Card** `#FFFFFF` — Space cards, tier cards, the enquiry panel, lightbox chrome.
- **Charcoal** `#2B2926` — Headlines and body ink, footer background, photo overlays (as rgba(43,41,38,x)).
- **Charcoal Deep** `#1E1C1A` — Hover surfaces, hero overlay ink.
- **Stone Gray** `#6E6A61` — Secondary text, captions, eyebrows, disabled states.
- **Champagne** `#C2A265` — The one accent: primary buttons, capacity figures, selected mode, focus ring, plan table fills.
- **Champagne Deep** `#A3853F` — Hover and pressed states.
- **Rule** `#E2DCCF` — 1px hairlines, card borders, input borders, plan grid lines.
- **Good** `#3E8E6D` — Availability ticks, sent check, logistics icons.
## Typography
- **Display: H1, H2, H3, space names, capacity figures, the wordmark — Cormorant Garamond, gallery-elegant** — Cormorant Garamond (OFL), weights 500/600. Self-host the font files.
- **Text and UI: body, eyebrows, buttons, forms, captions; tabular numerals for capacities and hours** — Jost (OFL), weights 400/500/600. Self-host the font files.
## Spacing & shape
- Spacing: 8px base unit. Container max-width 1240px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 108px desktop, 80px under 1024px, 62px under 640px — galleries breathe. Type scale: H1 clamp(46px, 6.8vw, 88px) Cormorant 500, line-height 1.04; H2 clamp(30px, 4vw, 50px) Cormorant 500; H3 22px Cormorant 600; capacity figures Cormorant 600 34px Champagne tabular; lead Jost 400 17.5px / 1.65 Charcoal at 88%; body 15.5px / 1.7 (max-width 62ch); eyebrow Jost 600 12px uppercase letter-spacing 0.2em Stone Gray; caption 13px Stone Gray. Buttons: height 52px, Jost 600 13.5px uppercase letter-spacing 0.08em. Primary: Champagne fill, Charcoal text. Secondary: 1px Charcoal/40% border. Inputs: height 50px, 1px Rule border, Card fill, focus Champagne border. Focus ring everywhere: 2px Champagne outline with 3px offset.
- Radius: 4px on cards, buttons, inputs, chips and photos — architectural. 999px only for pills, mode chips and the guest stepper.
## Motion
- Easing: --ease-out cubic-bezier(0.22, 0.61, 0.36, 1) for reveals and gallery; --ease-io cubic-bezier(0.65, 0, 0.35, 1) for plan-mode transitions and the form swap. Composed and unhurried.
- Reveal: blocks wrapped in <Reveal> start at opacity 0, translateY(12px) and settle over 750ms --ease-out when 12% visible (Motion whileInView, viewport once). Siblings stagger 70ms.
- Hero: the set-hall photo scales 1.04→1.0 over 2400ms while the overlay lightens 4%; the H1 rises 16px with 140ms stagger; a hairline Champagne rule draws under the promise line.
- Floor plan modes: tables and rows glide to new positions (Motion layout, 400ms --ease-io); the dancefloor/stage blocks crossfade; the CapacityReadout counts to the new figure over 450ms; mode chips fill Champagne in 150ms.
- Capacity tables: figures never animate; a hover fills the row Linen and slides a 2px Champagne rule.
- Gallery: photos scale 1.03 on hover with the caption fading up; clicking opens the Lightbox (Charcoal overlay at 88%, keyboard arrows and Escape, focus returns).
- Enquiry: guests stepper pops on change; window chips fill Champagne on select; invalid submit shakes 4px with inline labels; sending swaps to SentCard (320ms --ease-io) — a drawn Champagne 'ON THE BOOKS' seal scaling in gently, 'Thank you, [NAME].' 'We reply within a day with real availability.' space/mode/guests echo, 'Edit the enquiry' pre-filled. Persisted in localStorage.
- Links: .link-draw grows a 1px currentColor underline over 280ms on hover and focus-visible.
- prefers-reduced-motion: reduce — plan modes swap instantly, no scales, counts or staggers; everything at rest; color/border hovers stay. Use CSS @media in index.css plus Motion's useReducedMotion in components.
## Imagery
Real photography, all six made for this template in one consistent style: high-ceilinged warehouse rooms in soft natural light, photographed empty or set for events — tables dressed, chairs aligned, no guests, no faces, no readable signage or vendor logos. The manager portrait is an AI-generated fictional person (a warm mid-forties host in a linen blazer) — a placeholder a real venue swaps for its own manager's photo. Every photo uses object-fit cover with the object-position given under Assets, 4px corners, no shadow. Captions in Jost 13px Stone Gray. Drawn in code: the favicon, the floor plans (spaces, tables, dancefloor, legend), the seal, chips and capacity tables. Icons: lucide-react only, stroke width 1.75.
## Tone
Host-confident: precise numbers, warm specifics, zero wedding-industry gush. One dry line about the curfew.
---
— Prompt by VibeFather · https://vibefather.ai/t/event-venue-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 改造仓库:将 [VENUE] 和 [CITY] 设置为您的大楼,保留主厅、画廊和会客厅的容量,并重写 [STYLE_NOTE] 以反映您的采光和进场情况。
- 花园庄园:将三个空间替换为草坪、橘园和露台,更新平面图模式和容量,并将图库替换为布置好用于仪式的场地照片。
- 企业会议场地:将套餐改为日代表费率,保留教室和鸡尾酒平面图模式,并围绕视听、停车和无障碍重写后勤信息条。
- 画廊或博物馆租赁:以您的房间命名空间,将 [CURFEW] 设置为您大楼的截止时间,并重写针对展览、招待会和私人预览的咨询文案。
活动场地网站:常见问题
活动场地网站模板中的交互式座位平面图是如何工作的?
活动场地网站模板在浏览器中将每个房间绘制为按比例缩放的平面图,并让访客在宴会、教室和鸡尾酒模式之间切换。桌子和排会滑动到新位置,同时容量读数会累加到新的数字,图例解释了十人圆桌、教室排和鸡尾酒组合。不涉及服务器,因此平面图会即时重绘。
怎么用 AI 做一个活动场地网站?
复制本页的提示词,或者运行 npx vibefather add event-venue-website,把 [CITY]、[VENUE]、[CURFEW]、[STYLE_NOTE] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。