跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

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

关于这个模板

一个室内设计工作室的单页网站:已完成房间的主视觉区、两个标志性房间的可拖拽前后对比滑块(也支持方向键操作)、三项服务及明确的交付内容、从倾听到定调的五步流程时间线、四个房间的作品展示(含项目范围和一句话说明)、用 CSS 色块绘制的材料色板条,以及一个在客户端确认的咨询请求表单(房间、预算区间、时间线、联系方式)。默认内容围绕一个虚构的两位女性工作室展开,但结构适用于任何设计业务——软装陈设、景观、翻新:更改工作室名称、城市、风格关键词和服务内容后,每个部分依然读起来真实可信。前后对比滑块为手工实现:居中的手柄、指针拖拽、键盘方向键和 ARIA 标签,两张图片成对生成,使对比效果可信。视觉风格是温暖的现代编辑风:灰米色和骨白色表面、浓缩咖啡色墨水、一个青铜色点缀,Fraunces 标题配 Albert Sans 正文,全宽摄影和不紧不慢的显现效果。要适配它,只需替换变量并在一个内容文件中重写文案;项目、服务和流程都从该文件读取。

模板提示词

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

# Interior Design Studio Website

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

## Brief
A single-page website for [STUDIO], an interior design studio in [CITY] making rooms [STYLE_WORDS], working on [SCOPES]. It must sell with transformations: two before/after sliders (drag and keyboard), services with deliverables, a five-step process, a six-project gallery, a materials strip and a consultation form that confirms client-side. One page: index.html with sections (#transformations, #services, #process, #work, #consult). Everything runs in the browser; nothing is submitted anywhere.

- Audience: Homeowners 35–60 planning a renovation or a fresh start, plus small hospitality owners. They browse at night with a glass of wine, drag every slider they find, and email the studio whose before/afters and process feel calm and organized.
- Goal: Produce consultation requests. Within ten seconds a visitor sees a finished room and a slider begging to be dragged; within two minutes they've seen the transformation, the process and the form.
- Tone: Warm and exact, like the studio's own design briefs: specific materials and room names, no 'curated luxe sanctuary', one dry joke about feature walls.

## 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-variable/fraunces (OFL-1.1), @fontsource-variable/albert-sans (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 (bone, greige, card, espresso, umber, bronze, bronze-deep, sage-gray, rule, night) and fontFamily display ['Fraunces Variable', 'Georgia', 'serif'], sans ['Albert Sans Variable', 'system-ui', 'sans-serif']. Set borderRadius DEFAULT to 6px and add maxWidth { container: '1200px' }.
  - In src/fonts.ts import '@fontsource-variable/fraunces' (with italic axis) and '@fontsource-variable/albert-sans'; import src/fonts.ts and src/index.css from the entry file.
  - File layout: src/content.ts (every string, service, step, project, swatch, form label and image path, typed), src/lib/brand.ts (studioSlug = [STUDIO] lowercased with every run of non-alphanumeric characters replaced by '-', emailDomain = studioSlug without hyphens + '.com'), src/lib/storage.ts (safe localStorage get/set wrapped in try/catch, keys prefixed with studioSlug + ':').
  - The BeforeAfter component is hand-rolled: a relative frame with the after image full-size and the before image clipped by clip-path inset(0 X% 0 0)... reversed so dragging right reveals more 'after'; a centered handle line with a circular grip (ChevronsLeftRight icon); pointerdown+move drag with a 4px threshold, ArrowLeft/Right keys stepping 5%, Home/End snapping; role='slider' with aria-valuenow/min/max and a text label ('Reveal before: 40%'). No library.
  - State: src/store/consult.ts is a tiny external store (useSyncExternalStore) holding { room, budget, timeline, name, email, note, sent } persisted to localStorage key studioSlug + ':consult'.
  - Components in src/components/: Header.tsx, Reveal.tsx (Motion whileInView wrapper), Eyebrow.tsx, Footer.tsx; Hero.tsx, BeforeAfter.tsx, Transformations.tsx, Services.tsx (ServiceCard.tsx), Process.tsx (StepRow.tsx), Gallery.tsx (ProjectCard.tsx, Lightbox.tsx), MaterialsStrip.tsx, ConsultForm.tsx (BudgetPills.tsx, SentCard.tsx). src/pages/Home.tsx composes them.
  - 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='#F4F0E8'>, <link rel='icon' href='./favicon.svg' type='image/svg+xml'>, <title>[STUDIO] — Interior design 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
- [STUDIO] — Studio name (default: "Fieldhouse & Vale"). Invented studio name. Used in the wordmark, title, footer, email (hello@ + studioSlug without hyphens + .com) and localStorage keys. Never a real studio.
- [CITY] — City (default: "Portland, Oregon"). Where the studio works. Used in the title, hero line, projects' neighborhoods and the footer. Real cities fine; streets invented.
- [STYLE_WORDS] — Style words (default: "warm, quiet and collected"). Three adjectives describing the studio's look ('warm, quiet and collected'). Drives the hero line, the materials strip caption and the process voice.
- [SCOPES] — Scope of work (default: "whole homes and single rooms"). What the studio takes on ('whole homes and single rooms', 'inns, restaurants and beach houses'). Drives the services intro, gallery project types and the consult form's room options.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/interior-design-studio-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
- Bone `#F4F0E8` — Page background throughout.
- Greige `#EAE4D9` — Alternate section background (Services, Gallery), hover fill.
- Card `#FCFAF6` — Service cards, the consult panel, sent card.
- Espresso `#2E2721` — Headlines, body text, icon color.
- Umber `#655A4E` — Secondary text, captions, eyebrows, step numbers.
- Bronze `#A87C4F` — The one accent: slider handles and lines, primary buttons, selected pills, focus ring, swatch frame.
- Bronze Deep `#8C663F` — Hover and pressed states, the timeline's filled rule.
- Sage Gray `#8B9084` — Quiet second color: 'before' labels, closed states, captions on photos.
- Rule `#DDD5C7` — 1px hairlines, card borders, input borders, gallery dividers.
- Night `#221D18` — Footer, photo overlays (as rgba(34,29,24,x)).

### Typography
- Display: H1, H2, H3, project names, step titles, the wordmark: Fraunces (OFL), weights 500/600
- Text and UI: body, eyebrows, buttons, form fields, captions; tabular numerals where numbers appear: Albert Sans (OFL), weights 400/600/700

### Layout & motion
- Spacing: 8px base unit. Container max-width 1200px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 112px desktop, 80px under 1024px, 64px under 640px. Type scale: H1 clamp(44px, 6.6vw, 88px) Fraunces 500, line-height 1.02; H2 clamp(30px, 4vw, 52px) Fraunces 500; H3 22px Fraunces 600; italic phrases in headings use Fraunces italic (marked with *asterisks*, rendered <em>); lead Albert Sans 400 18px / 1.7 Espresso at 90%; body 16px / 1.75 (max-width 64ch); eyebrow Albert Sans 700 12px uppercase letter-spacing 0.18em Umber with a 24px x 1px Bronze line; caption 13px Umber. Buttons: height 52px, Albert Sans 700 14px. Primary: Bronze fill, Card text. Secondary: 1px Espresso/40% border, Espresso text. Inputs: height 50px, 1px Rule border, Card fill, focus Bronze border. Focus ring everywhere: 2px Bronze outline with 3px offset.
- Radius: 6px on cards, buttons, inputs, pills and photos — architectural. 999px only for pills and the slider grip.
- 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 sliders' snap and form swap. Unhurried — interiors reward patience.
- Motion: Reveal: blocks wrapped in <Reveal> start at opacity 0, translateY(16px) and settle over 800ms --ease-out when 15% visible (Motion whileInView, viewport once). Siblings stagger 90ms.
- Motion: Hero: the room photo scales 1.04→1.0 over 2600ms; the headline rises 20px with 140ms stagger; a thin Bronze rule under the eyebrow draws outward.
- Motion: Before/after: the handle is draggable with 1:1 pointer tracking (no easing while dragging — honesty); on release it stays exactly where left; keyboard steps animate 120ms --ease-io; a small 'drag' hint label beside the grip fades out after the first interaction. The slider line carries a soft Night/20% shadow.
- Motion: Process timeline: a 1px Rule base with a Bronze fill that grows as the section scrolls (scaleY, useScroll on the list); each step's number fills Bronze as it reaches 60% view; rows settle with the standard reveal.
- Motion: Gallery: photos scale 1.02 on hover with a caption bar rising from the bottom edge; clicking opens the Lightbox (Night overlay at 85%, image max 84vh, caption in Bone, arrows + Escape navigate, focus returns to the invoking card) with a 260ms fade.
- Motion: Materials strip: swatches stagger in 60ms each, drawn as CSS blocks with a Bronze hairline frame; hovering a swatch lifts it 3px and shows its label.
- Motion: Consult form: budget pills fill Greige→Bronze on select (150ms); invalid submit shakes 4px once with inline hints; sending swaps the panel to the SentCard (300ms --ease-io) with a drawn Bronze envelope flap closing once.
- Motion: Links: .link-draw grows a 1px currentColor underline over 300ms on hover and focus-visible.
- Motion: prefers-reduced-motion: reduce — no hero scale, no staggered reveals (appear), no snap animation (keys jump), no flap draw; color/border hover changes stay. Use CSS @media in index.css plus Motion's useReducedMotion in components.
- Imagery: Warm real photography, all six made for this template in one consistent style: soft natural light, greige-bone palette with bronze accents and one sage plant, no people (no faces, no hands). The two before/after pairs share their camera angle exactly: 'before' rooms dated and empty (old wallpaper, bare bulbs, worn carpet), 'after' rooms styled and warm — matched compositions so the reveal reads true. Gallery images are finished rooms from varied angles. No readable text or logos. Every photo uses object-fit cover with the object-position given under Assets, 6px corners, no shadow; photos on Bone get a 1px Rule outline. Captions in Albert Sans 13px Umber. Drawn in code: the slider handle and line, swatch blocks, step numbers, the envelope stamp and the favicon. Icons: lucide-react only, stroke width 1.5.

## Pages & Sections
### Studio (`index.html`)
1. **Content file and copy rules** — All copy below is written for the default values ([STUDIO] = Fieldhouse & Vale, [CITY] = Portland, Oregon, [STYLE_WORDS] = warm, quiet and collected, [SCOPES] = whole homes and single rooms). Put every string and number in src/content.ts and render from it. If any variable value differs, rewrite the hero, services, steps, projects, swatches and form copy so they are specific and believable for the new studio, keeping the same structure and counts (2 before/after pairs, 3 services, 5 steps, 4 projects, 6 swatches). All projects, clients and budgets are invented. Facts: two principals (Ines Vale, Margot Fieldhouse — the studio's name order is theirs to argue about); studio at '12 Alder Court, [CITY]'; consults free, 45 minutes; budget bands in the form: under 10k, 10–35k, 35–75k, 75k+; timelines: 'as soon as', 'this season', 'just exploring'.
   Layout: n/a
   Motion: n/a
2. **Header** — Left: the wordmark '[STUDIO]' (Fraunces 600 20px, letter-spacing 0.02em) linking ./index.html. Right nav (Albert Sans 600 14px): 'Transformations' → #transformations, 'Services' → #services, 'Process' → #process, 'Work' → #work, and a small Bronze 'Book a consult' → #consult. Under 820px: wordmark + consult button, nav hidden.
   Layout: Sticky top, height 72px, transparent over the hero then Bone/94% blur with a Rule border.
3. **Hero** — Full-bleed hero-living.webp (92svh, min 640px). Eyebrow (Bone): 'INTERIOR DESIGN · [CITY]'. H1 in two lines: 'Rooms that feel' / '*like they were always yours.*' Lead (Bone at 88%, max-width 540px): '[STUDIO] designs [STYLE_WORDS] interiors for [SCOPES] — from one stubborn room to the whole floor plan, with a process you can follow line by line.' One primary button 'Start with a consult' → #consult. Bottom-left caption with a small drawn slider glyph: 'Scroll — the before/afters below are draggable.'
   Layout: Photo object-position 50% 60%; overlay gradient Night 0.35→0.05→0.75; content anchored bottom-left 120px up.
4. **Transformations** — Section id='transformations'. Eyebrow 'BEFORE & AFTER' and H2 'Drag the line. That''s the pitch.' Two BeforeAfter frames stacked with 48px gaps: 1) 'The Ladd''s Addition living room' — before-living.webp / hero-living.webp (same angle): before shows dated wallpaper, a bare bulb, wall-to-wall beige carpet; after shows warm greige walls, oak floors, a linen sofa and a sage plant. Caption row: 'Scope: full room · 5 weeks' and the line 'The radiator stayed; everything else found better work.' 2) 'The Alberta kitchen nook' — before-kitchen.webp / after-kitchen.webp: before shows cream laminate counters and heavy curtains; after shows oak counters, open shelving, brass sconces. Caption: 'Scope: surfaces + lighting · 3 weeks' and 'Same footprint, better posture.'
   Layout: Bone background. Frames 16:9, container width, 6px radius, 1px Rule border; labels 'BEFORE'/'AFTER' pinned top corners (Albert Sans 700 11px on Night/60% chips). Captions under each frame in a two-part row.
5. **Services** — Section id='services'. Eyebrow 'WHAT WE TAKE ON' and H2 'Three ways to work together.' Cards: 1) 'Full design' — 'From floor plan to final cushion: concept, drawings, sourcing, trades management, install and styling.' — 'Rooms or whole homes · typical 8–14 weeks' — '$180/hr or fixed-fee'. 2) 'The room refresh' — 'One room, three weeks: edit what''s there, re-source the essentials, restyle the shelves you''ve given up on.' — 'Best for living rooms, bedrooms, entries' — 'from $2,400'. 3) 'Color & materials consult' — 'A two-hour visit and a palette you can actually shop: paint, floors, counters, metals, with samples left behind.' — 'Best for pre-reno decisions' — '$340 flat'. A quiet line under the grid: 'Furniture at trade pricing where it exists; the discount is yours, not ours.'
   Layout: Greige background. Three columns 24px gap; cards on Card 1px Rule border 28px padding; title Fraunces 600 22px, deliverables Albert Sans 15px / 1.7, meta rows in Umber 13px with the price in Bronze 600.
6. **Process** — Section id='work'. Eyebrow 'SELECTED WORK' and H2 'Four rooms, four households.' ProjectCards (photo, name, scope line): 1) gallery-dining.webp 'The Irvington dining room' — 'Inherited table, new everything else · refresh'. 2) gallery-bedroom.webp 'The Woodlark primary suite' — 'A calm room for bad sleepers · full design'. 3) hero-living.webp (reused) 'The Ladd''s Addition living room' — 'See the slider above · full design'. 4) after-kitchen.webp (reused) 'The Alberta kitchen nook' — 'See the slider above · refresh'. Clicking opens the Lightbox.
   Layout: Greige background. 2x2 grid 20px gap; cards 16:12 photos with hover caption bars; under 700px: one column.
7. **Work** — Section id='work'. Eyebrow 'SELECTED WORK' and H2 'Six rooms, six households.' ProjectCards (photo, name, scope line): 1) gallery-dining.webp 'The Irvington dining room' — 'Inherited table, new everything else · refresh'. 2) gallery-bedroom.webp 'The Woodlark primary suite' — 'A calm room for bad sleepers · full design'. 3) gallery-bath.webp 'The Tibbetts bath' — 'Tile decisions, finally made · materials consult'. 4) hero-living.webp (reused) 'The Ladd''s Addition living room' — 'See the slider above · full design'. 5) gallery-office.webp 'The spare-room-that-became-an-office' — 'Work from home, minus the sad desk · refresh'. 6) gallery-entry.webp 'The mudroom that admits it' — 'A place for every wet thing · refresh'. Clicking opens the Lightbox.
   Layout: Greige background. 3x2 grid 20px gap; cards 16:12 photos with hover caption bars; under 900px: 2 columns, under 640px: one.
8. **Materials strip** — A Bone band: eyebrow 'THE PALETTE, THIS SEASON' and six CSS swatches with labels: 'White oak, matte' (#C9A97F), 'Greige wall, eggshell' (#D9D2C5), 'Linen, undyed' (#E8E2D6), 'Bronze, unlacquered' (#A87C4F), 'Sage, in pots' (#8B9084), 'Espresso, everywhere' (#2E2721). Caption: '[STYLE_WORDS] — the swatches go home with you at the consult.'
   Layout: Full-width band, 96px padding; swatches as 120x84 blocks with 1px Bronze hairline frames, labels 12.5px Umber under, staggering in on view.
9. **Consultation form** — Section id='consult'. Eyebrow 'START HERE' and H2 'A consult is free and forty-five minutes.' Panel on Card: room select (Living room / Kitchen / Primary suite / Bath / Whole home / Something else), BudgetPills (under 10k / 10–35k / 35–75k / 75k+), timeline pills ('as soon as' / 'this season' / 'just exploring'), name + email inputs, note textarea (placeholder 'The room, the problem, the deadline — any of the three helps.'); primary 'Request a consult' with caption 'Saved in this browser — the real page would reach the studio''s inbox. Nothing is charged or sent here.' SentCard: the drawn envelope flap closing, 'Request sent' (Fraunces 26px), 'Thank you, [NAME] — we''ll reply within two days with times.' summary echo (room · budget · timeline), 'Edit the request' returning pre-filled. Persisted in localStorage.
   Layout: Bone background; panel max-width 620px, 32px padding, 1px Rule border, 6px radius; pills 999px Greige with Bronze fill on select.
10. **Footer** — Night background, Bone-toned text. Three columns: 1) wordmark + '[STUDIO]' over 'Interiors [STYLE_WORDS] · [CITY]'. 2) 'Studio': '12 Alder Court, [CITY]', hello@ + emailDomain, 'By appointment, Tue–Sat'. 3) 'Around': Transformations, Services, Process, Work, Book a consult anchors. Bottom line: '© [STUDIO]. Photography made for this template; rooms invented with love.'
   Layout: Vertical padding 72px, 3 columns, bottom line 40px below a Bone/15% rule. Under 768px: stacked.

## 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/d660de51-1b1d-4106-89c3-674c16d9c7be/hero-living.webp → public/images/hero-living.webp (Site hero AND slider 1 AFTER layer AND Work card 3; object-position 50% 60%; alt 'A warm finished living room with greige walls, oak floors and a linen sofa'); https://media.vibefather.ai/assets/d660de51-1b1d-4106-89c3-674c16d9c7be/before-living.webp → public/images/before-living.webp (Slider 1 before, same angle; alt 'The same living room before: dated wallpaper, bare bulb and beige carpet'); https://media.vibefather.ai/assets/d660de51-1b1d-4106-89c3-674c16d9c7be/before-kitchen.webp → public/images/before-kitchen.webp (Slider 2 before; alt 'A dated kitchen nook with cream laminate counters and heavy curtains'); https://media.vibefather.ai/assets/d660de51-1b1d-4106-89c3-674c16d9c7be/after-kitchen.webp → public/images/after-kitchen.webp (Slider 2 after AND Work card 4, same angle; alt 'The same nook after: oak counters, open shelving and brass sconces'); https://media.vibefather.ai/assets/d660de51-1b1d-4106-89c3-674c16d9c7be/gallery-dining.webp → public/images/gallery-dining.webp (Work card 1; alt 'A dining room with an inherited wooden table under a modern pendant'); https://media.vibefather.ai/assets/d660de51-1b1d-4106-89c3-674c16d9c7be/gallery-bedroom.webp → public/images/gallery-bedroom.webp (Work card 2; alt 'A calm primary bedroom in linen and oak'). 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-variable/fraunces and @fontsource-variable/albert-sans (OFL-1.1) and lucide-react (ISC). Never replace photos with stock sites or images with people, faces, hands or readable branding.
- icon: lucide-react only: ChevronsLeftRight, ArrowLeft, ArrowRight, X, Check, ArrowUpRight, Ruler, Lamp, Sofa, MapPin, Mail, Clock. Stroke width 1.5, 16–24px, color inherits. The slider grip uses ChevronsLeftRight; the envelope flap, swatch frames and favicon are drawn SVG. public/favicon.svg: viewBox 0 0 32 32, a 32x32 rect rx 5 filled #2E2721, a Bone (#F4F0E8) doorway glyph (an arch) with a Bronze (#A87C4F) door line. No other logo: the studio name is always set as type.
- font: Install @fontsource-variable/fraunces and @fontsource-variable/albert-sans and import them in src/fonts.ts as listed in Setup. Vite bundles the woff2 files into dist/.
- image: Drawn in code: the slider handle, line and corner labels, the swatch blocks, step numbers, the envelope flap and the favicon. No other bitmaps; no illustrations; no map tiles.

## Don'ts
- No backend, no form submission, no fetch to any API: the consultation saves in the browser only (localStorage) and the form says so; the sliders are pure client state.
- All links on this single page are anchors (./index.html#transformations, #services, #process, #work, #consult).
- 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 12 MB.
- No real studios, projects, clients or brand-name furniture; no photos with people, faces or hands; no readable text or logos in any frame.
- No dates or years anywhere; 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 hero scale, no staggered reveals, no snap animation, no flap draw; sliders remain fully draggable and keyboard-operable; color/border hovers stay.
- The site must work at 1440x900 desktop and 390x844 mobile with zero console errors; sliders, pills and form work with keyboard only (Arrow keys step the slider, Home/End snap) and every interactive element has a visible focus ring.
- Keep copy concrete: no lorem, no 'curated sanctuary'; every scope, price and week count lives in src/content.ts.

---
— Prompt by VibeFather · https://vibefather.ai/t/interior-design-studio-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 室内设计工作室网站

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

## 简要说明
为 [STUDIO] 打造的单页网站。[STUDIO] 是位于 [CITY] 的室内设计工作室,擅长把房间做得 [STYLE_WORDS],业务范围涵盖 [SCOPES]。网站必须以改造效果打动人心:两个前后对比滑块(支持拖拽和键盘操作)、带交付物的服务介绍、五步流程、六个项目的作品集、材料展示条,以及一个在客户端完成确认的咨询表单。整站只有一个页面:index.html,包含多个区块(#transformations、#services、#process、#work、#consult)。一切都在浏览器中运行;不会向任何地方提交数据。

- 目标受众:35–60 岁、正在规划翻新或重新布置住宅的房主,以及小型酒店业经营者。他们在夜里端着一杯葡萄酒浏览网页,见到滑块就忍不住拖动,最终会联系那家前后对比图和流程让人感到平静有序的工作室。
- 目标:促成咨询请求。访客在十秒内看到一间完工的房间和一个让人忍不住想拖动的滑块;在两分钟内看到改造效果、流程和表单。
- 语气:温暖而精确,就像工作室自己的设计任务书:具体的材料和房间名称,不写“curated luxe sanctuary”这类套话,可以就特色墙开一个冷幽默的玩笑。

## 技术栈
- 框架:Vite 5 + React 18 + TypeScript
- 样式:Tailwind CSS 3.4
- 库: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-variable/fraunces(OFL-1.1)、@fontsource-variable/albert-sans(OFL-1.1)
- 构建:`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。
- 设置:
  - 使用 npm create vite@latest 以 react-ts 模板搭建脚手架。项目根目录下只有一个 HTML 页面:index.html(入口 src/main.tsx)。
  - vite.config.ts:base './',plugins [react()],build { outDir 'dist', sourcemap false, assetsInlineLimit 0 }。不要将 src/ 复制到 dist/。
  - 通过 PostCSS 使用 Tailwind 3.4,content ['./index.html', './src/**/*.{ts,tsx}']。在 tailwind.config.ts 中,将 Design 下的每种颜色以 kebab-case 键添加到 theme.extend.colors(bone、greige、card、espresso、umber、bronze、bronze-deep、sage-gray、rule、night),并设置 fontFamily display ['Fraunces Variable', 'Georgia', 'serif']、sans ['Albert Sans Variable', 'system-ui', 'sans-serif']。将 borderRadius DEFAULT 设为 6px,并添加 maxWidth { container: '1200px' }。
  - 在 src/fonts.ts 中导入 '@fontsource-variable/fraunces'(含 italic 轴)和 '@fontsource-variable/albert-sans';从入口文件导入 src/fonts.ts 和 src/index.css。
  - 文件布局:src/content.ts(所有字符串、服务、步骤、项目、色板、表单标签和图片路径,均带类型),src/lib/brand.ts(studioSlug = [STUDIO] 转为小写,并将每一段连续的非字母数字字符替换为 '-',emailDomain = 去掉连字符的 studioSlug + '.com'),src/lib/storage.ts(安全的 localStorage get/set,包裹在 try/catch 中,键前缀为 studioSlug + ':')。
  - BeforeAfter 组件为手写实现:一个相对定位的框架,after 图片全尺寸显示,before 图片通过 clip-path inset(0 X% 0 0) 裁剪……方向反转,使向右拖动显示更多 'after';居中的手柄线带圆形握把(ChevronsLeftRight 图标);pointerdown+move 拖动,带 4px 阈值,ArrowLeft/Right 键步进 5%,Home/End 吸附;role='slider',带 aria-valuenow/min/max 和文本标签('Reveal before: 40%')。不使用库。
  - 状态:src/store/consult.ts 是一个小型外部 store(useSyncExternalStore),持有 { room, budget, timeline, name, email, note, sent },持久化到 localStorage 键 studioSlug + ':consult'。
  - src/components/ 中的组件:Header.tsx、Reveal.tsx(Motion whileInView 包装器)、Eyebrow.tsx、Footer.tsx;Hero.tsx、BeforeAfter.tsx、Transformations.tsx、Services.tsx(ServiceCard.tsx)、Process.tsx(StepRow.tsx)、Gallery.tsx(ProjectCard.tsx、Lightbox.tsx)、MaterialsStrip.tsx、ConsultForm.tsx(BudgetPills.tsx、SentCard.tsx)。src/pages/Home.tsx 组合它们。
  - 在首次构建之前,使用 curl -L -o 将 Assets 下列出的每张图片下载到 public/images/,并使用给定的确切文件名。构建本身从不获取任何内容。
  - public/favicon.svg 如 Assets 下所述。index.html:lang en,<meta name='theme-color' content='#F4F0E8'>,<link rel='icon' href='./favicon.svg' type='image/svg+xml'>,<title>[STUDIO] — Interior design in [CITY]</title>。
  - 在项目根目录下按 Assets 下所述编写 ASSETS.md。
  - dist/ 包含 index.html、带哈希的 JS/CSS、woff2 字体、favicon.svg 和六张图片。保持在 10 MB 以下。

## 变量
- [STUDIO] — 工作室名称(默认:"Fieldhouse & Vale")。虚构的工作室名称。用于字标、标题、页脚、电子邮件(hello@ + 不含连字符的 studioSlug + .com)以及 localStorage 键。绝不使用真实工作室。
- [CITY] — 城市(默认:"Portland, Oregon")。工作室所在的工作地点。用于标题、主视觉文案、项目所在街区以及页脚。可以使用真实城市;街道为虚构。
- [STYLE_WORDS] — 风格词(默认:"warm, quiet and collected")。描述工作室外观的三个形容词('warm, quiet and collected')。驱动主视觉文案、材料条说明文字以及流程叙述语气。
- [SCOPES] — 工作范围(默认:"whole homes and single rooms")。工作室承接的项目类型('whole homes and single rooms'、'inns, restaurants and beach houses')。驱动服务介绍、画廊项目类型以及咨询表单的房间选项。
- [CREDIT] — 在页脚保留一个小型 "Template by VibeFather" 链接,指向 https://vibefather.ai/t/interior-design-studio-website(默认:是;删除此行即可移除)

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

## 设计
### 颜色(Colors)
- Bone `#F4F0E8` — 全站页面背景。
- Greige `#EAE4D9` — 交替区块背景(Services、Gallery),悬停填充。
- Card `#FCFAF6` — 服务卡片、咨询面板、已发送卡片。
- Espresso `#2E2721` — 标题、正文、图标颜色。
- Umber `#655A4E` — 次要文本、说明文字、眉题、步骤编号。
- Bronze `#A87C4F` — 唯一强调色:滑块手柄与线条、主按钮、选中胶囊、焦点环、色板边框。
- Bronze Deep `#8C663F` — 悬停与按下状态、时间线的填充线。
- Sage Gray `#8B9084` — 安静的第二色:'before' 标签、关闭状态、照片说明文字。
- Rule `#DDD5C7` — 1px 细线、卡片边框、输入框边框、画廊分隔线。
- Night `#221D18` — 页脚、照片遮罩(以 rgba(34,29,24,x) 表示)。

### 排版(Typography)
- 展示字体:H1、H2、H3、项目名称、步骤标题、字标:Fraunces(OFL),字重 500/600
- 文本与 UI:正文、眉题、按钮、表单字段、说明文字;数字出现处使用等宽数字:Albert Sans(OFL),字重 400/600/700

### 布局与动效(Layout & motion)
- 间距:8px 基准单位。容器最大宽度 1200px,居中,侧边内边距桌面端 48px、平板端 32px、640px 以下 20px。12 列网格,列间距 24px。区块垂直内边距桌面端 112px、1024px 以下 80px、640px 以下 64px。字号比例:H1 clamp(44px, 6.6vw, 88px) Fraunces 500,行高 1.02;H2 clamp(30px, 4vw, 52px) Fraunces 500;H3 22px Fraunces 600;标题中的斜体短语使用 Fraunces 斜体(以 *星号* 标记,渲染为 <em>);导语 Albert Sans 400 18px / 1.7 Espresso 90%;正文 16px / 1.75(最大宽度 64ch);眉题 Albert Sans 700 12px 大写 letter-spacing 0.18em Umber,配一条 24px x 1px Bronze 线;说明文字 13px Umber。按钮:高度 52px,Albert Sans 700 14px。主按钮:Bronze 填充,Card 文字。次按钮:1px Espresso/40% 边框,Espresso 文字。输入框:高度 50px,1px Rule 边框,Card 填充,聚焦时 Bronze 边框。全局焦点环:2px Bronze 轮廓,偏移 3px。
- 圆角:卡片、按钮、输入框、胶囊和照片均为 6px — 建筑感。仅胶囊和滑块手柄使用 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(16px) 开始,在 15% 可见时(Motion whileInView,viewport once)以 800ms --ease-out 稳定下来。同级元素错开 90ms。
- 动效:首屏:房间照片在 2600ms 内从 1.04 缩放至 1.0;标题上升 20px,错开 140ms;眉题下方一条细 Bronze 线向外绘制。
- 动效:前后对比:手柄可拖动,1:1 指针跟踪(拖动时无缓动 — 诚实);释放后精确停留在离开的位置;键盘步进以 120ms --ease-io 动画;手柄旁的小 'drag' 提示标签在首次交互后淡出。滑块线带有柔和的 Night/20% 阴影。
- 动效:流程时间线:1px Rule 基线配 Bronze 填充,随区块滚动增长(scaleY,在列表上使用 useScroll);每个步骤的编号在达到 60% 视口时填充 Bronze;行以标准显现稳定下来。
- 动效:画廊:照片悬停时缩放 1.02,说明栏从底边升起;点击打开 Lightbox(Night 遮罩 85%,图像最大 84vh,说明文字 Bone,方向键 + Escape 导航,焦点返回触发的卡片),260ms 淡入。
- 动效:材料条:色板每个错开 60ms 进入,绘制为带 Bronze 细线边框的 CSS 块;悬停色板时上浮 3px 并显示其标签。
- 动效:咨询表单:预算胶囊选中时从 Greige→Bronze 填充(150ms);无效提交抖动 4px 一次并显示内联提示;发送时将面板切换为 SentCard(300ms --ease-io),并绘制一个 Bronze 信封盖关闭一次。
- 动效:链接:.link-draw 在悬停和 focus-visible 时以 300ms 生长 1px currentColor 下划线。
- 动效:prefers-reduced-motion: reduce — 无首屏缩放、无错开显现(直接出现)、无吸附动画(按键跳转)、无信封盖绘制;颜色/边框悬停变化保留。在 index.css 中使用 CSS @media,并在组件中使用 Motion 的 useReducedMotion。
- 图像:温暖的真实摄影,全部六张为本模板以统一风格制作:柔和自然光,greige-bone 色调配 bronze 点缀和一株鼠尾草植物,无人物(无面孔、无手)。两组前后对比照片共享完全相同的相机角度:'before' 房间陈旧空旷(旧壁纸、裸灯泡、磨损地毯),'after' 房间布置温暖 — 构图匹配,使揭示真实可信。画廊图像是从不同角度拍摄的完成房间。无可读文字或标志。每张照片使用 object-fit cover,object-position 见 Assets 下说明,6px 圆角,无阴影;Bone 上的照片获得 1px Rule 轮廓。说明文字 Albert Sans 13px Umber。代码绘制:滑块手柄和线条、色板块、步骤编号、信封邮票和 favicon。图标:仅 lucide-react,描边宽度 1.5。

## 页面与区块
### 工作室(`index.html`)
1. **内容文件与文案规则** — 以下所有文案均按默认值编写([STUDIO] = Fieldhouse & Vale,[CITY] = Portland, Oregon,[STYLE_WORDS] = warm, quiet and collected,[SCOPES] = whole homes and single rooms)。将每个字符串和数字放入 src/content.ts 并从中渲染。如果任何变量值不同,请重写主视觉、服务、步骤、项目、色板和表单文案,使其对新工作室具体且可信,保持相同的结构和数量(2 组前后对比、3 项服务、5 个步骤、4 个项目、6 个色板)。所有项目、客户和预算均为虚构。事实:两位主理人(Ines Vale、Margot Fieldhouse——工作室名称的顺序由她们自己争论);工作室地址为 '12 Alder Court, [CITY]';咨询免费,45 分钟;表单中的预算区间:1 万以下、1–3.5 万、3.5–7.5 万、7.5 万以上;时间线:'as soon as'、'this season'、'just exploring'。
   布局:不适用
   动效:不适用
2. **页眉** — 左侧:字标 '[STUDIO]'(Fraunces 600 20px,letter-spacing 0.02em)链接到 ./index.html。右侧导航(Albert Sans 600 14px):'Transformations' → #transformations,'Services' → #services,'Process' → #process,'Work' → #work,以及一个小型 Bronze 色 'Book a consult' → #consult。低于 820px:字标 + 咨询按钮,导航隐藏。
   布局:粘性顶部,高度 72px,在主视觉上方透明,然后为 Bone/94% 模糊并带 Rule 边框。
3. **主视觉** — 全出血 hero-living.webp(92svh,最小 640px)。眉题(Bone):'INTERIOR DESIGN · [CITY]'。H1 分两行:'Rooms that feel' / '*like they were always yours.*' 导语(Bone 88%,最大宽度 540px):'[STUDIO] designs [STYLE_WORDS] interiors for [SCOPES] — from one stubborn room to the whole floor plan, with a process you can follow line by line.' 一个主按钮 'Start with a consult' → #consult。左下角说明文字带一个小型手绘滑块图标:'Scroll — the before/afters below are draggable.'
   布局:照片 object-position 50% 60%;叠加渐变 Night 0.35→0.05→0.75;内容锚定左下角向上 120px。
4. **改造对比** — 区块 id='transformations'。眉题 'BEFORE & AFTER' 和 H2 'Drag the line. That''s the pitch.' 两个 BeforeAfter 框架堆叠,间距 48px:1)'The Ladd''s Addition living room' — before-living.webp / hero-living.webp(相同角度):改造前显示过时的壁纸、裸露的灯泡、通铺米色地毯;改造后显示温暖的灰米色墙面、橡木地板、亚麻沙发和一盆鼠尾草。说明行:'Scope: full room · 5 weeks' 以及文字 'The radiator stayed; everything else found better work.' 2)'The Alberta kitchen nook' — before-kitchen.webp / after-kitchen.webp:改造前显示奶油色层压板台面和厚重窗帘;改造后显示橡木台面、开放式搁架、黄铜壁灯。说明:'Scope: surfaces + lighting · 3 weeks' 和 'Same footprint, better posture.'
   布局:Bone 背景。框架 16:9,容器宽度,6px 圆角,1px Rule 边框;标签 'BEFORE'/'AFTER' 固定在顶部角落(Albert Sans 700 11px,Night/60% 芯片上)。每个框架下方的说明文字分两部分排列。
5. **服务** — 区块 id='services'。眉题 'WHAT WE TAKE ON' 和 H2 'Three ways to work together.' 卡片:1)'Full design' — 'From floor plan to final cushion: concept, drawings, sourcing, trades management, install and styling.' — 'Rooms or whole homes · typical 8–14 weeks' — '$180/hr or fixed-fee'。2)'The room refresh' — 'One room, three weeks: edit what''s there, re-source the essentials, restyle the shelves you''ve given up on.' — 'Best for living rooms, bedrooms, entries' — 'from $2,400'。3)'Color & materials consult' — 'A two-hour visit and a palette you can actually shop: paint, floors, counters, metals, with samples left behind.' — 'Best for pre-reno decisions' — '$340 flat'。网格下方一行低调文字:'Furniture at trade pricing where it exists; the discount is yours, not ours.'
   布局:Greige 背景。三列 24px 间距;卡片在 Card 上 1px Rule 边框 28px 内边距;标题 Fraunces 600 22px,交付内容 Albert Sans 15px / 1.7,元信息行 Umber 13px,价格 Bronze 600。
6. **流程** — 区块 id='work'。眉题 'SELECTED WORK' 和 H2 'Four rooms, four households.' ProjectCards(照片、名称、范围行):1)gallery-dining.webp 'The Irvington dining room' — 'Inherited table, new everything else · refresh'。2)gallery-bedroom.webp 'The Woodlark primary suite' — 'A calm room for bad sleepers · full design'。3)hero-living.webp(复用)'The Ladd''s Addition living room' — 'See the slider above · full design'。4)after-kitchen.webp(复用)'The Alberta kitchen nook' — 'See the slider above · refresh'。点击打开 Lightbox。
   布局:Greige 背景。2x2 网格 20px 间距;卡片 16:12 照片,悬停说明栏;低于 700px:单列。
7. **作品** — 区块 id='work'。眉题 'SELECTED WORK' 和 H2 'Six rooms, six households.' ProjectCards(照片、名称、范围行):1)gallery-dining.webp 'The Irvington dining room' — 'Inherited table, new everything else · refresh'。2)gallery-bedroom.webp 'The Woodlark primary suite' — 'A calm room for bad sleepers · full design'。3)gallery-bath.webp 'The Tibbetts bath' — 'Tile decisions, finally made · materials consult'。4)hero-living.webp(复用)'The Ladd''s Addition living room' — 'See the slider above · full design'。5)gallery-office.webp 'The spare-room-that-became-an-office' — 'Work from home, minus the sad desk · refresh'。6)gallery-entry.webp 'The mudroom that admits it' — 'A place for every wet thing · refresh'。点击打开 Lightbox。
   布局:Greige 背景。3x2 网格 20px 间距;卡片 16:12 照片,悬停说明栏;低于 900px:2 列,低于 640px:单列。
8. **材料条带** — 一个 Bone 色带:眉题 'THE PALETTE, THIS SEASON' 和六个 CSS 色板及标签:'White oak, matte'(#C9A97F)、'Greige wall, eggshell'(#D9D2C5)、'Linen, undyed'(#E8E2D6)、'Bronze, unlacquered'(#A87C4F)、'Sage, in pots'(#8B9084)、'Espresso, everywhere'(#2E2721)。说明:'[STYLE_WORDS] — the swatches go home with you at the consult.'
   布局:全宽条带,96px 内边距;色板为 120x84 块,带 1px Bronze 细线边框,标签 12.5px Umber 在下方,进入视口时交错出现。
9. **咨询表单** — 区块 id='consult'。眉题 'START HERE' 和 H2 'A consult is free and forty-five minutes.' 面板在 Card 上:房间选择(Living room / Kitchen / Primary suite / Bath / Whole home / Something else)、BudgetPills(1 万以下 / 1–3.5 万 / 3.5–7.5 万 / 7.5 万以上)、时间线胶囊('as soon as' / 'this season' / 'just exploring')、姓名 + 邮箱输入框、备注文本域(占位符 'The room, the problem, the deadline — any of the three helps.');主按钮 'Request a consult' 带说明 'Saved in this browser — the real page would reach the studio''s inbox. Nothing is charged or sent here.' SentCard:手绘信封盖合上,'Request sent'(Fraunces 26px),'Thank you, [NAME] — we''ll reply within two days with times.' 摘要回显(房间 · 预算 · 时间线),'Edit the request' 返回预填状态。持久化在 localStorage 中。
   布局:Bone 背景;面板最大宽度 620px,32px 内边距,1px Rule 边框,6px 圆角;胶囊 999px Greige,选中时 Bronze 填充。
10. **页脚** — Night 背景,Bone 色调文字。三列:1)字标 + '[STUDIO]' 在 'Interiors [STYLE_WORDS] · [CITY]' 上方。2)'Studio':'12 Alder Court, [CITY]'、hello@ + emailDomain、'By appointment, Tue–Sat'。3)'Around':Transformations、Services、Process、Work、Book a consult 锚点。底部行:'© [STUDIO]. Photography made for this template; rooms invented with love.'
    布局:垂直内边距 72px,3 列,底部行在 Bone/15% 分隔线上方 40px。低于 768px:堆叠。

## 资源
- 图片:为本设计制作的模板照片(可随模板自由再分发)。用 curl -L -o 将每个文件下载到 public/images/:https://media.vibefather.ai/assets/d660de51-1b1d-4106-89c3-674c16d9c7be/hero-living.webp → public/images/hero-living.webp(站点主视觉 AND 滑块 1 的 AFTER 图层 AND 作品卡片 3;object-position 50% 60%;alt 'A warm finished living room with greige walls, oak floors and a linen sofa');https://media.vibefather.ai/assets/d660de51-1b1d-4106-89c3-674c16d9c7be/before-living.webp → public/images/before-living.webp(滑块 1 的 before,同一角度;alt 'The same living room before: dated wallpaper, bare bulb and beige carpet');https://media.vibefather.ai/assets/d660de51-1b1d-4106-89c3-674c16d9c7be/before-kitchen.webp → public/images/before-kitchen.webp(滑块 2 的 before;alt 'A dated kitchen nook with cream laminate counters and heavy curtains');https://media.vibefather.ai/assets/d660de51-1b1d-4106-89c3-674c16d9c7be/after-kitchen.webp → public/images/after-kitchen.webp(滑块 2 的 after AND 作品卡片 4,同一角度;alt 'The same nook after: oak counters, open shelving and brass sconces');https://media.vibefather.ai/assets/d660de51-1b1d-4106-89c3-674c16d9c7be/gallery-dining.webp → public/images/gallery-dining.webp(作品卡片 1;alt 'A dining room with an inherited wooden table under a modern pendant');https://media.vibefather.ai/assets/d660de51-1b1d-4106-89c3-674c16d9c7be/gallery-bedroom.webp → public/images/gallery-bedroom.webp(作品卡片 2;alt 'A calm primary bedroom in linen and oak')。共六个文件。
- 图片:在项目根目录写入 ASSETS.md,包含一个表格:path、source URL、author、license——每张照片一行(source 为 'media.vibefather.ai, made for this template',author 为 'VibeFather',license 为 'Distributed with the template'),另加 @fontsource-variable/fraunces 和 @fontsource-variable/albert-sans(OFL-1.1)以及 lucide-react(ISC)的行。绝不用图库网站或包含人物、面孔、手或可读品牌标识的图片替换照片。
- 图标:仅使用 lucide-react:ChevronsLeftRight、ArrowLeft、ArrowRight、X、Check、ArrowUpRight、Ruler、Lamp、Sofa、MapPin、Mail、Clock。描边宽度 1.5,16–24px,颜色继承。滑块握柄使用 ChevronsLeftRight;信封翻盖、色板边框和 favicon 为绘制的 SVG。public/favicon.svg:viewBox 0 0 32 32,一个 32x32 的 rect rx 5,填充 #2E2721,一个 Bone(#F4F0E8)门洞字形(拱形),带一条 Bronze(#A87C4F)门线。不使用其他标志:工作室名称始终以文字排版呈现。
- 字体:安装 @fontsource-variable/fraunces 和 @fontsource-variable/albert-sans,并按 Setup 中列出的方式在 src/fonts.ts 中导入它们。Vite 会将 woff2 文件打包进 dist/。
- 图片:在代码中绘制:滑块手柄、线条和角落标签、色板块、步骤编号、信封翻盖和 favicon。不使用其他位图;不使用插画;不使用地图瓦片。

## 禁止事项
- 无后端、无表单提交、不向任何 API 发起 fetch 请求:咨询内容仅保存在浏览器中(localStorage),表单中已对此作出说明;滑块为纯客户端状态。
- 此单页上的所有链接均为锚点(./index.html#transformations、#services、#process、#work、#consult)。
- 一切资源自托管:字体通过 Fontsource 引入,图标以 npm 包或内联 SVG 形式使用,图片下载至 public/images/。不得使用 CDN 的 <script> 或 <link> 标签,不得使用 Google Fonts,不得使用分析工具。
- 生产构建:压缩、无 source map、不将 src/ 复制到 dist/、使用单一命令 npm run build、输出位于 dist/ 且小于 12 MB。
- 不得出现真实工作室、项目、客户或品牌家具;不得出现含人物、面部或手部的照片;任何画面中不得出现可读文字或标志。
- 任何位置不得出现日期或年份;网站永不显示当天日期。
- 除页脚可选的署名链接外,网站内绝不提及 VibeFather 或任何其他品牌;所有文案均为虚构的美式英语。
- 遵循 prefers-reduced-motion:无 hero 缩放、无交错显现、无 snap 动画、无翻页绘制;滑块保持完全可拖拽且可键盘操作;颜色/边框悬停效果保留。
- 网站必须在 1440x900 桌面端和 390x844 移动端正常工作,控制台零错误;滑块、胶囊按钮和表单仅用键盘即可操作(方向键步进滑块,Home/End 吸附)且每个交互元素都有可见的焦点环。
- 文案保持具体:不得使用 lorem,不得使用“curated sanctuary”;每个范围、价格和周数均存放于 src/content.ts。

---
— Prompt by VibeFather · https://vibefather.ai/t/interior-design-studio-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: "Interior Design Studio Website"
colors:
  bone: "#F4F0E8"
  greige: "#EAE4D9"
  card: "#FCFAF6"
  espresso: "#2E2721"
  umber: "#655A4E"
  bronze: "#A87C4F"
  bronze_deep: "#8C663F"
  sage_gray: "#8B9084"
  rule: "#DDD5C7"
  night: "#221D18"
typography:
  display_h1_h2_h3_project_names_step_titles_the_wordmark: { family: "Fraunces", weights: [500, 600] }
  text_and_ui_body_eyebrows_buttons_form_fields_captions_tabular_numerals_where_numbers_appear: { family: "Albert Sans", weights: [400, 600, 700] }
spacing: "8px base unit. Container max-width 1200px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 112px desktop, 80px under 1024px, 64px under 640px. Type scale: H1 clamp(44px, 6.6vw, 88px) Fraunces 500, line-height 1.02; H2 clamp(30px, 4vw, 52px) Fraunces 500; H3 22px Fraunces 600; italic phrases in headings use Fraunces italic (marked with *asterisks*, rendered <em>); lead Albert Sans 400 18px / 1.7 Espresso at 90%; body 16px / 1.75 (max-width 64ch); eyebrow Albert Sans 700 12px uppercase letter-spacing 0.18em Umber with a 24px x 1px Bronze line; caption 13px Umber. Buttons: height 52px, Albert Sans 700 14px. Primary: Bronze fill, Card text. Secondary: 1px Espresso/40% border, Espresso text. Inputs: height 50px, 1px Rule border, Card fill, focus Bronze border. Focus ring everywhere: 2px Bronze outline with 3px offset."
radius: "6px on cards, buttons, inputs, pills and photos — architectural. 999px only for pills and the slider grip."
---

# Interior Design Studio 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
- **Bone** `#F4F0E8` — Page background throughout.
- **Greige** `#EAE4D9` — Alternate section background (Services, Gallery), hover fill.
- **Card** `#FCFAF6` — Service cards, the consult panel, sent card.
- **Espresso** `#2E2721` — Headlines, body text, icon color.
- **Umber** `#655A4E` — Secondary text, captions, eyebrows, step numbers.
- **Bronze** `#A87C4F` — The one accent: slider handles and lines, primary buttons, selected pills, focus ring, swatch frame.
- **Bronze Deep** `#8C663F` — Hover and pressed states, the timeline's filled rule.
- **Sage Gray** `#8B9084` — Quiet second color: 'before' labels, closed states, captions on photos.
- **Rule** `#DDD5C7` — 1px hairlines, card borders, input borders, gallery dividers.
- **Night** `#221D18` — Footer, photo overlays (as rgba(34,29,24,x)).

## Typography
- **Display: H1, H2, H3, project names, step titles, the wordmark** — Fraunces (OFL), weights 500/600. Self-host the font files.
- **Text and UI: body, eyebrows, buttons, form fields, captions; tabular numerals where numbers appear** — Albert Sans (OFL), weights 400/600/700. Self-host the font files.

## Spacing & shape
- Spacing: 8px base unit. Container max-width 1200px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 112px desktop, 80px under 1024px, 64px under 640px. Type scale: H1 clamp(44px, 6.6vw, 88px) Fraunces 500, line-height 1.02; H2 clamp(30px, 4vw, 52px) Fraunces 500; H3 22px Fraunces 600; italic phrases in headings use Fraunces italic (marked with *asterisks*, rendered <em>); lead Albert Sans 400 18px / 1.7 Espresso at 90%; body 16px / 1.75 (max-width 64ch); eyebrow Albert Sans 700 12px uppercase letter-spacing 0.18em Umber with a 24px x 1px Bronze line; caption 13px Umber. Buttons: height 52px, Albert Sans 700 14px. Primary: Bronze fill, Card text. Secondary: 1px Espresso/40% border, Espresso text. Inputs: height 50px, 1px Rule border, Card fill, focus Bronze border. Focus ring everywhere: 2px Bronze outline with 3px offset.
- Radius: 6px on cards, buttons, inputs, pills and photos — architectural. 999px only for pills and the slider grip.

## 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 sliders' snap and form swap. Unhurried — interiors reward patience.
- Reveal: blocks wrapped in <Reveal> start at opacity 0, translateY(16px) and settle over 800ms --ease-out when 15% visible (Motion whileInView, viewport once). Siblings stagger 90ms.
- Hero: the room photo scales 1.04→1.0 over 2600ms; the headline rises 20px with 140ms stagger; a thin Bronze rule under the eyebrow draws outward.
- Before/after: the handle is draggable with 1:1 pointer tracking (no easing while dragging — honesty); on release it stays exactly where left; keyboard steps animate 120ms --ease-io; a small 'drag' hint label beside the grip fades out after the first interaction. The slider line carries a soft Night/20% shadow.
- Process timeline: a 1px Rule base with a Bronze fill that grows as the section scrolls (scaleY, useScroll on the list); each step's number fills Bronze as it reaches 60% view; rows settle with the standard reveal.
- Gallery: photos scale 1.02 on hover with a caption bar rising from the bottom edge; clicking opens the Lightbox (Night overlay at 85%, image max 84vh, caption in Bone, arrows + Escape navigate, focus returns to the invoking card) with a 260ms fade.
- Materials strip: swatches stagger in 60ms each, drawn as CSS blocks with a Bronze hairline frame; hovering a swatch lifts it 3px and shows its label.
- Consult form: budget pills fill Greige→Bronze on select (150ms); invalid submit shakes 4px once with inline hints; sending swaps the panel to the SentCard (300ms --ease-io) with a drawn Bronze envelope flap closing once.
- Links: .link-draw grows a 1px currentColor underline over 300ms on hover and focus-visible.
- prefers-reduced-motion: reduce — no hero scale, no staggered reveals (appear), no snap animation (keys jump), no flap draw; color/border hover changes stay. Use CSS @media in index.css plus Motion's useReducedMotion in components.

## Imagery
Warm real photography, all six made for this template in one consistent style: soft natural light, greige-bone palette with bronze accents and one sage plant, no people (no faces, no hands). The two before/after pairs share their camera angle exactly: 'before' rooms dated and empty (old wallpaper, bare bulbs, worn carpet), 'after' rooms styled and warm — matched compositions so the reveal reads true. Gallery images are finished rooms from varied angles. No readable text or logos. Every photo uses object-fit cover with the object-position given under Assets, 6px corners, no shadow; photos on Bone get a 1px Rule outline. Captions in Albert Sans 13px Umber. Drawn in code: the slider handle and line, swatch blocks, step numbers, the envelope stamp and the favicon. Icons: lucide-react only, stroke width 1.5.

## Tone
Warm and exact, like the studio's own design briefs: specific materials and room names, no 'curated luxe sanctuary', one dry joke about feature walls.

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

改成你自己的

  • 一家房屋软装陈设公司:将 STUDIO 和 CITY 设置为你自己的业务,把四个作品展示房间换成软装陈设的房源,并将服务改为咨询、造型和布置日。
  • 一家景观设计公司:为户外空间重写 STYLE_WORDS,将材料条替换为硬景观和植物色块,并使用前后对比滑块展示花园改造。
  • 一家小型酒店设计工作室:将 SCOPES 设置为客栈和餐厅,将四个项目重写为餐厅和 lobby,并将咨询表单的房间选项指向商业空间。
  • 一位独立室内设计师:将 STUDIO 设置为你自己的名字,将服务精简为你的 offerings,并用你的口吻重写五个流程步骤,同时保留时间线布局。

室内设计工作室网站:常见问题

室内设计工作室网站模板上的前后对比滑块是如何工作的?

室内设计工作室网站模板在标志性房间上手工实现了两个可拖拽的前后对比滑块。居中的圆形手柄随指针移动,前图被裁剪,因此向右拖拽会露出更多后图。方向键以 5% 的步长推进对比,Home 和 End 键跳到两端,每个滑块都带有屏幕阅读器标签。两张图片成对生成,使对比效果看起来可信。

怎么用 AI 做一个室内设计工作室网站?

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