用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
单套房产详情页是一个专注展示单套住宅的网站,提供买家在预约看房前所需的深度信息。它适合独立经纪人、精品中介、房产营销人员和业主,他们想要一个专属房源页,而不是搜索列表里的又一张卡片。
首屏是全视口照片画廊,控件克制,并突出价格和关键房产信息。编辑式故事和图片拼贴赋予住宅个性,而原创 SVG 户型图让访客选择房间,查看尺寸、装修和相关照片。示意图式社区指南让周边设施一目了然,无需依赖地图服务。
实用工具内置在页面中。房贷估算器根据可编辑输入重新计算本金和利息、房产税和保险,并明确标注结果仅供参考。开放日场次接入经过验证的预约流程,仅保存在访客设备上并生成邮件,而不是假装提交到服务器。经纪人区域包含直接联系操作和可复制的咨询信息。
温暖的石灰岩色调、高对比度衬线标题和精准的间距营造出安静的编辑感。动效仅限于画廊过渡、区块显现和户型图反馈,并全程支持减少动效。替换房产名称、位置、价格、房屋类型、机构和经纪人变量即可创建第二个房源;如果合适就保留生成的摄影图片,或用你拥有适当授权的图片替换本地资源。所有内容集中在一个数据文件中,最终网站构建为静态文件,无需后端或第三方 API。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Single Property Listing Page Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else. ## Brief Build an original, single-page listing website for [PROPERTY_NAME], a [PROPERTY_TYPE] at [PROPERTY_LOCATION], presented by [BRAND] and listed at [PRICE]. Combine an immersive five-image property gallery, exact buying facts, an original interactive SVG floor plan, a schematic local guide, a live mortgage estimate, open-house RSVP, and direct agent contact. The site must feel like a complete, operating listing while remaining entirely static and honest about local-only form behavior. - Audience: Independent real estate agents, boutique brokerages, property marketers, and individual sellers who need a polished dedicated site for one residential listing; visitors are prospective buyers comparing a visit against other homes. - Goal: Help a buyer understand the home visually, assess practical costs and location, select an open-house session, and contact [AGENT_NAME] without navigating away to a listing portal. - Tone: Quietly luxurious, precise, warm, and trustworthy. Use concrete property details and plain explanations rather than sales pressure, superlatives, or generic lifestyle claims. All site copy, labels, sample data, and alt text are US English. ## Stack - Framework: Vite 5 + React 18 + TypeScript - Styling: Tailwind CSS 3.4 - Libraries: motion (MIT), lucide-react (ISC), @fontsource/cormorant-garamond (OFL), @fontsource-variable/manrope (OFL) - Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs. - Setup: - Configure Vite with base: './' and build.sourcemap: false; npm run build must emit only the production site to dist/. - Define the listed palette, Cormorant Garamond display font, Manrope body font, spacing, and keyframes in the Tailwind configuration and global CSS; self-host fonts through the two Fontsource packages. - Keep every headline, paragraph, property fact, room, amenity, gallery caption, calculator default, open-house option, and contact detail in src/content.ts, populated from the six variables; when values change, rewrite all dependent copy and derived values instead of leaving default-only wording. - Use React state for the gallery, lightbox, mobile menu, floor-plan selection, calculator, FAQ, RSVP, and inquiry preview. Use only localStorage for the explicitly labeled on-device RSVP draft; no network persistence. - Create the floor plan and neighborhood schematic as original inline SVG with semantic React controls; use Lucide icons through the npm package rather than drawn brand marks or external SVG files. - Use responsive layouts and accessible controls at 1440×900 and 390×844, including visible focus states, keyboard gallery and lightbox operation, labeled inputs, and a reduced-motion path. ## Variables - [BRAND] — Agency brand (default: "Juniper & Vale"). Invented boutique agency name used in the header, contact details, and footer. - [PROPERTY_NAME] — Property name (default: "Alder House"). Short invented name for the individual home. - [PROPERTY_LOCATION] — Property location (default: "18 Willow Lane, Austin, Texas"). Fictional street address with city and state; rewrite neighborhood details to suit it. - [PRICE] — Listing price (default: "$1,285,000"). Asking price and initial mortgage-calculator property value. - [PROPERTY_TYPE] — Property type (default: "Single-story courtyard home"). Short descriptive residential category used in the facts and introduction. - [AGENT_NAME] — Listing agent (default: "Elena Marlow"). Fictional listing agent used in the bio, RSVP, and inquiry actions. - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/single-property-listing-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 - Chalk `#F4F1EA` — Primary page background and calm negative space - Paper `#FFFEFA` — Form, room-detail, and calculator surfaces - Ink `#1C2420` — Primary text and dark footer background - Moss `#354A3D` — Primary buttons, selected hotspots, and key accents - Limestone `#D8D1C4` — Hairline borders, floor-plan walls, and inactive tracks - Clay `#A65338` — Small status accents and error states, never large fills ### Typography - Display headlines, property name, and large price: Cormorant Garamond (OFL), weights 400/500/600 - Body, navigation, forms, facts, and controls: Manrope Variable (OFL), weights 400/500/600/700 ### Layout & motion - Spacing: Use an 8px base grid, a 12-column content grid capped at 1320px, 64px desktop gutters and 20px mobile gutters. Major sections have 112px vertical padding on desktop and 72px on mobile. Keep reading measures near 62 characters and fact labels compact. - Radius: Use crisp 2px corners on buttons, inputs, and image frames; 999px only for the gallery counter and small status pills. Avoid a page of rounded cards and heavy shadows. - Motion: Crossfade hero photographs over 700ms with a subtle 1.02-to-1 scale settle; advance every 6 seconds, pause on hover or focus, and stop autoplay when prefers-reduced-motion is set. - Motion: Reveal major section headings and media once with Motion whileInView, 24px upward travel, 600ms duration, and 80ms stagger; content remains visible without animation and reduced motion removes transforms. - Motion: Animate floor-plan selection and room details with a 180ms fill and opacity change; never delay the actual selected state while waiting for animation. - Motion: Give buttons, gallery controls, accordion rows, and navigation links 160ms color or underline feedback with no springy movement or scroll-jacking. - Imagery: Use the six generated, locally stored images as one coherent editorial shoot of the same invented contemporary pale-brick courtyard property: warm afternoon daylight, white oak, limestone, olive planting, restrained natural color, and realistic architectural proportions. Five property photographs anchor the hero, gallery, and room details; one fictional agent portrait appears only in the contact section. The hero never uses the portrait. Draw the floor plan, neighborhood map, icons, and chart in code. ## Pages & Sections ### [PROPERTY_NAME] · [BRAND] (`index.html`) 1. **Header and full-screen gallery** — Fixed header shows [BRAND] as a simple text wordmark, anchors for Residence, Floor Plan, Neighborhood, and Estimate, plus a Book a Tour button to #open-house. The hero eyebrow is Just listed · [PROPERTY_TYPE]. H1 is [PROPERTY_NAME], followed by [PROPERTY_LOCATION], [PRICE], and 4 beds · 3 baths · 2,680 sq ft. Primary CTA Explore the Residence goes to #residence; secondary CTA View Open House goes to #open-house. Use all five property images as slides with concise room captions, a 01 / 05 counter, previous and next buttons, and five labeled thumbnail dots. A mobile menu exposes the same anchors without covering gallery controls. Layout: Hero fills 100svh with a 720px desktop minimum and 680px mobile minimum. Photography is full bleed with object-fit: cover and a restrained bottom-to-top dark gradient for readable white copy. Place headline and CTAs in the lower-left content grid, gallery controls lower-right, and a slim For sale status at the upper-left below the header. Header begins transparent over photography and gains a Chalk background, Ink text, and hairline border after 24px scroll. Motion: Autoplay and crossfade the five slides as specified; arrows and thumbnail dots update immediately, keyboard left and right work when the gallery has focus, and the header background change is 180ms. 2. **Key facts** — Create a scannable facts ledger with Offered at [PRICE], 4 bedrooms, 3 bathrooms, 2,680 sq ft interior, 0.31-acre lot, and Built 2019. Add a short line: [PROPERTY_TYPE] with a private courtyard, two-car garage, and no HOA. Use exact labels rather than icons alone. Layout: A six-column strip directly below the hero with Limestone vertical dividers on desktop and a two-column grid with horizontal dividers on mobile. Price occupies the first wider column; numerals use Cormorant Garamond 40px and labels use Manrope 12px uppercase with letter spacing. Motion: Reveal the ledger once as a group; no count-up animation. 3. **Residence story** — Section eyebrow The Residence. Default headline: Light, privacy, and room to breathe. Default body: At [PROPERTY_NAME], pale brick, white oak, and deep-set windows soften the line between indoors and out. The main living spaces gather around a planted courtyard, giving every day a quiet center. A second paragraph explains that the kitchen has a 10-foot limestone island, the primary suite opens to a private garden, and a flexible fourth bedroom works as a study. Add six specific amenities: white-oak floors, custom limestone island, zoned HVAC, built-in storage, two-car garage, and drought-tolerant landscaping. Layout: Two-column editorial opening with the headline spanning five columns and body spanning four. Below, use living-room.webp across eight columns and a compact amenities list across four with a small floor-plan teaser link. Keep generous white space rather than putting the copy in a floating card. Motion: Heading, image, and amenities reveal in that order; a very subtle image scale settle is optional and disabled for reduced motion. 4. **Editorial gallery** — Headline: Every room, considered. Show living-room.webp, kitchen.webp, primary-bedroom.webp, and courtyard.webp with the captions Living room · courtyard aspect, Kitchen · 10-foot limestone island, Primary suite · garden access, and Courtyard · evening shade. Every image button opens an accessible lightbox containing all five property photos, captions, counter, previous and next controls, and Close; Escape closes and focus returns to the originating thumbnail. Layout: Use an asymmetric 12-column mosaic: one wide 7-column image, one tall 5-column image, then two balanced 6-column images. On mobile use a single column with consistent 4:3 crops and no horizontal carousel. Lightbox is a full-screen Ink overlay with a centered contained image and controls outside the image bounds. Motion: Lightbox fades in over 180ms and slide changes crossfade over 250ms; trap focus while open, prevent background scroll, and honor reduced motion. 5. **Interactive floor plan** — Headline: Walk the plan before you visit. Build an original, dimensioned inline SVG for the described single-story home, not a traced plan. Include Living Room 22 × 18 ft, Kitchen 16 × 14 ft, Primary Suite 15 × 13 ft, Bedroom Two 12 × 11 ft, Bedroom Three 12 × 11 ft, Bedroom Four / Study 11 × 10 ft, three bathrooms, entry, two-car garage, and Courtyard 20 × 16 ft. Selecting a room updates an adjacent detail panel with its dimensions, one concrete finish note, and a related property image where available. Default selection is Living Room with white-oak floors and a courtyard-facing glass wall; Kitchen has a 10-foot limestone island; Primary Suite has garden access and a walk-in closet. Provide the same room choices as a semantic button list for screen readers and mobile users. Layout: Section background Paper. Desktop places the SVG in eight columns and a sticky room-detail panel in four; mobile stacks a legible 4:3 plan above the room buttons and detail panel. Use 2px Ink walls, Limestone fills, room labels inside the SVG, and Moss selected fills with accessible contrast. Add a small north arrow and the label Illustrative plan · not to scale. Motion: Selected rooms gain a Moss fill and a small dot pulse once; detail text crossfades for 180ms. Keyboard focus is visible and selection never depends on hover. 6. **Neighborhood guide** — Eyebrow Around [PROPERTY_NAME]; headline: Daily essentials, a little closer. For the default Austin listing, invent and list Juniper Coffee · 4-minute walk, Alder Grove Market · 6-minute walk, Willow Creek Trail · 8-minute bike ride, and Eastside Arts Park · 5-minute drive. Add a short paragraph about quiet residential streets, morning coffee, and access to everyday shopping without inventing school ratings or investment claims. Rewrite place names and travel notes when [PROPERTY_LOCATION] changes. Layout: Pair a five-column amenity ledger with a seven-column original schematic SVG map. The map uses abstract local streets, one Moss property pin, four numbered amenity pins, and a small legend; it is not a geographic or navigation service. Selecting an amenity in the ledger highlights its pin and description. Motion: Amenity selection uses a 160ms pin fill and underline change. Do not load map tiles or animate street paths continuously. 7. **Mortgage estimator** — Headline: Plan the monthly picture. Initialize home price from [PRICE], down payment to 20%, interest rate to 6.25%, loan term to 30 years, annual property-tax rate to 1.6%, and annual homeowners insurance to $2,400. Provide synchronized numeric and range controls for down payment and rate, a 15 / 20 / 30-year term select, and editable tax and insurance values. Calculate principal and interest with the standard fixed-rate amortization formula, then add monthly tax and insurance for the total. Show a labeled breakdown for principal and interest, property tax, and insurance, plus loan amount and down-payment dollars. Always display: Illustrative estimate only, not a loan offer. Excludes PMI, HOA dues, and other costs. Layout: Use a Paper section with a five-column control panel and seven-column result panel. The result includes one large monthly total, three ledger rows, and an accessible CSS conic-gradient or SVG donut whose segments match the breakdown. Mobile stacks controls before the result and keeps inputs at least 44px tall. All updates happen locally without API requests. Motion: Numbers and chart update immediately on valid input; use only a subtle 120ms highlight on the changed total. Handle zero, blank, and invalid values with inline messages rather than NaN or broken charts. 8. **Open-house RSVP** — Section id open-house. Eyebrow See it in person; headline: Choose your open house. Offer Saturday · 1:00–3:00 PM, Sunday · 11:00 AM–1:00 PM, and Private tour · request a time. The RSVP form asks for session, name, email, and party size from 1 to 4, with inline validation. On submit, save a clearly labeled RSVP draft to localStorage and show: Your RSVP draft is saved on this device. Email [AGENT_NAME] to confirm your visit. Provide an Email to Confirm button that opens a prefilled mailto draft and a Start Over action that clears the local draft; never claim the request was sent. Include direct phone and email alternatives. Layout: A Moss section with white text contains three compact session choices on the left and a Paper form panel on the right. On mobile stack session choices horizontally scroll-free, then the form. Preserve entered values after refresh through the local draft and expose status messages through an aria-live region. Motion: Session selection and validation feedback use immediate color changes; the confirmation fades in over 180ms with no confetti or false success animation. 9. **Agent contact** — Use agent-portrait.webp beside the eyebrow Your Listing Agent, H2 [AGENT_NAME], and role Principal Broker · [BRAND]. Default bio: Elena combines careful property presentation with clear, practical guidance from first tour to final offer. She knows the craftsmanship and small details that make [PROPERTY_NAME] easy to call home. Rewrite the bio for another agent value. Display a fictional .example email derived from [BRAND], default [email protected], and the fictional phone (512) 555-0147 with Call and Email actions. Add a short inquiry form for name, email, and message; submit opens a local preview with Copy Inquiry and Email Agent actions rather than sending anything. Layout: Use a 12-column grid with a 4-column 3:4 portrait, 3-column agent details, and 5-column inquiry form. Keep the portrait natural and uncropped at the face on mobile. The inquiry preview replaces the form only after valid input and includes an Edit action. Motion: Copy Inquiry changes its label to Copied for 1.5 seconds and announces the state politely; no other decorative motion. 10. **Property notes and footer** — Add four accessible accordion questions: What is included with the home? answer that kitchen appliances, laundry machines, and fitted window shades are included; Is there an HOA? answer No HOA dues for this listing; Can I arrange a private tour? answer Yes, select Private tour or contact [AGENT_NAME] directly; How accurate is the mortgage estimate? answer that it is illustrative and buyers should confirm taxes, insurance, and financing with their providers. Footer repeats [BRAND], [PROPERTY_NAME], [PRICE], the anchor navigation, direct agent contact, and the small line Independent fictional listing presentation. Include the optional [CREDIT] link unobtrusively. Layout: FAQ rows span the center eight columns with hairline dividers and a plus icon that rotates when expanded. Footer is Ink with Chalk text, a three-column desktop layout and stacked mobile layout. Only one FAQ needs to be open at a time, but all answers remain available to keyboard users. Motion: Accordion height and opacity animate over 180ms without hiding content from assistive technology; reduced motion makes expansion immediate. ## Assets - image: Download https://media.vibefather.ai/assets/ebbe606a-6b91-4d3d-9356-a59b9b089526/hero-exterior.webp to public/images/hero-exterior.webp; alt: Pale brick courtyard home framed by olive trees in warm afternoon light; use as hero slide 1 and the exterior lightbox frame. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. - image: Download https://media.vibefather.ai/assets/ebbe606a-6b91-4d3d-9356-a59b9b089526/living-room.webp to public/images/living-room.webp; alt: White-oak living room opening onto a planted courtyard; use as hero slide 2, the residence image, gallery image, and Living Room detail. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. - image: Download https://media.vibefather.ai/assets/ebbe606a-6b91-4d3d-9356-a59b9b089526/kitchen.webp to public/images/kitchen.webp; alt: Warm contemporary kitchen with a long limestone island; use as hero slide 3, gallery image, and Kitchen detail. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. - image: Download https://media.vibefather.ai/assets/ebbe606a-6b91-4d3d-9356-a59b9b089526/primary-bedroom.webp to public/images/primary-bedroom.webp; alt: Calm primary bedroom with white-oak joinery and garden doors; use as hero slide 4, gallery image, and Primary Suite detail. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. - image: Download https://media.vibefather.ai/assets/ebbe606a-6b91-4d3d-9356-a59b9b089526/courtyard.webp to public/images/courtyard.webp; alt: Private limestone courtyard with olive trees and soft afternoon shadows; use as hero slide 5 and a gallery image. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. - image: Download https://media.vibefather.ai/assets/ebbe606a-6b91-4d3d-9356-a59b9b089526/agent-portrait.webp to public/images/agent-portrait.webp; alt: Fictional listing agent standing inside a bright contemporary home; use only in the agent contact section. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. - icon: Use lucide-react for arrows, gallery controls, menu, close, phone, mail, check, copy, and plus icons; no brand icons. The package is installed locally and listed under ISC. - font: Self-host Cormorant Garamond and Manrope Variable with @fontsource/cormorant-garamond and @fontsource-variable/manrope, both OFL; list the installed font files and packages in ASSETS.md. - image: Create the floor plan, neighborhood schematic, property pin, amenity pins, and mortgage chart directly as original inline SVG or CSS; no external map tiles, chart images, or placeholder services. Record all six generated images, Lucide, and Fontsource packages in ASSETS.md with their source or generation credit and license. ## Don'ts - Do not add a backend, serverless functions, API routes, database, authentication, analytics, third-party APIs, map tiles, geocoding, or any network form submission. - Do not claim an RSVP or inquiry was sent; keep the RSVP draft on-device and use explicit copy or mailto actions for contact. - Do not present mortgage results as a quote, financial advice, affordability decision, or loan offer; retain the illustrative-estimate disclaimer and input validation. - Do not use real agency brands, real agent identities, real listing copy, real property addresses, recognizable properties or landmarks, copyrighted listing photographs, logos, or branded iconography. - Do not use commercial fonts, fonts.googleapis.com, fonts.gstatic.com, Adobe Fonts, icon CDNs, stock-photo services, hotlinked assets, placeholder-image services, or assets with restrictive licenses. - Do not use the agent portrait in the hero, recognizable real people, celebrity likenesses, or initials in place of the supplied fictional agent portrait. - Do not copy or trace an existing architectural plan; draw the specified original SVG and label it illustrative and not to scale. - Do not hard-code default-only copy outside src/content.ts; regenerate property names, location-specific copy, contact details, prices, and all derived values when variables change. - Do not add SEO metadata, Open Graph tags, JSON-LD, sitemap work, keyword-stuffed headings, or heading-hierarchy instructions; a plain title and favicon are sufficient. - Do not mention VibeFather inside the site except the optional [CREDIT] footer link, and do not add dates, market claims, school ratings, or investment-return promises. - Do not use bare-directory links, broken anchors, absolute built-asset paths, CDN scripts or styles, source maps, or copy src/ into dist/; keep dist/ under 20 MB and use Vite base './'. - Do not hide essential content behind animation, autoplay under reduced motion, scroll-jack, rely on hover for room selection, or ship console errors at 1440×900 or 390×844. --- — Prompt by VibeFather · https://vibefather.ai/t/single-property-listing-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 单一房源详情页 完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。 ## 简介 为 [PROPERTY_NAME] 构建一个原创的单页房源网站,该房源为位于 [PROPERTY_LOCATION] 的 [PROPERTY_TYPE],由 [BRAND] 呈现,挂牌价为 [PRICE]。整合沉浸式五图房源画廊、精确的购房信息、原创交互式 SVG 户型图、示意性本地指南、实时按揭估算、开放参观 RSVP 以及直接联系经纪人。网站必须感觉像一个完整、正在运营的房源,同时保持完全静态,并如实说明表单仅在本地运行的行为。 - 受众:独立房地产经纪人、精品经纪公司、房产营销人员以及需要为一套住宅房源打造精致专属网站的个人卖家;访客是潜在购房者,正在将一次看房与其他房源进行比较。 - 目标:帮助购房者从视觉上理解房屋、评估实际成本与位置、选择开放参观场次,并联系 [AGENT_NAME],而无需跳转到房源门户网站。 - 语调:低调奢华、精准、温暖且值得信赖。使用具体的房产细节和直白的解释,而非销售压力、夸张辞藻或泛泛的生活方式宣称。所有网站文案、标签、示例数据和替代文本均为美式英语。 ## 技术栈 - 框架:Vite 5 + React 18 + TypeScript - 样式:Tailwind CSS 3.4 - 库:motion(MIT)、lucide-react(ISC)、@fontsource/cormorant-garamond(OFL)、@fontsource-variable/manrope(OFL) - 构建:`npm run build` → `dist/` 中的静态文件。无后端、无服务器代码、无外部 API。 - 设置: - 将 Vite 配置为 base: './' 和 build.sourcemap: false;npm run build 必须只将生产站点输出到 dist/。 - 在 Tailwind 配置和全局 CSS 中定义所列调色板、Cormorant Garamond 展示字体、Manrope 正文字体、间距和关键帧;通过两个 Fontsource 包自托管字体。 - 将每个标题、段落、房产事实、房间、设施、画廊说明、计算器默认值、开放参观选项和联系详情保留在 src/content.ts 中,由六个变量填充;当值变化时,重写所有依赖文案和派生值,而不是保留仅默认值的措辞。 - 为画廊、灯箱、移动菜单、平面图选择、计算器、FAQ、RSVP 和咨询预览使用 React state。仅对明确标记的设备端 RSVP 草稿使用 localStorage;无网络持久化。 - 将平面图和街区示意图创建为具有语义化 React 控件的原创内联 SVG;通过 npm 包使用 Lucide 图标,而不是绘制的品牌标记或外部 SVG 文件。 - 在 1440×900 和 390×844 下使用响应式布局和无障碍控件,包括可见的焦点状态、键盘画廊和灯箱操作、带标签的输入以及减少动态效果的路径。 ## 变量 - [BRAND] — 机构品牌(默认:“Juniper & Vale”)。虚构的精品机构名称,用于页眉、联系信息和页脚。 - [PROPERTY_NAME] — 房产名称(默认:“Alder House”)。为这套独立住宅虚构的简短名称。 - [PROPERTY_LOCATION] — 房产位置(默认:“18 Willow Lane, Austin, Texas”)。虚构的街道地址,含城市和州;请根据它改写社区细节。 - [PRICE] — 挂牌价(默认:“$1,285,000”)。要价,也是抵押贷款计算器的初始房产价值。 - [PROPERTY_TYPE] — 房产类型(默认:“Single-story courtyard home”)。简短的描述性住宅类别,用于事实信息和介绍。 - [AGENT_NAME] — 挂牌经纪人(默认:“Elena Marlow”)。虚构的挂牌经纪人,用于个人简介、RSVP 和咨询操作。 - [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接,指向 https://vibefather.ai/t/single-property-listing-page(默认:是;删除此行即可移除) 页面与区块下的文案是按默认值撰写的。如果你的取值不同,请为它们改写每一个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。 将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便之后无需改动组件即可替换内容。 ## 设计 ### 颜色 - Chalk `#F4F1EA` — 页面主背景与平静的留白 - Paper `#FFFEFA` — 表单、房间详情与计算器表面 - Ink `#1C2420` — 主文本与深色页脚背景 - Moss `#354A3D` — 主按钮、选中热点与关键强调 - Limestone `#D8D1C4` — 细线边框、平面图墙体与非活动轨道 - Clay `#A65338` — 小型状态强调与错误状态,绝不用于大面积填充 ### 字体排印 - 展示标题、房源名称与大号价格:Cormorant Garamond(OFL),字重 400/500/600 - 正文、导航、表单、事实信息与控件:Manrope Variable(OFL),字重 400/500/600/700 ### 布局与动效 - 间距:使用 8px 基础网格,12 列内容网格上限 1320px,桌面端 64px 边距、移动端 20px 边距。主要区块桌面端垂直内边距 112px、移动端 72px。阅读行宽保持在约 62 个字符,事实标签保持紧凑。 - 圆角:按钮、输入框与图片框架使用利落的 2px 圆角;999px 仅用于画廊计数器与小型状态胶囊。避免满页圆角卡片与厚重阴影。 - 动效:首屏照片以 700ms 交叉淡入,并伴随 1.02 到 1 的细微缩放落定;每 6 秒切换一次,悬停或聚焦时暂停,当设置 prefers-reduced-motion 时停止自动播放。 - 动效:主要区块标题与媒体使用 Motion 的 whileInView 只揭示一次,向上位移 24px,时长 600ms,错峰 80ms;无动画时内容保持可见,减少动效时移除变换。 - 动效:平面图选择与房间详情以 180ms 的填充与不透明度变化进行动画;绝不为等待动画而延迟实际选中状态。 - 动效:按钮、画廊控件、手风琴行与导航链接给予 160ms 的颜色或下划线反馈,无弹性运动或滚动劫持。 - 图像:使用六张生成并本地存储的图片,作为同一虚构当代浅色砖庭院住宅的一组连贯编辑拍摄:温暖的午后日光、白橡木、石灰岩、橄榄种植、克制的自然色彩与真实的建筑比例。五张房源照片锚定首屏、画廊与房间详情;一张虚构经纪人肖像仅出现在联系区块。首屏绝不使用该肖像。平面图、街区地图、图标与图表均以代码绘制。 ## 页面与区块 ### [PROPERTY_NAME] · [BRAND] (`index.html`) 1. **页头与全屏画廊** — 固定页头以纯文字字标形式展示 [BRAND],包含 Residence、Floor Plan、Neighborhood 和 Estimate 的锚点链接,以及一个指向 #open-house 的 Book a Tour 按钮。主视觉眉题(eyebrow)为 Just listed · [PROPERTY_TYPE]。H1 为 [PROPERTY_NAME],其后依次是 [PROPERTY_LOCATION]、[PRICE],以及 4 beds · 3 baths · 2,680 sq ft。主 CTA Explore the Residence 指向 #residence;次 CTA View Open House 指向 #open-house。将全部五张房源图片用作幻灯片,配以简洁的房间说明文字、01 / 05 计数器、上一张和下一张按钮,以及五个带标签的缩略圆点。移动端菜单展示相同的锚点,且不遮挡画廊控件。 布局:主视觉占满 100svh,桌面端最小高度 720px,移动端最小高度 680px。摄影图全出血显示,使用 object-fit: cover,并叠加一层克制的自下而上深色渐变,以保证白色文字可读。将标题和 CTA 放在左下角的内容网格中,画廊控件放在右下角,并在页头下方左上角放置一条细长的 For sale 状态标识。页头初始在摄影图上透明,滚动 24px 后获得 Chalk 背景、Ink 文字和细线边框。 动效:按规格自动播放并交叉淡入淡出五张幻灯片;箭头和缩略圆点立即更新,画廊获得焦点时键盘左右方向键可用,页头背景变化时长为 180ms。 2. **关键信息** — 创建一个便于扫读的信息清单,包含 Offered at [PRICE]、4 bedrooms、3 bathrooms、2,680 sq ft interior、0.31-acre lot 和 Built 2019。添加一行简短说明:[PROPERTY_TYPE] with a private courtyard, two-car garage, and no HOA。使用精确标签,而非仅用图标。 布局:紧接主视觉下方的一条六列横带,桌面端使用 Limestone 垂直分隔线,移动端为两列网格并带水平分隔线。价格占据第一个较宽的列;数字使用 Cormorant Garamond 40px,标签使用 Manrope 12px 大写并带字间距。 动效:信息清单作为一个整体一次性显现;不使用数字递增动画。 3. **住宅故事** — 区块眉题为 The Residence。默认标题:Light, privacy, and room to breathe。默认正文:At [PROPERTY_NAME], pale brick, white oak, and deep-set windows soften the line between indoors and out. The main living spaces gather around a planted courtyard, giving every day a quiet center. 第二段说明厨房设有 10 英尺石灰岩中岛,主套房通向私人花园,灵活的第四间卧室可用作书房。添加六项具体设施:white-oak floors、custom limestone island、zoned HVAC、built-in storage、two-car garage 和 drought-tolerant landscaping。 布局:双栏编辑式开篇,标题跨五列,正文跨四列。下方使用 living-room.webp 跨八列,紧凑的设施列表跨四列,并附一个小型平面图预告链接。保留充裕的留白,而不是把文案放进浮动卡片中。 动效:标题、图片和设施按此顺序显现;可选的极轻微图片缩放沉降效果,在减少动态效果模式下禁用。 4. **编辑式画廊** — 标题:Every room, considered。展示 living-room.webp、kitchen.webp、primary-bedroom.webp 和 courtyard.webp,说明文字分别为 Living room · courtyard aspect、Kitchen · 10-foot limestone island、Primary suite · garden access 和 Courtyard · evening shade。每个图片按钮打开一个无障碍灯箱,其中包含全部五张房源照片、说明文字、计数器、上一张和下一张控件以及 Close;按 Escape 关闭,焦点返回触发它的缩略图。 布局:使用非对称 12 列马赛克:一张宽 7 列的图片、一张高 5 列的图片,然后两张均衡的 6 列图片。移动端使用单列,统一 4:3 裁切,不使用水平轮播。灯箱为全屏 Ink 遮罩,图片居中收束显示,控件位于图片边界之外。 动效:灯箱在 180ms 内淡入,幻灯片切换在 250ms 内交叉淡入淡出;打开时锁定焦点,阻止背景滚动,并遵循减少动态效果设置。 5. **交互式平面图** — 标题:Walk the plan before you visit。为所描述的单层住宅构建一张原创的、带尺寸标注的内联 SVG,而非描摹平面图。包含 Living Room 22 × 18 ft、Kitchen 16 × 14 ft、Primary Suite 15 × 13 ft、Bedroom Two 12 × 11 ft、Bedroom Three 12 × 11 ft、Bedroom Four / Study 11 × 10 ft、三间浴室、入口、双车位车库和 Courtyard 20 × 16 ft。选择房间时更新相邻的详情面板,显示其尺寸、一条具体的饰面说明,以及可用的相关房源图片。默认选中 Living Room,配 white-oak floors 和面向庭院的玻璃墙;Kitchen 设有 10-foot limestone island;Primary Suite 有花园通道和步入式衣橱。为屏幕阅读器和移动端用户提供相同的房间选项,以语义化按钮列表呈现。 布局:区块背景为 Paper。桌面端将 SVG 放在八列中,粘性房间详情面板放在四列中;移动端在房间按钮和详情面板上方堆叠一张清晰可读的 4:3 平面图。使用 2px Ink 墙体、Limestone 填充、SVG 内的房间标签,以及具有无障碍对比度的 Moss 选中填充。添加一个小型指北针和标签 Illustrative plan · not to scale。 动效:选中的房间获得 Moss 填充,并有一个小圆点脉冲一次;详情文字在 180ms 内交叉淡入淡出。键盘焦点可见,选择绝不依赖悬停。 6. **社区指南** — 眉题 Around [PROPERTY_NAME];标题:Daily essentials, a little closer。对于默认的 Austin 房源,虚构并列出 Juniper Coffee · 4-minute walk、Alder Grove Market · 6-minute walk、Willow Creek Trail · 8-minute bike ride 和 Eastside Arts Park · 5-minute drive。添加一段简短文字,介绍安静的住宅街道、早晨咖啡和日常购物便利,但不要虚构学校评分或投资声明。当 [PROPERTY_LOCATION] 变化时,重写地点名称和出行说明。 布局:将五列的设施清单与七列的原创示意 SVG 地图配对。地图使用抽象的地方街道、一个 Moss 房源图钉、四个带编号的设施图钉和一个小型图例;它不是地理或导航服务。在清单中选择设施时,高亮其图钉和说明。 动效:设施选择使用 160ms 的图钉填充和下划线变化。不要加载地图瓦片,也不要持续动画化街道路径。 7. **按揭估算器** — 标题:Plan the monthly picture。房屋价格初始化为 [PRICE],首付为 20%,利率为 6.25%,贷款期限为 30 年,年度房产税率 1.6%,年度房屋保险 $2,400。为首付和利率提供同步的数值和范围控件,提供 15 / 20 / 30 年期限选择,以及可编辑的税费和保险金额。使用标准固定利率摊还公式计算本金和利息,然后加上每月税费和保险得出总额。显示标注清晰的分项:本金和利息、房产税、保险,以及贷款金额和首付金额。始终显示:Illustrative estimate only, not a loan offer. Excludes PMI, HOA dues, and other costs. 布局:使用 Paper 区块,五列控制面板和七列结果面板。结果包含一个大的每月总额、三行明细,以及一个无障碍的 CSS conic-gradient 或 SVG 环形图,其分段与分项对应。移动端将控件堆叠在结果之前,并保持输入框至少 44px 高。所有更新均在本地完成,不发起 API 请求。 动效:数字和图表在输入有效时立即更新;仅对变化的总计使用 120ms 的轻微高亮。对零值、空值和无效值使用内联消息处理,而不是 NaN 或损坏的图表。 8. **开放日 RSVP** — 区块 id 为 open-house。眉题 See it in person;标题:Choose your open house。提供 Saturday · 1:00–3:00 PM、Sunday · 11:00 AM–1:00 PM 和 Private tour · request a time。RSVP 表单要求填写场次、姓名、邮箱和 1 至 4 人的随行人数,并带内联验证。提交时,将明确标注的 RSVP 草稿保存到 localStorage,并显示:Your RSVP draft is saved on this device. Email [AGENT_NAME] to confirm your visit. 提供一个 Email to Confirm 按钮,打开预填的 mailto 草稿,以及一个 Start Over 操作,清除本地草稿;绝不声称请求已发送。包含直接电话和邮箱备选联系方式。 布局:一个 Moss 区块配白色文字,左侧包含三个紧凑的场次选项,右侧为 Paper 表单面板。移动端将场次选项水平堆叠(无需滚动),然后是表单。通过本地草稿在刷新后保留已输入的值,并通过 aria-live 区域暴露状态消息。 动效:场次选择和验证反馈使用即时颜色变化;确认信息在 180ms 内淡入,不使用彩带或虚假的成功动画。 9. **Agent contact** — 在眉题 Your Listing Agent、H2 [AGENT_NAME] 和角色 Principal Broker · [BRAND] 旁边使用 agent-portrait.webp。默认简介:Elena combines careful property presentation with clear, practical guidance from first tour to final offer. She knows the craftsmanship and small details that make [PROPERTY_NAME] easy to call home. 为另一位经纪人的价值重写简介。显示一个由 [BRAND] 派生的虚构 .example 邮箱,默认 [email protected],以及虚构电话 (512) 555-0147,并带有 Call 和 Email 操作。添加一个简短的咨询表单,包含姓名、邮箱和留言;提交后打开本地预览,带有 Copy Inquiry 和 Email Agent 操作,而不是发送任何内容。 布局:使用 12 列网格,其中 4 列 3:4 肖像、3 列经纪人详情和 5 列咨询表单。在移动端保持肖像自然且不裁切面部。咨询预览仅在输入有效后替换表单,并包含 Edit 操作。 动效:Copy Inquiry 将其标签改为 Copied 持续 1.5 秒,并礼貌地播报该状态;没有其他装饰性动效。 10. **Property notes and footer** — 添加四个可访问的手风琴问题:What is included with the home? 回答厨房电器、洗衣机和固定窗遮阳帘均包含在内;Is there an HOA? 回答 No HOA dues for this listing;Can I arrange a private tour? 回答 Yes, select Private tour or contact [AGENT_NAME] directly;How accurate is the mortgage estimate? 回答其为示意性内容,买家应向其服务提供商确认税费、保险和融资。页脚重复 [BRAND]、[PROPERTY_NAME]、[PRICE]、锚点导航、经纪人直接联系方式和一行小字 Independent fictional listing presentation。以不显眼的方式包含可选的 [CREDIT] 链接。 布局:FAQ 行横跨中间八列,带有细线分隔线和展开时旋转的加号图标。页脚为 Ink 配 Chalk 文本,桌面端三列布局,移动端堆叠布局。一次只需打开一个 FAQ,但所有答案仍可供键盘用户访问。 动效:手风琴高度和透明度在 180ms 内动画过渡,且不向辅助技术隐藏内容;减少动效时展开立即完成。 ## 资源 - 图片:将 https://media.vibefather.ai/assets/ebbe606a-6b91-4d3d-9356-a59b9b089526/hero-exterior.webp 下载到 public/images/hero-exterior.webp;alt:暖色午后光线中,橄榄树环绕的浅色砖砌庭院住宅;用作 hero 幻灯片 1 和外观灯箱图框。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。 - 图片:将 https://media.vibefather.ai/assets/ebbe606a-6b91-4d3d-9356-a59b9b089526/living-room.webp 下载到 public/images/living-room.webp;alt:白橡木客厅,通向绿植庭院;用作 hero 幻灯片 2、住宅图片、画廊图片和 Living Room 详情图。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。 - 图片:将 https://media.vibefather.ai/assets/ebbe606a-6b91-4d3d-9356-a59b9b089526/kitchen.webp 下载到 public/images/kitchen.webp;alt:温暖现代厨房,配有长条石灰岩岛台;用作 hero 幻灯片 3、画廊图片和 Kitchen 详情图。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。 - 图片:将 https://media.vibefather.ai/assets/ebbe606a-6b91-4d3d-9356-a59b9b089526/primary-bedroom.webp 下载到 public/images/primary-bedroom.webp;alt:宁静主卧,配有白橡木细木作和花园门;用作 hero 幻灯片 4、画廊图片和 Primary Suite 详情图。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。 - 图片:将 https://media.vibefather.ai/assets/ebbe606a-6b91-4d3d-9356-a59b9b089526/courtyard.webp 下载到 public/images/courtyard.webp;alt:私密石灰岩庭院,有橄榄树和柔和午后光影;用作 hero 幻灯片 5 和画廊图片。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。 - 图片:将 https://media.vibefather.ai/assets/ebbe606a-6b91-4d3d-9356-a59b9b089526/agent-portrait.webp 下载到 public/images/agent-portrait.webp;alt:虚构房源经纪人站在明亮的现代住宅内;仅用于经纪人联系区块。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。 - 图标:箭头、画廊控件、菜单、关闭、电话、邮件、勾选、复制和加号图标使用 lucide-react;不使用品牌图标。该包已本地安装,并在 ISC 下列出。 - 字体:使用 @fontsource/cormorant-garamond 和 @fontsource-variable/manrope 自托管 Cormorant Garamond 和 Manrope Variable,二者均为 OFL;在 ASSETS.md 中列出已安装的字体文件和包。 - 图片:直接以原创内联 SVG 或 CSS 创建户型图、社区示意图、房源图钉、配套设施图钉和抵押贷款图表;不使用外部地图瓦片、图表图片或占位服务。在 ASSETS.md 中记录全部六张生成图片、Lucide 和 Fontsource 包及其来源或生成署名与许可证。 ## 不要做 - 不要添加后端、无服务器函数、API 路由、数据库、身份验证、分析、第三方 API、地图瓦片、地理编码或任何网络表单提交。 - 不要声称 RSVP 或咨询已发送;将 RSVP 草稿保留在设备上,并使用明确的文案或 mailto 操作进行联系。 - 不要将抵押贷款结果呈现为报价、财务建议、可负担性决定或贷款要约;保留示例性估算免责声明和输入验证。 - 不要使用真实机构品牌、真实代理人身份、真实房源文案、真实房产地址、可识别的房产或地标、受版权保护的房源照片、徽标或品牌图标。 - 不要使用商业字体、fonts.googleapis.com、fonts.gstatic.com、Adobe Fonts、图标 CDN、库存照片服务、热链接资源、占位图服务或具有限制性许可证的资源。 - 不要在首屏使用代理人肖像、可识别的真实人物、名人肖像或姓名首字母来代替提供的虚构代理人肖像。 - 不要复制或描摹现有建筑平面图;绘制指定的原创 SVG,并标注其为示意性且不按比例。 - 不要在 src/content.ts 之外硬编码仅默认值的文案;当变量变化时,重新生成房产名称、位置特定文案、联系方式、价格和所有派生值。 - 不要添加 SEO 元数据、Open Graph 标签、JSON-LD、站点地图工作、关键词堆砌的标题或标题层级说明;一个普通标题和 favicon 就足够了。 - 不要在站点内提及 VibeFather,除了可选的 [CREDIT] 页脚链接,并且不要添加日期、市场声明、学校评分或投资回报承诺。 - 不要使用裸目录链接、损坏的锚点、绝对构建资源路径、CDN 脚本或样式、源映射,或将 src/ 复制到 dist/;保持 dist/ 在 20 MB 以下并使用 Vite base './'。 - 不要在动画后隐藏重要内容、在减少动态效果下自动播放、滚动劫持、依赖悬停进行房间选择,或在 1440×900 或 390×844 下出现控制台错误。 --- — Prompt by VibeFather · https://vibefather.ai/t/single-property-listing-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: "Single Property Listing Page"
colors:
chalk: "#F4F1EA"
paper: "#FFFEFA"
ink: "#1C2420"
moss: "#354A3D"
limestone: "#D8D1C4"
clay: "#A65338"
typography:
display_headlines_property_name_and_large_price: { family: "Cormorant Garamond", weights: [400, 500, 600] }
body_navigation_forms_facts_and_controls: { family: "Manrope Variable", weights: [400, 500, 600, 700] }
spacing: "Use an 8px base grid, a 12-column content grid capped at 1320px, 64px desktop gutters and 20px mobile gutters. Major sections have 112px vertical padding on desktop and 72px on mobile. Keep reading measures near 62 characters and fact labels compact."
radius: "Use crisp 2px corners on buttons, inputs, and image frames; 999px only for the gallery counter and small status pills. Avoid a page of rounded cards and heavy shadows."
---
# Single Property Listing 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
- **Chalk** `#F4F1EA` — Primary page background and calm negative space
- **Paper** `#FFFEFA` — Form, room-detail, and calculator surfaces
- **Ink** `#1C2420` — Primary text and dark footer background
- **Moss** `#354A3D` — Primary buttons, selected hotspots, and key accents
- **Limestone** `#D8D1C4` — Hairline borders, floor-plan walls, and inactive tracks
- **Clay** `#A65338` — Small status accents and error states, never large fills
## Typography
- **Display headlines, property name, and large price** — Cormorant Garamond (OFL), weights 400/500/600. Self-host the font files.
- **Body, navigation, forms, facts, and controls** — Manrope Variable (OFL), weights 400/500/600/700. Self-host the font files.
## Spacing & shape
- Spacing: Use an 8px base grid, a 12-column content grid capped at 1320px, 64px desktop gutters and 20px mobile gutters. Major sections have 112px vertical padding on desktop and 72px on mobile. Keep reading measures near 62 characters and fact labels compact.
- Radius: Use crisp 2px corners on buttons, inputs, and image frames; 999px only for the gallery counter and small status pills. Avoid a page of rounded cards and heavy shadows.
## Motion
- Crossfade hero photographs over 700ms with a subtle 1.02-to-1 scale settle; advance every 6 seconds, pause on hover or focus, and stop autoplay when prefers-reduced-motion is set.
- Reveal major section headings and media once with Motion whileInView, 24px upward travel, 600ms duration, and 80ms stagger; content remains visible without animation and reduced motion removes transforms.
- Animate floor-plan selection and room details with a 180ms fill and opacity change; never delay the actual selected state while waiting for animation.
- Give buttons, gallery controls, accordion rows, and navigation links 160ms color or underline feedback with no springy movement or scroll-jacking.
## Imagery
Use the six generated, locally stored images as one coherent editorial shoot of the same invented contemporary pale-brick courtyard property: warm afternoon daylight, white oak, limestone, olive planting, restrained natural color, and realistic architectural proportions. Five property photographs anchor the hero, gallery, and room details; one fictional agent portrait appears only in the contact section. The hero never uses the portrait. Draw the floor plan, neighborhood map, icons, and chart in code.
## Tone
Quietly luxurious, precise, warm, and trustworthy. Use concrete property details and plain explanations rather than sales pressure, superlatives, or generic lifestyle claims. All site copy, labels, sample data, and alt text are US English.
---
— Prompt by VibeFather · https://vibefather.ai/t/single-property-listing-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 独立房产经纪人:将 BRAND 设为自己的名字,AGENT_NAME 设为自己,并将预约邮件和咨询操作指向自己的收件箱。
- 精品中介:将 BRAND 保留为机构名,为每个新房源重写住宅故事,并用新的房间详情复用户型图和估算器。
- 销售新房的房产营销人员:将 PROPERTY_TYPE 和关键信息条设为新房信息,并将社区指南设施替换为开发项目周边环境。
- 不通过经纪人售房的业主:将 AGENT_NAME 设为自己,将经纪人简介精简为简短介绍,并将开放日预约链接到你自己的日历。
单套房产详情页:常见问题
如何修改单套房产详情页上的价格、地址和经纪人?
单套房产详情页模板将所有房产信息集中在一个内容文件中,由六个变量驱动:BRAND、PROPERTY_NAME、PROPERTY_TYPE、PROPERTY_LOCATION、PRICE 和 AGENT_NAME。修改这些值,并重写依赖它们的标题、画廊说明、户型图房间详情和房贷默认值,确保不残留默认文案。房源价格还决定房贷估算器的起始房产价值。
怎么用 AI 做一个单套房产详情页?
复制本页的提示词,或者运行 npx vibefather add single-property-listing-page,把 [BRAND]、[PRICE]、[AGENT_NAME]、[PROPERTY_NAME] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。