关于这个模板
一个面向水管与供暖公司的单页获客网站:顶部固定紧急呼叫条,首屏承诺 60 分钟上门,首屏内嵌即时报价估算器,服务卡片标注统一价格,服务区域 ZIP 邮编查询,保障条,业主评价和四步流程。默认内容虚构了哥伦布市的一支施工队,但结构适用于任何需要报价并派车的行业:改掉品牌、城市、电话和行业,每个板块依然成立——电工、空调、屋顶、车库门。估算器根据三个问题(工作类型、房屋面积、紧急程度)实时计算价格区间,计算逻辑放在一个内容文件里;ZIP 查询会返回覆盖的社区和最近可预约时段,全部在客户端完成。视觉是值得信赖的行业品牌风格:深海军蓝底色、白色卡片加一抹安全橙点缀,标题用 Barlow Condensed,正文用 Barlow,电话号码醒目,点击区域宽大。一张 SVG 半径地图绘制服务区域;徽章由代码绘制且均为虚构——绝不使用真实认证机构的标志。摄影图片展示货车、工具和安装场景,不露人脸,也没有可辨识的品牌标识。要适配时,替换变量并在一个内容文件里重写文案;价格、服务、ZIP 邮编和评价都从该文件读取。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Home Services Quote Landing Page
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
A single-page lead-generation website for [BRAND], a [TRADE] company serving [CITY], reachable 24/7 at [PHONE]. It must convert like a real trades landing page: a sticky emergency call bar that survives scrolling, an instant quote estimator above the fold (job type, home size, urgency) that computes a live price range, six service cards with flat-rate from-prices, a service-area ZIP checker with an invented neighborhood list, a guarantees strip, homeowner reviews, a four-step process strip and a call-now finale. One page: index.html. Everything runs in the browser; nothing is submitted anywhere.
- Audience: Homeowners in an emergency (burst pipe, dead boiler, no hot water) searching on a phone at 9pm, plus planners comparing quotes for renovations. Skewed 35–70, price-sensitive but primed by urgency; they want a price range, a real human on the phone and proof the company is licensed and local.
- Goal: Produce phone calls and booked estimate visits. Within ten seconds a visitor should see the emergency number, the arrival promise and the start of the estimator; within two minutes, a price range for their job.
- Tone: Plain, fast and honest, like a good dispatcher. Short declarative sentences, concrete numbers (minutes, dollars, years), no exclamation marks, no 'family owned and operated' clichés without specifics.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: react (MIT), react-dom (MIT), motion (motion.dev, import from 'motion/react') (MIT), lucide-react (ISC), tailwindcss (MIT), postcss (MIT), autoprefixer (MIT), vite (MIT), @vitejs/plugin-react (MIT), typescript (Apache-2.0), @fontsource/barlow-condensed (OFL-1.1), @fontsource/barlow (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 (tailwindcss + postcss + autoprefixer), content ['./index.html', './src/**/*.{ts,tsx}']. In tailwind.config.ts add every color under Design to theme.extend.colors with kebab-case keys (paper, mist, navy, navy-soft, ink, slate-blue, rule, orange, orange-deep, orange-pale, good) and fontFamily display ['Barlow Condensed', 'Arial Narrow', 'sans-serif'], sans ['Barlow', 'system-ui', 'sans-serif']. Set borderRadius DEFAULT to 10px and add maxWidth { container: '1200px' }.
- In src/fonts.ts import '@fontsource/barlow-condensed/600.css', '@fontsource/barlow-condensed/700.css' and '@fontsource/barlow/400.css', '@fontsource/barlow/600.css'; import src/fonts.ts and src/index.css from the entry file.
- File layout: src/content.ts (every string, number, service, price band, ZIP, neighborhood, review, step and FAQ answer, typed), src/lib/brand.ts (brandSlug = [BRAND] lowercased with every run of non-alphanumeric characters replaced by '-', phoneDigits = [PHONE] digits only for tel: links, emailDomain = brandSlug without hyphens + '.com'), src/lib/storage.ts (safe localStorage get/set wrapped in try/catch, keys prefixed with brandSlug + ':'), src/lib/estimate.ts (pure function estimate(jobType, homeSize, urgency) → { low, high, minutes } from the price bands in content.ts).
- State: src/store/lead.ts is a tiny external store (useSyncExternalStore) holding the estimator choices { jobType, homeSize, urgency }, the ZIP input and result, and the saved lead { name, phone, problem } after the final form, persisted to localStorage key brandSlug + ':lead'.
- Components in src/components/: EmergencyBar.tsx (sticky), Header.tsx, MobileMenu.tsx, Reveal.tsx (Motion whileInView wrapper), Eyebrow.tsx, Footer.tsx; Hero.tsx (with estimator card), Estimator.tsx (JobPicker.tsx, SizePicker.tsx, UrgencyPicker.tsx, EstimateResult.tsx), Guarantees.tsx (BadgeShape.tsx), Services.tsx (ServiceCard.tsx), ZipChecker.tsx, AreaMap.tsx (inline SVG), Reviews.tsx, Process.tsx, LeadForm.tsx, Faq.tsx. src/pages/Home.tsx composes them with Header and Footer.
- Before the first build, download every image listed under Assets into public/images/ with curl -L -o using the exact file names given. The build itself never fetches anything.
- public/favicon.svg as described under Assets. index.html: lang en, <meta name='theme-color' content='#13293F'>, <link rel='icon' href='./favicon.svg' type='image/svg+xml'>, <title>[BRAND] — [TRADE] in [CITY] · 24/7</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
- [BRAND] — Company name (default: "Trueflow Plumbing & Heating"). Invented trade company name. Used in the wordmark, title tag, footer, email (dispatch@ + brandSlug without hyphens + .com) and localStorage keys. Never a real franchise or company.
- [TRADE] — Trade (default: "Plumbing & Heating"). What the company does. Drives the six service cards, the estimator's job list, the process strip wording and the FAQ. Keep the same counts: 6 services, 8 job types, 3 sizes, 3 urgencies.
- [CITY] — City (default: "Columbus, Ohio"). Where the company works. Used in the title, hero, area map label and footer. Neighborhoods and ZIP prefixes stay invented-sounding; only the city may be real.
- [PHONE] — Phone (default: "(614) 555-0184"). The 24/7 line, formatted like a local number with a 555 exchange. Used in the emergency bar, hero, CTA buttons (tel: links built from digits) and the footer.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/home-services-quote-landing-page 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
- Paper `#FFFFFF` — Page background, cards, estimator panel.
- Mist `#F1F4F8` — Alternate section background (Services, Process), input fill, chips.
- Navy `#13293F` — Hero background, header surface, footer, emergency bar text, photo overlays (as rgba(19,41,63,x)).
- Navy Soft `#1D3A57` — Hover surface on Navy, selected estimator step fill, deep borders.
- Ink `#17222E` — Headlines and body text on light backgrounds, icon color.
- Slate `#5B6B7B` — Secondary text, captions, eyebrows, disabled states (at 45% opacity).
- Rule `#DCE2EA` — 1px hairlines, card borders, input borders, map contour lines.
- Orange `#E8622A` — The one accent: emergency bar background, primary CTAs, price figures, selected chips, focus ring, map pin.
- Orange Deep `#C94E1D` — Primary button hover and pressed state.
- Orange Pale `#FBE3D6` — Estimate result background, badge fills, hover tint for service cards.
- Good `#2E7D5B` — Success states: ZIP covered check, form saved check, guarantee check marks.
### Typography
- Display: H1, H2, H3, service names, price figures, the wordmark, phone numbers in large sizes: Barlow Condensed (OFL), weights 600/700
- Text and UI: body, eyebrows, buttons, nav, form fields, captions, numbers (font-variant-numeric tabular-nums for prices and estimates): Barlow (OFL), weights 400/600
### 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 104px desktop, 80px under 1024px, 64px under 640px. Type scale: H1 clamp(46px, 7vw, 96px) Barlow Condensed 700, line-height 0.98, uppercase, letter-spacing 0.005em; H2 clamp(34px, 4.4vw, 58px) Barlow Condensed 700 uppercase; H3 24px Barlow Condensed 700; lead Barlow 400 18px / 1.65; body Barlow 400 16px / 1.7 (max-width 64ch); eyebrow Barlow 600 12px uppercase letter-spacing 0.16em Slate, preceded by a 24px x 2px Orange line with 12px gap; caption Barlow 400 13px Slate. Buttons: height 54px, padding 0 28px, Barlow 600 15px uppercase letter-spacing 0.08em. Primary: Orange fill, Paper text. Secondary: 1px Ink border, Ink text (on Navy: 1px Paper border, Paper text). Small buttons 40px high. Inputs: height 52px, 1px Rule border, Mist fill, 16px Barlow, focus border Orange. Phone links: Barlow Condensed 700 26px, tabular-nums. Focus ring everywhere: 2px Orange outline with 3px offset.
- Radius: 10px on cards, buttons, inputs, chips, photos and the estimator panel. 999px only for chips, badges and the pulse dot.
- Motion: Easing: --ease-out cubic-bezier(0.22, 0.61, 0.36, 1) for reveals and result changes; --ease-io cubic-bezier(0.65, 0, 0.35, 1) for accordion and picker swaps. Confident, never playful.
- Motion: Reveal: blocks wrapped in <Reveal> start at opacity 0, translateY(16px) and animate to rest over 600ms --ease-out when 15% visible (Motion whileInView, viewport once). Siblings stagger by 70ms (index prop).
- Motion: Emergency bar: a small Orange pulse dot beside '24/7' (scale 1 to 1.3, 1400ms loop, pauses under reduced motion); the bar itself slides down 100% into place 300ms after load.
- Motion: Estimator: each picker choice fills the chip over 120ms and slides the estimate panel's numbers to the new range — the price counts between old and new values over 500ms --ease-io, the minutes badge crossfades. Switching steps slides the panel content 16px horizontally, 260ms --ease-io (AnimatePresence mode 'wait').
- Motion: ZIP checker: on submit, a spinner (drawn CSS ring) spins for a fixed 700ms, then the result card slides up 12px — Good check and 'Covered — [neighborhood]' for served prefixes, Orange 'Call us' card otherwise.
- Motion: Service cards: hover lifts 4px and the price ticks up 2px; the Orange 'from' rule grows from 0 to 24px width.
- Motion: Area map: when scrolled into view, the radius circle draws (stroke-dashoffset to 0) over 900ms, then van pins pop with 100ms stagger; the covered ZIP dots fade in.
- Motion: Reviews: cards rise 8px on hover; the star row fills Orange left to right over 400ms on first view.
- Motion: Header: transparent over the Navy hero with Paper text; after 40px of scroll it gets Paper at 96% opacity, Ink text, a 1px Rule border and a small Orange 'Call' button, 250ms transition. The emergency bar stays above it (two stacked sticky rows, emergency bar first).
- Motion: Links: .link-draw grows a 1px currentColor underline from 0% to 100% width over 250ms --ease-out on hover and focus-visible.
- Motion: prefers-reduced-motion: reduce — disable the bar slide, pulse, count-ups, draws, staggered pins and layout animations (render at rest). Color and border hover changes stay. Use CSS @media in index.css plus Motion's useReducedMotion in components.
- Imagery: Real photography only, documentary and workmanlike, all six made for this template in one consistent style: natural daylight, navy and white with orange tool accents, clean job sites, fine grain. Never a person: vans, tools, installs, parts and details — no faces, no hands. No readable text, logos or branding on vans, tools or parts. Every photo uses object-fit cover with the object-position given under Assets, 10px corners, no shadow; photos on Mist get a 1px Rule outline. Captions under photos in Barlow 13px Slate. Drawn in code: the favicon, the wordmark (type only), the invented guarantee badges (plain geometric shapes — shield, ring, check, clock — never a real certification body's logo), the area map, chips and the estimator panel. Icons: lucide-react only, stroke width 1.75.
## Pages & Sections
### Home (`index.html`)
1. **Content file and copy rules** — All copy below is written for the default values ([BRAND] = Trueflow Plumbing & Heating, [TRADE] = Plumbing & Heating, [CITY] = Columbus, Ohio, [PHONE] = (614) 555-0184). Put every string, number and list in src/content.ts and render from it. If any variable value differs, rewrite every headline, service, price band, job list, ZIP list, neighborhood, review, step and FAQ answer so it is specific and believable for the new trade, keeping the same structure and counts (6 services, 8 estimator jobs, 3 sizes, 3 urgencies, 5 ZIP prefixes, 3 reviews, 4 steps, 5 FAQs). All people, prices, streets and figures are invented. Company facts used throughout: address 2210 Foundry Road, [CITY]; phone [PHONE], answered 24/7 by a person, not a menu; average emergency arrival 47 minutes; 12 technicians, 6 vans; licensed and insured (invented license 'OH-88412'); flat-rate pricing quoted before work starts; 2-year warranty on repairs; no overtime, weekend or holiday surcharges; since 2009. Served ZIP prefixes (invented neighborhoods): 43012 Ashcroft, 43054 Bellwood, 43214 Foundry District, 43219 Millrace, 43230 Quarry North. Next-available slots: emergency 'today', estimate visits 'tomorrow 8am–10am'.
Layout: n/a
Motion: n/a
2. **Emergency bar (sticky)** — Orange bar, tallest priority layer (sticks above the header). Left: Lucide PhoneCall 16px and '24/7 emergency line — answered by a person' (Barlow 600 14px). Center/right: the pulse dot and '24/7' badge, the phone '[PHONE]' as a tel: link (Barlow Condensed 700 20px Paper) and 'Average arrival: 47 min' (Barlow 400 13px Paper at 85%). Under 640px: just the badge, phone link and arrival note, centered.
Layout: Position sticky top 0, z-50, height 44px, full-width. All internal anchors (index.html#services etc.).
3. **Header** — Left: wordmark '[BRAND]' (Barlow Condensed 700 22px uppercase) with a second line 'Licensed & insured · [CITY]' (Barlow 600 10px uppercase letter-spacing 0.2em), linking to ./index.html. Center nav (Barlow 600 14px): 'Services' → #services, 'Pricing' → #pricing, 'Estimate' → #estimate, 'Reviews' → #reviews, 'FAQ' → #faq. Right: small Orange button 'Call [PHONE]' (tel: link) and the hamburger (Lucide Menu 22px, under 820px) opening MobileMenu: full-screen Navy panel, links at Barlow Condensed 700 28px uppercase Paper, the call button at the bottom, close icon top right.
Layout: Position sticky top 44px (below the emergency bar), height 72px, container-aligned, transparent over the hero then Paper after 40px scroll. Mobile menu covers the viewport with a 300ms slide from the right.
4. **Hero with estimator** — Navy background. Left (6 cols): eyebrow (Orange line) 'Plumbing & Heating · [CITY]', H1 'BURST PIPE? BOILER DOWN? *WE''RE ON THE WAY.*' Lead (Paper at 85%, max-width 520px): 'Trueflow answers [PHONE] twenty-four hours a day — a dispatcher, not a menu. Flat-rate quotes before we touch a wrench, and a technician at your door in under an hour when it matters.' Three trust rows with Lucide icons (ShieldCheck 'Licensed & insured, OH-88412'; Timer 'Average arrival 47 minutes'; BadgeCheck '2-year warranty on every repair'). Secondary-on-navy button 'See flat-rate prices' → #pricing. Right (5 cols, offset 1): the Estimator card (see next section) on Paper. Bottom ledger inside the hero: '12 technicians · 6 vans · 15 years on the road' (Barlow 600 14px Paper at 75%).
Layout: Vertical padding 128px top under the header and 96px bottom. Photo hero-van.webp as a full-bleed background at 18% opacity over Navy with a linear-gradient(180deg, rgba(19,41,63,0.92), rgba(19,41,63,0.96)). Under 1024px: single column, estimator below the trust rows.
5. **Instant quote estimator** — Paper card, id='estimate'. Card head: eyebrow 'Instant estimate' and H3 'What will it run me?' with caption 'A honest range before anyone visits. Three questions, no email.' Step chips inside the card: 1) Job — 8 options as a 2x4 grid of chips: 'Burst pipe / leak' (emergency band), 'Blocked drain', 'Water heater', 'Boiler / furnace', 'Toilet or faucet', 'Radiators', 'Sump pump', 'Renovation quote'. 2) Home size — 'Apartment', 'House up to 2,000 sq ft', 'House over 2,000 sq ft'. 3) Urgency — 'Emergency (now)', 'This week', 'Planning ahead'. Result panel on Orange Pale (always visible, updates live): 'Estimated: $180 – $420' (Barlow Condensed 700 40px Ink, tabular-nums, counting between changes), the line 'Typical fix: 60–90 minutes at the house' and 'Final flat rate confirmed before work starts.' Buttons: primary 'Book a visit' → #lead (stores the estimate with the lead) and ghost 'Or call [PHONE]' (tel:). Caption: 'Ranges from 2,400 jobs in the last two years. Your wall stays closed until you agree the number.'
Layout: Paper card 10px radius with a 1px Rule border, 32px padding. Chips: Mist fill, 1px Rule border, 999px radius, selected fills Navy with Paper text; hover border Orange. Result panel 20px radius, padding 24px. Estimate maths (bands × size multipliers 1 / 1.15 / 1.3, urgency +60% / +0% / −5%, rounded to $10) lives in src/lib/estimate.ts with the bands in content.ts.
6. **Guarantees strip** — Mist band with four invented badge shapes (drawn SVG, Orange on Orange Pale, never real certification logos): ShieldCheck 'Licensed & insured' — 'State license OH-88412, $2M coverage, both current.'; Receipt 'Flat-rate quotes' — 'The number we quote is the number you pay. No hourly meter running.'; Wrench '2-year warranty' — 'Repairs warranted two years, parts and labor, in writing.'; Clock 'No overtime rates' — 'Nights, weekends and holidays cost the same as Tuesday at noon.'
Layout: Four equal columns, 24px gap, badge 64px circle + title Barlow Condensed 700 20px + two-line body Barlow 14px. Under 768px: 2x2, then one column.
7. **Services** — Section id='services'. Eyebrow 'What we fix' and H2 'Six jobs, flat rates, no surprises.' Six cards, each with a photo top, name (Barlow Condensed 700 24px), one-line description, and a bottom row 'from $89' (Barlow Condensed 700 24px Orange) + 'Typical: 60–90 min' (Barlow 13px Slate): 1) photo tools-flat.webp — 'Emergency leaks & bursts' — 'Water where it shouldn''t be. We shut it off, dry it out and fix the line.' — from $129. 2) photo boiler-install.webp — 'Boilers & furnaces' — 'Repairs, service and replacements, all makes we can still get parts for.' — from $210. 3) photo pipe-work.webp — 'Drains & blockages' — 'Camera inspection first, so we fix the pipe, not a guess.' — from $99. 4) photo kitchen-sink.webp — 'Kitchens & bathrooms' — 'Faucets, toilets, sinks and the pipes behind the walls.' — from $89. 5) photo hero-van.webp (reused) — 'Water heaters' — 'Tank and tankless, same-day swaps when the shower goes cold.' — from $240. 6) photo technician-belt.webp — 'Radiators & sump pumps' — 'Bleeding, balancing and the pump that keeps the basement dry.' — from $150. Each card button 'Get an estimate' → #estimate (scrolls up and preselects the matching job chip).
Layout: Paper background. 3x2 grid (24px gap), cards on Mist 10px radius with a 1px Rule border; photo aspect 4:3, 10px radius top corners only. Under 900px: 2 columns, under 640px: one.
8. **ZIP checker and area map** — Section id='pricing'. Eyebrow 'Where we roll' and H2 'In [CITY] and forty minutes around it.' Left: the ZIP checker — input (placeholder 'Your ZIP code'), submit 'Check'; on a served prefix (43012, 43054, 43214, 43219, 43230) a Good result card: check icon, 'Covered — that''s [neighborhood].' and 'Next estimate slots: tomorrow 8am–10am. Emergencies: today.'; any other 5-digit entry gets an Orange card: 'Not on our regular routes — but call [PHONE]; we cover most of the metro and we''ll tell you straight.'; invalid input shows an inline hint 'Five digits, like 43214.' Right: the AreaMap SVG — a Rule-contour street grid, an Orange pin at the center labeled '[BRAND] HQ', a dashed Orange radius circle labeled '40 min', five Good dots labeled with the neighborhoods, a small north arrow; caption 'Routes as the crow drives, not as the crow flies.'
Layout: Mist background. Two columns: checker 5 cols, map 6 cols offset 1. Map SVG viewBox 0 0 720 520, width 100%. Under 900px: stacked, checker first.
9. **Reviews** — Section id='reviews'. Eyebrow 'Neighbors, quoted' and H2 'Three of 412 reviews.' Cards: 1) five Orange stars — '"Sunday night, water heater died, water everywhere. Trueflow answered on the second ring and the tech was pulling in at minute fifty-one. Quoted before he touched anything."' — Dana K., Foundry District — 'Emergency water heater swap'. 2) five stars — '"The camera found the blockage was roots, not toys (two kids, both innocent). Flat rate, clean up better than they found it, warranty in writing."' — Marcus and Jo T., Quarry North — 'Drain line repair'. 3) four-and-a-half stars (drawn half star) — '"Booked an estimate for a bathroom redo. The quote came in three parts — must, should, someday — which is the most honest document I''ve received from a trades company."' — Priya S., Bellwood — 'Renovation estimate'.
Layout: Paper background. Three equal columns, 24px gap, cards on Mist 1px Rule border 28px padding; quote Barlow 400 16px / 1.7, attribution Barlow 600 13px Slate with the job in Orange. Under 860px: stacked.
10. **Process and lead form** — Section id='lead'. Eyebrow 'How a visit goes' and H2 'Four steps, zero drama.' Strip: 1) Phone 'You call [PHONE]; a dispatcher answers, asks three questions and books a window.' 2) ClipboardList 'The tech arrives, diagnoses and quotes a flat rate — before any tool leaves the van.' 3) Wrench 'You agree the number; the work happens; the old parts go in a box, not the wall.' 4) Sparkles 'We clean up, you get the warranty in writing, and the invoice matches the quote.' Below, the lead form on a Paper card beside the strip (right column): name input, phone input, textarea 'What''s going on?' (optional), primary 'Request my visit' and caption 'We call back within 15 minutes during the day. Nothing is sent anywhere — this demo keeps your details in your browser.' On submit (name + valid phone required): the card swaps to a Good confirmation — check circle, 'Got it, [NAME].' 'A dispatcher will call [PHONE]. If it''s flooding, call now — don''t wait for us to click.' and the stored estimate line if one exists ('Your estimate: $180 – $420, Water heater, this week').
Layout: Navy background, Paper text. Strip: four steps in a row with numbered Orange circles connected by 1px Paper/25% lines. Form 5 cols right offset 1; inputs Paper fill, Navy text. Under 1024px: strip becomes 2x2, form below.
11. **FAQ** — Section id='faq'. Eyebrow 'Straight answers' and H2 'Asked at the door, answered here.' Five accordions: 1) 'Do you charge extra at night or on weekends?' — 'No. Nights, weekends and holidays bill at the same flat rates as Tuesday at noon. The estimate you see is the estimate you pay.' 2) 'Are you licensed and insured?' — 'State license OH-88412 and $2M liability coverage, both current; both numbers are on every invoice and every van.' 3) 'What does the warranty cover?' — 'Repairs carry two years, parts and labor, in writing. Replacements carry the manufacturer''s term plus our first year of labor.' 4) 'Can I supply my own parts or fixtures?' — 'Yes. We install customer-supplied parts; the labor warranty still applies, the part warranty passes to the maker.' 5) 'What if the quote changes once you open the wall?' — 'It stops. Work pauses, you see photos of what we found, and nothing continues without a new number you agreed to.'
Layout: Paper background, accordion rows with 1px Rule dividers, question in Barlow Condensed 700 22px uppercase, answer Barlow 16px / 1.7 max-width 66ch, Plus icon right. Container max-width 780px.
12. **Footer** — Navy background. Four columns: 1) wordmark '[BRAND]' (Barlow Condensed 700 24px Paper) over '[TRADE] · Est. 2009' and 'OH-88412 · $2M insured'. 2) 'Reach us': phone tel: '[PHONE]' 24/7, dispatch@ + emailDomain, address 2210 Foundry Road, [CITY]. 3) 'Hours': 'Phones: 24/7, humans only' / 'Office: Mon–Sat 7am–6pm' / 'Estimates: same week, usually tomorrow'. 4) 'This page': anchors Services, Pricing, Estimate, Reviews, FAQ. Bottom line under a 1px Paper/15% rule: '© [BRAND]. Fixed right, priced straight.'
Layout: Vertical padding 72px, 4 equal columns, bottom line 40px below the rule. Under 768px: two columns, then 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/a0691ecf-c44e-4489-a4a2-9d11c6fc7a8c/hero-van.webp → public/images/hero-van.webp (Hero background at 18% opacity over Navy, Services card 5; alt 'A clean white service van parked on a quiet residential street'); https://media.vibefather.ai/assets/a0691ecf-c44e-4489-a4a2-9d11c6fc7a8c/tools-flat.webp → public/images/tools-flat.webp (Services card 1; alt 'Plumbing tools laid out neatly on a workbench'); https://media.vibefather.ai/assets/a0691ecf-c44e-4489-a4a2-9d11c6fc7a8c/boiler-install.webp → public/images/boiler-install.webp (Services card 2; alt 'A new wall-mounted boiler installed on a clean utility wall'); https://media.vibefather.ai/assets/a0691ecf-c44e-4489-a4a2-9d11c6fc7a8c/pipe-work.webp → public/images/pipe-work.webp (Services card 3; alt 'Copper pipe fittings and a valve arranged after a repair'); https://media.vibefather.ai/assets/a0691ecf-c44e-4489-a4a2-9d11c6fc7a8c/kitchen-sink.webp → public/images/kitchen-sink.webp (Services card 4; alt 'The cabinet under a kitchen sink with fresh white PVC trap and shutoff valves'); https://media.vibefather.ai/assets/a0691ecf-c44e-4489-a4a2-9d11c6fc7a8c/technician-belt.webp → public/images/technician-belt.webp (Services card 6; alt 'A loaded tool belt hung on a pegboard wall'). 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/barlow-condensed and @fontsource/barlow (OFL-1.1) and lucide-react (ISC). Never replace photos with stock sites (Unsplash, Pexels, Pixabay) or images with people, faces or readable branding.
- icon: lucide-react only: PhoneCall, Phone, Menu, X, Plus, Check, ShieldCheck, BadgeCheck, Timer, Clock, Receipt, Wrench, Sparkles, MapPin, Star, StarHalf, ClipboardList, ArrowRight. Stroke width 1.75, 16–24px, color inherits. public/favicon.svg hand-written: viewBox 0 0 32 32, a 32x32 rect rx 7 filled #E8622A, a Paper (#FFFFFF) wrench glyph. No other logo: the company name is always set as type; the guarantee badges are drawn as plain geometric shapes (shield, ring, check, clock) and never imitate any real certification body's mark.
- font: Install @fontsource/barlow-condensed and @fontsource/barlow and import them in src/fonts.ts as listed in Setup. Vite bundles the woff2 files into dist/.
- image: Drawn in code: the area map (inline SVG streets, radius circle, pins and dots), the invented guarantee badges, chips, the estimator result panel, the pulse dot, stars (including the half star) and the favicon. No other bitmaps, no illustrations, no map tiles.
## Don'ts
- No backend, no form submission, no fetch to any API: the estimator, ZIP check and lead form all resolve in the browser only (localStorage); nothing is sent anywhere, and the form says so.
- All links on this single page are anchors (./index.html#services, #pricing, #estimate, #reviews, #lead, #faq) plus tel: links built from [PHONE].
- 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 company or franchise names, no real license numbers or certification bodies (the badge shapes are invented geometry), no map tiles or embeds, no photos with faces, hands, people or readable branding on vans, tools or parts.
- No dates or years anywhere except 'Est. 2009'; 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 everywhere: disable the pulse, count-ups, draws, slides and staggered pins; keep color/border hovers.
- The site must work at 1440x900 desktop and 390x844 mobile with zero console errors; the estimator and ZIP checker work with keyboard only, and every interactive element has a visible focus ring.
- Keep copy concrete: no lorem, no filler, no unverifiable superlatives; every price, minute and warranty term comes from src/content.ts.
---
— Prompt by VibeFather · https://vibefather.ai/t/home-services-quote-landing-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 家庭服务报价落地页
完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。
## 简介
为 [BRAND] 打造的单页获客网站,[BRAND] 是一家服务 [CITY] 的 [TRADE] 公司,全天候 24/7 可通过 [PHONE] 联系。它必须像真实的行业落地页一样实现转化:一条在滚动时始终可见的紧急呼叫栏、首屏内的即时报价估算器(工种、房屋面积、紧急程度),可实时计算价格区间、六张带有固定起步价的服务卡片、一个带有虚构社区列表的服务区域 ZIP 查询器、一条保障承诺带、业主评价、一条四步流程带,以及最后的立即致电收尾。单页:index.html。一切都在浏览器中运行;不会向任何地方提交数据。
- 受众:深夜 9 点在手机上搜索的紧急情况业主(爆管、锅炉故障、无热水),以及比较装修报价的规划者。年龄偏 35–70 岁,对价格敏感但被紧迫感驱动;他们想要一个价格区间、电话那头真实的人,以及公司持牌且本地的证明。
- 目标:产生电话呼叫和预约估价上门。访客应在十秒内看到紧急联系电话、到达承诺和估算器的开头;在两分钟内,看到其工种的价格区间。
- 语气:平实、快速、诚实,像一位优秀的调度员。简短陈述句,具体数字(分钟、美元、年),不用感叹号,不用没有具体细节的“家族经营”陈词滥调。
## 技术栈
- 框架:Vite 5 + React 18 + TypeScript
- 样式:Tailwind CSS 3.4
- 库:react(MIT)、react-dom(MIT)、motion(motion.dev,从 'motion/react' 导入)(MIT)、lucide-react(ISC)、tailwindcss(MIT)、postcss(MIT)、autoprefixer(MIT)、vite(MIT)、@vitejs/plugin-react(MIT)、typescript(Apache-2.0)、@fontsource/barlow-condensed(OFL-1.1)、@fontsource/barlow(OFL-1.1)
- 构建:`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。
- 设置:
- 使用 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/ 中。
- 通过 PostCSS 使用 Tailwind 3.4(tailwindcss + postcss + autoprefixer),content ['./index.html', './src/**/*.{ts,tsx}']。在 tailwind.config.ts 中,将 Design 下的每种颜色以 kebab-case 键添加到 theme.extend.colors(paper、mist、navy、navy-soft、ink、slate-blue、rule、orange、orange-deep、orange-pale、good),并设置 fontFamily display ['Barlow Condensed', 'Arial Narrow', 'sans-serif']、sans ['Barlow', 'system-ui', 'sans-serif']。将 borderRadius DEFAULT 设为 10px,并添加 maxWidth { container: '1200px' }。
- 在 src/fonts.ts 中导入 '@fontsource/barlow-condensed/600.css'、'@fontsource/barlow-condensed/700.css' 以及 '@fontsource/barlow/400.css'、'@fontsource/barlow/600.css';从入口文件导入 src/fonts.ts 和 src/index.css。
- 文件布局:src/content.ts(每个字符串、数字、服务、价格区间、ZIP、街区、评价、步骤和 FAQ 答案,均带类型),src/lib/brand.ts(brandSlug = [BRAND] 转为小写,并将每一段连续的非字母数字字符替换为 '-',phoneDigits = [PHONE] 仅保留数字用于 tel: 链接,emailDomain = brandSlug 去掉连字符 + '.com'),src/lib/storage.ts(安全的 localStorage get/set,包裹在 try/catch 中,键以 brandSlug + ':' 为前缀),src/lib/estimate.ts(纯函数 estimate(jobType, homeSize, urgency) → { low, high, minutes },基于 content.ts 中的价格区间)。
- 状态:src/store/lead.ts 是一个小型外部 store(useSyncExternalStore),保存估算器选项 { jobType, homeSize, urgency }、ZIP 输入和结果,以及最终表单后的已保存线索 { name, phone, problem },持久化到 localStorage 键 brandSlug + ':lead'。
- 组件位于 src/components/:EmergencyBar.tsx(sticky)、Header.tsx、MobileMenu.tsx、Reveal.tsx(Motion whileInView 包装器)、Eyebrow.tsx、Footer.tsx;Hero.tsx(带估算器卡片)、Estimator.tsx(JobPicker.tsx、SizePicker.tsx、UrgencyPicker.tsx、EstimateResult.tsx)、Guarantees.tsx(BadgeShape.tsx)、Services.tsx(ServiceCard.tsx)、ZipChecker.tsx、AreaMap.tsx(内联 SVG)、Reviews.tsx、Process.tsx、LeadForm.tsx、Faq.tsx。src/pages/Home.tsx 将它们与 Header 和 Footer 组合在一起。
- 在首次构建之前,使用 curl -L -o 将 Assets 下列出的每张图片下载到 public/images/ 中,并使用给定的确切文件名。构建本身从不获取任何内容。
- public/favicon.svg 如 Assets 下所述。index.html:lang en,<meta name='theme-color' content='#13293F'>,<link rel='icon' href='./favicon.svg' type='image/svg+xml'>,<title>[BRAND] — [TRADE] in [CITY] · 24/7</title>。
- 在项目根目录下按 Assets 下所述编写 ASSETS.md。
- dist/ 包含 index.html、带哈希的 JS/CSS、woff2 字体、favicon.svg 和六张图片。保持在 10 MB 以下。
## 变量
- [BRAND] — 公司名称(默认:“Trueflow Plumbing & Heating”)。虚构的行业公司名称。用于字标、标题标签、页脚、电子邮件(dispatch@ + 不含连字符的 brandSlug + .com)和 localStorage 键。绝不是真实加盟商或公司。
- [TRADE] — 行业(默认:“Plumbing & Heating”)。公司从事的业务。驱动六张服务卡片、估算器的工种列表、流程条文案和 FAQ。保持相同数量:6 项服务、8 种工种、3 种规模、3 种紧急程度。
- [CITY] — 城市(默认:“Columbus, Ohio”)。公司服务的地区。用于标题、主视觉、区域地图标签和页脚。街区和 ZIP 前缀保持虚构感;只有城市可以是真实的。
- [PHONE] — 电话(默认:“(614) 555-0184”)。24/7 热线,格式为带 555 交换局的本地号码。用于紧急栏、主视觉、CTA 按钮(由数字构建的 tel: 链接)和页脚。
- [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接,指向 https://vibefather.ai/t/home-services-quote-landing-page(默认:是;删除此行即可移除)
页面与区块下的文案是为默认值编写的。如果你的值不同,请为它们重写每个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。
将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便之后无需改动组件即可替换内容。
## 设计
### 颜色(Colors)
- Paper `#FFFFFF` — 页面背景、卡片、估价器面板。
- Mist `#F1F4F8` — 交替区块背景(Services、Process)、输入框填充、标签。
- Navy `#13293F` — Hero 背景、页头表面、页脚、紧急条文字、照片叠加层(以 rgba(19,41,63,x) 形式)。
- Navy Soft `#1D3A57` — Navy 上的悬停表面、估价器选中步骤填充、深色边框。
- Ink `#17222E` — 浅色背景上的标题和正文文字、图标颜色。
- Slate `#5B6B7B` — 次要文字、说明文字、眉题、禁用状态(45% 不透明度)。
- Rule `#DCE2EA` — 1px 细线、卡片边框、输入框边框、地图等高线。
- Orange `#E8622A` — 唯一强调色:紧急条背景、主 CTA、价格数字、选中标签、焦点环、地图图钉。
- Orange Deep `#C94E1D` — 主按钮悬停和按下状态。
- Orange Pale `#FBE3D6` — 估价结果背景、徽章填充、服务卡片悬停色调。
- Good `#2E7D5B` — 成功状态:ZIP 覆盖勾选、表单已保存勾选、保证勾选标记。
### 排版(Typography)
- Display:H1、H2、H3、服务名称、价格数字、字标、大尺寸电话号码:Barlow Condensed(OFL),字重 600/700
- Text and UI:正文、眉题、按钮、导航、表单字段、说明文字、数字(价格和估价使用 font-variant-numeric tabular-nums):Barlow(OFL),字重 400/600
### 布局与动效(Layout & motion)
- 间距:8px 基准单位。容器最大宽度 1200px,居中,侧边内边距桌面端 48px、平板端 32px、640px 以下 20px。12 列网格,列间距 24px。区块垂直内边距桌面端 104px、1024px 以下 80px、640px 以下 64px。字号比例:H1 clamp(46px, 7vw, 96px) Barlow Condensed 700,行高 0.98,大写,字距 0.005em;H2 clamp(34px, 4.4vw, 58px) Barlow Condensed 700 大写;H3 24px Barlow Condensed 700;导语 Barlow 400 18px / 1.65;正文 Barlow 400 16px / 1.7(最大宽度 64ch);眉题 Barlow 600 12px 大写 字距 0.16em Slate,前面有一条 24px x 2px Orange 线,间隔 12px;说明文字 Barlow 400 13px Slate。按钮:高度 54px,内边距 0 28px,Barlow 600 15px 大写 字距 0.08em。主按钮:Orange 填充,Paper 文字。次按钮:1px Ink 边框,Ink 文字(在 Navy 上:1px Paper 边框,Paper 文字)。小按钮高 40px。输入框:高度 52px,1px Rule 边框,Mist 填充,16px Barlow,焦点边框 Orange。电话链接:Barlow Condensed 700 26px,tabular-nums。全局焦点环:2px Orange 轮廓,偏移 3px。
- 圆角:卡片、按钮、输入框、标签、照片和估价器面板为 10px。仅标签、徽章和脉冲点为 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)以 600ms --ease-out 动画到静止状态。同级元素错开 70ms(index prop)。
- 动效:紧急条:'24/7' 旁有一个小的 Orange 脉冲点(scale 1 到 1.3,1400ms 循环,在减少动效下暂停);条本身在加载后 300ms 向下滑入 100% 到位。
- 动效:估价器:每个选择器选项在 120ms 内填充标签,并将估价面板的数字滑动到新范围——价格在旧值和新值之间以 500ms --ease-io 计数,分钟徽章交叉淡入淡出。切换步骤时面板内容水平滑动 16px,260ms --ease-io(AnimatePresence mode 'wait')。
- 动效:ZIP 检查器:提交时,一个旋转器(绘制的 CSS 环)旋转固定 700ms,然后结果卡片向上滑动 12px——服务前缀显示 Good 勾选和 'Covered — [neighborhood]',否则显示 Orange 'Call us' 卡片。
- 动效:服务卡片:悬停时上浮 4px,价格上跳 2px;Orange 'from' 线从 0 增长到 24px 宽度。
- 动效:区域地图:当滚动进入视图时,半径圆绘制(stroke-dashoffset 到 0)历时 900ms,然后货车图钉以 100ms 错开弹出;覆盖的 ZIP 点淡入。
- 动效:评价:卡片悬停时上升 8px;星行在首次视图时以 400ms 从左到右填充 Orange。
- 动效:页头:在 Navy hero 上透明,使用 Paper 文字;滚动 40px 后变为 Paper 96% 不透明度、Ink 文字、1px Rule 边框和一个小 Orange 'Call' 按钮,250ms 过渡。紧急条保持在其上方(两个堆叠的粘性行,紧急条在前)。
- 动效:链接:.link-draw 在悬停和 focus-visible 时以 250ms --ease-out 从 0% 到 100% 宽度增长 1px currentColor 下划线。
- 动效:prefers-reduced-motion: reduce — 禁用条滑动、脉冲、计数、绘制、错开图钉和布局动画(在静止状态渲染)。颜色和边框悬停变化保留。在 index.css 中使用 CSS @media,并在组件中使用 Motion 的 useReducedMotion。
- 图像:仅使用真实摄影,纪实且务实,全部六张为这个模板以一致风格制作:自然日光、海军蓝和白色配橙色工具点缀、干净的工作现场、细腻颗粒。绝不出现人物:货车、工具、安装、零件和细节——没有面孔,没有手。货车、工具或零件上没有可读文字、标志或品牌。每张照片使用 object-fit cover,object-position 在 Assets 下给出,10px 圆角,无阴影;Mist 上的照片获得 1px Rule 轮廓。照片下方说明文字为 Barlow 13px Slate。代码绘制:favicon、字标(仅字体)、虚构的保证徽章(纯几何形状——盾牌、环、勾选、时钟——绝不是真实认证机构的标志)、区域地图、标签和估价器面板。图标:仅 lucide-react,描边宽度 1.75。
## 页面与区块
### 首页(`index.html`)
1. **内容文件与文案规则** — 以下所有文案均按默认值编写([BRAND] = Trueflow Plumbing & Heating,[TRADE] = Plumbing & Heating,[CITY] = Columbus, Ohio,[PHONE] = (614) 555-0184)。将每个字符串、数字和列表放入 src/content.ts 并从中渲染。如果任何变量值不同,请重写每个标题、服务、价格区间、工作列表、ZIP 列表、街区、评价、步骤和 FAQ 答案,使其对新行业具体且可信,同时保持相同的结构和数量(6 项服务、8 个估价器工作、3 种尺寸、3 种紧急程度、5 个 ZIP 前缀、3 条评价、4 个步骤、5 个 FAQ)。所有人物、价格、街道和数字均为虚构。全篇使用的公司事实:地址 2210 Foundry Road, [CITY];电话 [PHONE],24/7 由真人接听,而非菜单;平均紧急到达时间 47 分钟;12 名技术人员,6 辆货车;持牌并投保(虚构执照 'OH-88412');开工前报出统一费率价格;维修享 2 年保修;无加班、周末或节假日附加费;始于 2009 年。服务的 ZIP 前缀(虚构街区):43012 Ashcroft、43054 Bellwood、43214 Foundry District、43219 Millrace、43230 Quarry North。最近可用时段:紧急 'today',估价上门 'tomorrow 8am–10am'。
布局:不适用
动效:不适用
2. **紧急栏(粘性)** — 橙色栏,最高优先级层(粘在页眉上方)。左侧:Lucide PhoneCall 16px 和 '24/7 emergency line — answered by a person'(Barlow 600 14px)。中/右:脉冲点和 '24/7' 徽章、电话 '[PHONE]' 作为 tel: 链接(Barlow Condensed 700 20px Paper)以及 'Average arrival: 47 min'(Barlow 400 13px Paper 85% 不透明度)。低于 640px:仅显示徽章、电话链接和到达说明,居中。
布局:Position sticky top 0,z-50,高度 44px,全宽。所有内部锚点(index.html#services 等)。
3. **页眉** — 左侧:字标 '[BRAND]'(Barlow Condensed 700 22px 大写)带第二行 'Licensed & insured · [CITY]'(Barlow 600 10px 大写 letter-spacing 0.2em),链接到 ./index.html。中间导航(Barlow 600 14px):'Services' → #services、'Pricing' → #pricing、'Estimate' → #estimate、'Reviews' → #reviews、'FAQ' → #faq。右侧:小橙色按钮 'Call [PHONE]'(tel: 链接)和汉堡菜单(Lucide Menu 22px,低于 820px)打开 MobileMenu:全屏海军蓝面板,链接为 Barlow Condensed 700 28px 大写 Paper,呼叫按钮在底部,关闭图标在右上角。
布局:Position sticky top 44px(紧急栏下方),高度 72px,容器对齐,在英雄区上方透明,滚动 40px 后变为 Paper。移动菜单覆盖视口,从右侧 300ms 滑入。
4. **带估价器的英雄区** — 海军蓝背景。左侧(6 列):眉题(橙色线)'Plumbing & Heating · [CITY]',H1 'BURST PIPE? BOILER DOWN? *WE''RE ON THE WAY.*' 导语(Paper 85%,max-width 520px):'Trueflow answers [PHONE] twenty-four hours a day — a dispatcher, not a menu. Flat-rate quotes before we touch a wrench, and a technician at your door in under an hour when it matters.' 三行信任信息带 Lucide 图标(ShieldCheck 'Licensed & insured, OH-88412';Timer 'Average arrival 47 minutes';BadgeCheck '2-year warranty on every repair')。海军蓝上的次要按钮 'See flat-rate prices' → #pricing。右侧(5 列,偏移 1):Paper 上的估价器卡片(见下一节)。英雄区底部的账本行:'12 technicians · 6 vans · 15 years on the road'(Barlow 600 14px Paper 75% 不透明度)。
布局:页眉下方顶部垂直内边距 128px,底部 96px。照片 hero-van.webp 作为全出血背景,在海军蓝上 18% 不透明度,带 linear-gradient(180deg, rgba(19,41,63,0.92), rgba(19,41,63,0.96))。低于 1024px:单列,估价器在信任行下方。
5. **即时报价估价器** — Paper 卡片,id='estimate'。卡片头部:眉题 'Instant estimate' 和 H3 'What will it run me?' 配说明 'A honest range before anyone visits. Three questions, no email.' 卡片内的步骤芯片:1) 工作 — 8 个选项作为 2x4 芯片网格:'Burst pipe / leak'(紧急档)、'Blocked drain'、'Water heater'、'Boiler / furnace'、'Toilet or faucet'、'Radiators'、'Sump pump'、'Renovation quote'。2) 房屋尺寸 — 'Apartment'、'House up to 2,000 sq ft'、'House over 2,000 sq ft'。3) 紧急程度 — 'Emergency (now)'、'This week'、'Planning ahead'。结果面板在 Orange Pale 上(始终可见,实时更新):'Estimated: $180 – $420'(Barlow Condensed 700 40px Ink,tabular-nums,变化之间计数),行 'Typical fix: 60–90 minutes at the house' 和 'Final flat rate confirmed before work starts.' 按钮:主按钮 'Book a visit' → #lead(将估价与线索一起存储)和幽灵按钮 'Or call [PHONE]'(tel:)。说明:'Ranges from 2,400 jobs in the last two years. Your wall stays closed until you agree the number.'
布局:Paper 卡片 10px 圆角,1px Rule 边框,32px 内边距。芯片:Mist 填充,1px Rule 边框,999px 圆角,选中填充海军蓝配 Paper 文字;悬停边框橙色。结果面板 20px 圆角,内边距 24px。估价数学(区间 × 尺寸乘数 1 / 1.15 / 1.3,紧急程度 +60% / +0% / −5%,四舍五入到 $10)位于 src/lib/estimate.ts,区间在 content.ts 中。
6. **保证条** — Mist 带,四个虚构徽章形状(绘制 SVG,Orange 在 Orange Pale 上,绝非真实认证标志):ShieldCheck 'Licensed & insured' — 'State license OH-88412, $2M coverage, both current.';Receipt 'Flat-rate quotes' — 'The number we quote is the number you pay. No hourly meter running.';Wrench '2-year warranty' — 'Repairs warranted two years, parts and labor, in writing.';Clock 'No overtime rates' — 'Nights, weekends and holidays cost the same as Tuesday at noon.'
布局:四个等宽列,24px 间距,徽章 64px 圆形 + 标题 Barlow Condensed 700 20px + 两行正文 Barlow 14px。低于 768px:2x2,然后单列。
7. **服务** — 区块 id='services'。眉题 'What we fix' 和 H2 'Six jobs, flat rates, no surprises.' 六张卡片,每张顶部有照片、名称(Barlow Condensed 700 24px)、一行描述,以及底部行 'from $89'(Barlow Condensed 700 24px Orange)+ 'Typical: 60–90 min'(Barlow 13px Slate):1) 照片 tools-flat.webp — 'Emergency leaks & bursts' — 'Water where it shouldn''t be. We shut it off, dry it out and fix the line.' — from $129。2) 照片 boiler-install.webp — 'Boilers & furnaces' — 'Repairs, service and replacements, all makes we can still get parts for.' — from $210。3) 照片 pipe-work.webp — 'Drains & blockages' — 'Camera inspection first, so we fix the pipe, not a guess.' — from $99。4) 照片 kitchen-sink.webp — 'Kitchens & bathrooms' — 'Faucets, toilets, sinks and the pipes behind the walls.' — from $89。5) 照片 hero-van.webp(复用)— 'Water heaters' — 'Tank and tankless, same-day swaps when the shower goes cold.' — from $240。6) 照片 technician-belt.webp — 'Radiators & sump pumps' — 'Bleeding, balancing and the pump that keeps the basement dry.' — from $150。每张卡片按钮 'Get an estimate' → #estimate(向上滚动并预选匹配的工作芯片)。
布局:Paper 背景。3x2 网格(24px 间距),卡片在 Mist 上 10px 圆角,1px Rule 边框;照片宽高比 4:3,仅顶部圆角 10px。低于 900px:2 列,低于 640px:单列。
8. **ZIP 检查器和区域地图** — 区块 id='pricing'。眉题 'Where we roll' 和 H2 'In [CITY] and forty minutes around it.' 左侧:ZIP 检查器 — 输入框(占位符 'Your ZIP code'),提交 'Check';对于服务的后缀(43012、43054、43214、43219、43230)显示 Good 结果卡片:对勾图标、'Covered — that''s [neighborhood].' 和 'Next estimate slots: tomorrow 8am–10am. Emergencies: today.';任何其他 5 位数字输入得到橙色卡片:'Not on our regular routes — but call [PHONE]; we cover most of the metro and we''ll tell you straight.';无效输入显示内联提示 'Five digits, like 43214.' 右侧:AreaMap SVG — Rule 轮廓街道网格,中心橙色图钉标记 '[BRAND] HQ',虚线橙色半径圆标记 '40 min',五个 Good 圆点标记街区,一个小北箭头;说明 'Routes as the crow drives, not as the crow flies.'
布局:Mist 背景。两列:检查器 5 列,地图 6 列偏移 1。地图 SVG viewBox 0 0 720 520,宽度 100%。低于 900px:堆叠,检查器在前。
9. **Reviews(评价)** — 区块 id='reviews'。眉题(Eyebrow)'Neighbors, quoted',H2 'Three of 412 reviews.'。卡片:1)五颗 Orange(橙色)星 — '"Sunday night, water heater died, water everywhere. Trueflow answered on the second ring and the tech was pulling in at minute fifty-one. Quoted before he touched anything."' — Dana K., Foundry District — 'Emergency water heater swap'。2)五颗星 — '"The camera found the blockage was roots, not toys (two kids, both innocent). Flat rate, clean up better than they found it, warranty in writing."' — Marcus and Jo T., Quarry North — 'Drain line repair'。3)四星半(绘制半星)— '"Booked an estimate for a bathroom redo. The quote came in three parts — must, should, someday — which is the most honest document I''ve received from a trades company."' — Priya S., Bellwood — 'Renovation estimate'。
布局:Paper(纸白)背景。三个等宽列,24px 间距,卡片使用 Mist(雾灰)1px Rule(分隔线)边框、28px 内边距;引文 Barlow 400 16px / 1.7,署名 Barlow 600 13px Slate(石板灰),工种用 Orange(橙色)。低于 860px:堆叠。
10. **Process and lead form(流程与线索表单)** — 区块 id='lead'。眉题 'How a visit goes',H2 'Four steps, zero drama.'。步骤条:1)Phone 'You call [PHONE]; a dispatcher answers, asks three questions and books a window.' 2)ClipboardList 'The tech arrives, diagnoses and quotes a flat rate — before any tool leaves the van.' 3)Wrench 'You agree the number; the work happens; the old parts go in a box, not the wall.' 4)Sparkles 'We clean up, you get the warranty in writing, and the invoice matches the quote.'。下方,线索表单放在步骤条旁的 Paper(纸白)卡片上(右列):姓名输入框、电话输入框、文本域 'What''s going on?'(可选)、主按钮 'Request my visit',以及说明文字 'We call back within 15 minutes during the day. Nothing is sent anywhere — this demo keeps your details in your browser.'。提交时(姓名 + 有效电话为必填):卡片切换为 Good(成功)确认 — 对勾圆圈、'Got it, [NAME].'、'A dispatcher will call [PHONE]. If it''s flooding, call now — don''t wait for us to click.',以及已存储的估价行(如果存在)('Your estimate: $180 – $420, Water heater, this week')。
布局:Navy(深蓝)背景,Paper(纸白)文字。步骤条:四个步骤排成一行,编号的 Orange(橙色)圆圈由 1px Paper/25% 线条连接。表单占 5 列、右偏移 1;输入框 Paper(纸白)填充、Navy(深蓝)文字。低于 1024px:步骤条变为 2x2,表单在下方。
11. **FAQ(常见问题)** — 区块 id='faq'。眉题 'Straight answers',H2 'Asked at the door, answered here.'。五个手风琴项:1)'Do you charge extra at night or on weekends?' — 'No. Nights, weekends and holidays bill at the same flat rates as Tuesday at noon. The estimate you see is the estimate you pay.' 2)'Are you licensed and insured?' — 'State license OH-88412 and $2M liability coverage, both current; both numbers are on every invoice and every van.' 3)'What does the warranty cover?' — 'Repairs carry two years, parts and labor, in writing. Replacements carry the manufacturer''s term plus our first year of labor.' 4)'Can I supply my own parts or fixtures?' — 'Yes. We install customer-supplied parts; the labor warranty still applies, the part warranty passes to the maker.' 5)'What if the quote changes once you open the wall?' — 'It stops. Work pauses, you see photos of what we found, and nothing continues without a new number you agreed to.'
布局:Paper(纸白)背景,手风琴行之间用 1px Rule(分隔线)分隔,问题用 Barlow Condensed 700 22px 大写,答案 Barlow 16px / 1.7,最大宽度 66ch,右侧 Plus 图标。容器最大宽度 780px。
12. **Footer(页脚)** — Navy(深蓝)背景。四列:1)文字标识 '[BRAND]'(Barlow Condensed 700 24px Paper)上方为 '[TRADE] · Est. 2009' 和 'OH-88412 · $2M insured'。2)'Reach us':电话 tel: '[PHONE]' 24/7,dispatch@ + emailDomain,地址 2210 Foundry Road, [CITY]。3)'Hours':'Phones: 24/7, humans only' / 'Office: Mon–Sat 7am–6pm' / 'Estimates: same week, usually tomorrow'。4)'This page':锚点 Services、Pricing、Estimate、Reviews、FAQ。底线位于 1px Paper/15% 分隔线下方:'© [BRAND]. Fixed right, priced straight.'
布局:垂直内边距 72px,4 个等宽列,底线在分隔线下方 40px。低于 768px:两列,然后堆叠。
## 资产
- 图片:为本设计制作的模板照片(可随模板自由再分发)。用 curl -L -o 将每张图片下载到 public/images/:https://media.vibefather.ai/assets/a0691ecf-c44e-4489-a4a2-9d11c6fc7a8c/hero-van.webp → public/images/hero-van.webp(Hero 背景,Navy 上 18% 不透明度,Services 卡片 5;alt 'A clean white service van parked on a quiet residential street');https://media.vibefather.ai/assets/a0691ecf-c44e-4489-a4a2-9d11c6fc7a8c/tools-flat.webp → public/images/tools-flat.webp(Services 卡片 1;alt 'Plumbing tools laid out neatly on a workbench');https://media.vibefather.ai/assets/a0691ecf-c44e-4489-a4a2-9d11c6fc7a8c/boiler-install.webp → public/images/boiler-install.webp(Services 卡片 2;alt 'A new wall-mounted boiler installed on a clean utility wall');https://media.vibefather.ai/assets/a0691ecf-c44e-4489-a4a2-9d11c6fc7a8c/pipe-work.webp → public/images/pipe-work.webp(Services 卡片 3;alt 'Copper pipe fittings and a valve arranged after a repair');https://media.vibefather.ai/assets/a0691ecf-c44e-4489-a4a2-9d11c6fc7a8c/kitchen-sink.webp → public/images/kitchen-sink.webp(Services 卡片 4;alt 'The cabinet under a kitchen sink with fresh white PVC trap and shutoff valves');https://media.vibefather.ai/assets/a0691ecf-c44e-4489-a4a2-9d11c6fc7a8c/technician-belt.webp → public/images/technician-belt.webp(Services 卡片 6;alt 'A loaded tool belt hung on a pegboard wall')。共六个文件。
- 图片:在项目根目录写入 ASSETS.md,包含一个表格:path、source URL、author、license——每张照片一行(source 'media.vibefather.ai, made for this template',author 'VibeFather',license 'Distributed with the template'),另加 @fontsource/barlow-condensed 和 @fontsource/barlow(OFL-1.1)以及 lucide-react(ISC)的行。绝不用图库网站(Unsplash、Pexels、Pixabay)或含人物、人脸或可读品牌标识的图片替换照片。
- 图标:仅用 lucide-react:PhoneCall、Phone、Menu、X、Plus、Check、ShieldCheck、BadgeCheck、Timer、Clock、Receipt、Wrench、Sparkles、MapPin、Star、StarHalf、ClipboardList、ArrowRight。描边宽度 1.75,16–24px,颜色继承。public/favicon.svg 手写:viewBox 0 0 32 32,一个 32x32 的 rect,rx 7,填充 #E8622A,一个 Paper(#FFFFFF)扳手字形。无其他 logo:公司名称始终以文字排版呈现;保障徽章绘制为纯几何形状(盾牌、圆环、对勾、时钟),绝不模仿任何真实认证机构的标志。
- 字体:安装 @fontsource/barlow-condensed 和 @fontsource/barlow,并在 src/fonts.ts 中按 Setup 所列导入。Vite 会将 woff2 文件打包进 dist/。
- 图片:代码绘制:区域地图(内联 SVG 街道、半径圆、图钉和圆点)、虚构的保障徽章、标签、估价器结果面板、脉冲圆点、星星(包括半星)以及 favicon。无其他位图,无插画,无地图瓦片。
## 不要做
- 不要后端、不要表单提交、不要向任何 API 发起 fetch 请求:估价器、ZIP 检查和线索表单都只在浏览器内解析(localStorage);不向任何地方发送数据,表单中要说明这一点。
- 这个单页上的所有链接都是锚点(./index.html#services、#pricing、#estimate、#reviews、#lead、#faq),外加由 [PHONE] 构建的 tel: 链接。
- 一切资源自托管:字体通过 Fontsource,图标使用 npm 包或内联 SVG,图片下载到 public/images/。不要 CDN 的 <script> 或 <link> 标签,不要 Google Fonts,不要分析统计。
- 生产构建:压缩、不生成 source map、不把 src/ 复制进 dist/、用单条命令 npm run build、输出在 dist/ 下且小于 10 MB。
- 不要真实公司名或连锁品牌名,不要真实执照编号或认证机构(徽章形状是虚构的几何图形),不要地图瓦片或嵌入地图,不要含人脸、手、人物,或货车、工具、零件上有可辨识品牌标识的照片。
- 除 'Est. 2009' 外,任何地方都不要出现日期或年份;网站永远不显示当天日期。
- 除可选的页脚署名链接外,网站内绝不提及 VibeFather 或任何其他品牌;所有文案都是虚构的美式英语。
- 在所有地方尊重 prefers-reduced-motion:禁用脉冲、数字递增、描边绘制、滑动和错落入场图钉;保留颜色/边框的悬停效果。
- 网站必须在 1440x900 桌面端和 390x844 移动端正常工作,控制台零报错;估价器和 ZIP 检查器仅用键盘即可操作,每个交互元素都有可见的焦点环。
- 文案保持具体:不要 lorem,不要填充内容,不要无法验证的最高级表述;每个价格、分钟数和保修条款都来自 src/content.ts。
---
— Prompt by VibeFather · https://vibefather.ai/t/home-services-quote-landing-page · 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: "Home Services Quote Landing Page"
colors:
paper: "#FFFFFF"
mist: "#F1F4F8"
navy: "#13293F"
navy_soft: "#1D3A57"
ink: "#17222E"
slate: "#5B6B7B"
rule: "#DCE2EA"
orange: "#E8622A"
orange_deep: "#C94E1D"
orange_pale: "#FBE3D6"
good: "#2E7D5B"
typography:
display_h1_h2_h3_service_names_price_figures_the_wordmark_phone_numbers_in_large_sizes: { family: "Barlow Condensed", weights: [600, 700] }
text_and_ui_body_eyebrows_buttons_nav_form_fields_captions_numbers_font_variant_numeric_tabular_nums_for_prices_and_estimates: { family: "Barlow", weights: [400, 600] }
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 104px desktop, 80px under 1024px, 64px under 640px. Type scale: H1 clamp(46px, 7vw, 96px) Barlow Condensed 700, line-height 0.98, uppercase, letter-spacing 0.005em; H2 clamp(34px, 4.4vw, 58px) Barlow Condensed 700 uppercase; H3 24px Barlow Condensed 700; lead Barlow 400 18px / 1.65; body Barlow 400 16px / 1.7 (max-width 64ch); eyebrow Barlow 600 12px uppercase letter-spacing 0.16em Slate, preceded by a 24px x 2px Orange line with 12px gap; caption Barlow 400 13px Slate. Buttons: height 54px, padding 0 28px, Barlow 600 15px uppercase letter-spacing 0.08em. Primary: Orange fill, Paper text. Secondary: 1px Ink border, Ink text (on Navy: 1px Paper border, Paper text). Small buttons 40px high. Inputs: height 52px, 1px Rule border, Mist fill, 16px Barlow, focus border Orange. Phone links: Barlow Condensed 700 26px, tabular-nums. Focus ring everywhere: 2px Orange outline with 3px offset."
radius: "10px on cards, buttons, inputs, chips, photos and the estimator panel. 999px only for chips, badges and the pulse dot."
---
# Home Services Quote Landing Page — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Paper** `#FFFFFF` — Page background, cards, estimator panel.
- **Mist** `#F1F4F8` — Alternate section background (Services, Process), input fill, chips.
- **Navy** `#13293F` — Hero background, header surface, footer, emergency bar text, photo overlays (as rgba(19,41,63,x)).
- **Navy Soft** `#1D3A57` — Hover surface on Navy, selected estimator step fill, deep borders.
- **Ink** `#17222E` — Headlines and body text on light backgrounds, icon color.
- **Slate** `#5B6B7B` — Secondary text, captions, eyebrows, disabled states (at 45% opacity).
- **Rule** `#DCE2EA` — 1px hairlines, card borders, input borders, map contour lines.
- **Orange** `#E8622A` — The one accent: emergency bar background, primary CTAs, price figures, selected chips, focus ring, map pin.
- **Orange Deep** `#C94E1D` — Primary button hover and pressed state.
- **Orange Pale** `#FBE3D6` — Estimate result background, badge fills, hover tint for service cards.
- **Good** `#2E7D5B` — Success states: ZIP covered check, form saved check, guarantee check marks.
## Typography
- **Display: H1, H2, H3, service names, price figures, the wordmark, phone numbers in large sizes** — Barlow Condensed (OFL), weights 600/700. Self-host the font files.
- **Text and UI: body, eyebrows, buttons, nav, form fields, captions, numbers (font-variant-numeric tabular-nums for prices and estimates)** — Barlow (OFL), weights 400/600. 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 104px desktop, 80px under 1024px, 64px under 640px. Type scale: H1 clamp(46px, 7vw, 96px) Barlow Condensed 700, line-height 0.98, uppercase, letter-spacing 0.005em; H2 clamp(34px, 4.4vw, 58px) Barlow Condensed 700 uppercase; H3 24px Barlow Condensed 700; lead Barlow 400 18px / 1.65; body Barlow 400 16px / 1.7 (max-width 64ch); eyebrow Barlow 600 12px uppercase letter-spacing 0.16em Slate, preceded by a 24px x 2px Orange line with 12px gap; caption Barlow 400 13px Slate. Buttons: height 54px, padding 0 28px, Barlow 600 15px uppercase letter-spacing 0.08em. Primary: Orange fill, Paper text. Secondary: 1px Ink border, Ink text (on Navy: 1px Paper border, Paper text). Small buttons 40px high. Inputs: height 52px, 1px Rule border, Mist fill, 16px Barlow, focus border Orange. Phone links: Barlow Condensed 700 26px, tabular-nums. Focus ring everywhere: 2px Orange outline with 3px offset.
- Radius: 10px on cards, buttons, inputs, chips, photos and the estimator panel. 999px only for chips, badges and the pulse dot.
## Motion
- Easing: --ease-out cubic-bezier(0.22, 0.61, 0.36, 1) for reveals and result changes; --ease-io cubic-bezier(0.65, 0, 0.35, 1) for accordion and picker swaps. Confident, never playful.
- Reveal: blocks wrapped in <Reveal> start at opacity 0, translateY(16px) and animate to rest over 600ms --ease-out when 15% visible (Motion whileInView, viewport once). Siblings stagger by 70ms (index prop).
- Emergency bar: a small Orange pulse dot beside '24/7' (scale 1 to 1.3, 1400ms loop, pauses under reduced motion); the bar itself slides down 100% into place 300ms after load.
- Estimator: each picker choice fills the chip over 120ms and slides the estimate panel's numbers to the new range — the price counts between old and new values over 500ms --ease-io, the minutes badge crossfades. Switching steps slides the panel content 16px horizontally, 260ms --ease-io (AnimatePresence mode 'wait').
- ZIP checker: on submit, a spinner (drawn CSS ring) spins for a fixed 700ms, then the result card slides up 12px — Good check and 'Covered — [neighborhood]' for served prefixes, Orange 'Call us' card otherwise.
- Service cards: hover lifts 4px and the price ticks up 2px; the Orange 'from' rule grows from 0 to 24px width.
- Area map: when scrolled into view, the radius circle draws (stroke-dashoffset to 0) over 900ms, then van pins pop with 100ms stagger; the covered ZIP dots fade in.
- Reviews: cards rise 8px on hover; the star row fills Orange left to right over 400ms on first view.
- Header: transparent over the Navy hero with Paper text; after 40px of scroll it gets Paper at 96% opacity, Ink text, a 1px Rule border and a small Orange 'Call' button, 250ms transition. The emergency bar stays above it (two stacked sticky rows, emergency bar first).
- Links: .link-draw grows a 1px currentColor underline from 0% to 100% width over 250ms --ease-out on hover and focus-visible.
- prefers-reduced-motion: reduce — disable the bar slide, pulse, count-ups, draws, staggered pins and layout animations (render at rest). Color and border hover changes stay. Use CSS @media in index.css plus Motion's useReducedMotion in components.
## Imagery
Real photography only, documentary and workmanlike, all six made for this template in one consistent style: natural daylight, navy and white with orange tool accents, clean job sites, fine grain. Never a person: vans, tools, installs, parts and details — no faces, no hands. No readable text, logos or branding on vans, tools or parts. Every photo uses object-fit cover with the object-position given under Assets, 10px corners, no shadow; photos on Mist get a 1px Rule outline. Captions under photos in Barlow 13px Slate. Drawn in code: the favicon, the wordmark (type only), the invented guarantee badges (plain geometric shapes — shield, ring, check, clock — never a real certification body's logo), the area map, chips and the estimator panel. Icons: lucide-react only, stroke width 1.75.
## Tone
Plain, fast and honest, like a good dispatcher. Short declarative sentences, concrete numbers (minutes, dollars, years), no exclamation marks, no 'family owned and operated' clichés without specifics.
---
— Prompt by VibeFather · https://vibefather.ai/t/home-services-quote-landing-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 独立电工:把行业设为电工,将六张服务卡片换成配电盘升级、重新布线和电动车充电桩,并保留紧急程度选择器用于当日上门。
- 屋顶和排水沟施工队:把首屏上门承诺改写为风暴响应,将估算器的工作类型换成维修、更换和检查,并把 ZIP 查询链接到你的县列表。
- 车库门公司:更改行业,把服务卡片设为弹簧维修、开门器安装和新门安装,并保留统一价格的起步价和四步流程条。
- 为客户端制获客页面的自由职业行业营销人员:按客户复制内容文件,设置品牌、城市和电话,并复用估算器和 ZIP 查询,无需改动布局。
家政服务报价落地页:常见问题
家政服务报价落地页上的即时报价估算器是如何计算价格区间的?
家政服务报价落地页上的估算器会问三个问题:工作类型、房屋面积和紧急程度。一个纯函数读取内容文件中存储的价格区间,返回低值、高值和预计到达分钟数。全部在浏览器中运行,不提交表单,也不需要服务器。
家政服务报价落地页上的 ZIP 查询具体是做什么的?
家政服务报价落地页上的 ZIP 查询会把输入的邮编与内容文件中虚构的社区列表进行比对。如果该区域被覆盖,会显示社区名称、成功勾选标记和最近可预约时段。如果不覆盖,则告知访客该区域不在当前地图范围内。查询在客户端完成,不会发送到任何地方。
怎么用 AI 做一个家政服务报价落地页?
复制本页的提示词,或者运行 npx vibefather add home-services-quote-landing-page,把 变量 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。