跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

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

关于这个模板

一个围绕柔和感打造的单款香水单页网站。首屏是一只厚重的玻璃瓶立在垂坠的腮红丝绸上,琥珀色光线穿过玻璃折射——微距主视觉,旁边是轻盈衬线字体的香水名。向下滚动,香气徐徐展开:一条由丝绸、琥珀树脂和鸢尾组成的编辑风情绪图带,全部统一在相同的暖光调色中;然后是核心部分——一个用 SVG 绘制的动画香调金字塔。它的三条色带随着滚动逐层展开,前调、中调、后调,每一层都配有成分名称和一行诗意文案:前调是梨皮与佛手柑薄纱,中调是鸢尾与藏红花,后调是琥珀树脂与羊绒木。一段佩戴方式的说明让语气保持亲密,购买区提供带实时更新价格的容量选择器和发现套装追加销售卡片,三条安静的评论收尾页面。演示购买按钮显示内联提示而非结账——没有任何商品在售。配色是固定的:腮红打底,一个琥珀色强调,一个鸢尾紫次要色,可可色文字;Cormorant Garamond 搭配 Josefin Sans,字距轻盈;胶囊按钮、18px 圆角、丝绸般柔和的渐变和细金线。动效缓慢且克制——瓶身轻微的视差、800ms 的显现、金字塔的展开——在 prefers-reduced-motion 下均有静态回退。每个香调、价格和评论都是虚构的示例文案。在一个内容文件中替换品牌、香水名和价格;第二个演示案例将同一页面变成香薰蜡烛产品。

模板提示词

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

# Perfume Product Page

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

## Brief
A single-page site for one invented perfume: a blush-and-amber soft-sensual identity, a macro glass-bottle hero on blush silk, an editorial mood strip, an animated SVG scent pyramid that unfolds top-heart-base on scroll, a how-to-wear note, a size picker with live price and a discovery-set upsell, and quiet sample reviews.

- Audience: Indie perfume houses, beauty and body-care single-product brands, candle and scent studios, and the designers building their launch pages.
- Goal: Sell the mood before the molecule: let the imagery and the unfolding pyramid carry the visitor down the page, then convert gently through a size picker and a discovery-set offer — with demo buttons that promise nothing.
- Tone: Soft, sensual, a little literary — short poetic lines that describe feelings, not chemistry; honest about being sample copy.

## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: tailwindcss (MIT), motion (MIT), lucide-react (ISC), @fontsource/cormorant-garamond (OFL), @fontsource/josefin-sans (OFL)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Scaffold with npm create vite@latest perfume-product-page -- --template react-ts; add [email protected], postcss and autoprefixer as dev dependencies; add motion, lucide-react, @fontsource/cormorant-garamond and @fontsource/josefin-sans as dependencies.
  - vite.config.ts: base './', build.sourcemap false, build output dist/.
  - tailwind.config.js: extend colors blush #F7E4E0, blushdeep #EFCFC9, silk #FDF8F5, amber #C9863B, amberlight #E0B273, iris #9C7F96, cocoa #4A3833, rosesmoke #A98F88; fontFamily display 'Cormorant Garamond' and sans 'Josefin Sans'; radius: pill 999px and panel 18px.
  - postcss.config.js: tailwindcss + autoprefixer.
  - src/components/ScentPyramid.tsx: the pyramid drawn in SVG, viewBox 0 0 600 420 — apex at (300,30), base from (120,390) to (480,390), split by hairlines at y=150 and y=270 into three bands: TOP fills blush #F7E4E0, HEART fills blushdeep #EFCFC9, BASE fills a linear gradient amberlight #E0B273 → amber #C9863B; every band stroked by hairlines of amber at 40% opacity; each band has two ingredient chips floating beside it (pill, silk ground, cocoa text) connected by 1px amber leader lines.
  - src/lib/motion.ts: shared variants — reveal (opacity 0→1, y 22→0, 800ms cubic-bezier(0.16,1,0.3,1), 100ms stagger, whileInView once), unfold (scaleX 0→1, origin center, 900ms ease-out) — with useReducedMotion rendering the pyramid fully unfolded and static, and plain 200ms fades elsewhere.
  - Silk gradient utility in src/index.css: .bg-silk — a soft linear-gradient(150deg, #FDF8F5 0%, #F7E4E0 55%, #EFCFC9 100%) used as the page's ground wash behind sections.
  - Keep every user-facing string (house, fragrance, tagline, mood captions, note layers, sizes and prices, set copy, reviews, how-to-wear lines) in src/content.ts; sections read from it so values swap in one place.
  - index.html: <title>[BRAND] — [PERFUME], Eau de Parfum</title> plus a drawn-in-code favicon.svg (a single amber droplet on the blush ground); no other meta work.

## Variables
- [BRAND] — House name (default: "Maison Verane"). Invented perfume house for the wordmark, page title and label lines.
- [PERFUME] — Fragrance name (default: "Aurelle"). The single fragrance this page sells — hero headline, buy section and title.
- [PRICE_MID] — Mid-size price (default: "$145"). The 50 ml default size's price in the size picker; the small and large sizes price from content.ts around it.
- [SET_PRICE] — Discovery set price (default: "$32"). The upsell card's sample price for the three-vial discovery set, credited toward a full bottle.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/perfume-product-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
- Blush `#F7E4E0` — Page ground — soft pink porcelain, the whole site's wash.
- Blush deep `#EFCFC9` — Alternate surfaces, the pyramid's heart band, chip hovers.
- Silk `#FDF8F5` — Panels, cards, ingredient chips, size chips at rest — warm near-white.
- Amber `#C9863B` — The primary accent: CTAs, active size chip, hairline golds, the pyramid base, leader lines.
- Amber light `#E0B273` — Hover and gradient end; underline accents on links.
- Iris mauve `#9C7F96` — Secondary accent: quiet links, the heart-note chips, captions' hover.
- Cocoa `#4A3833` — Primary text — warm dark brown, never black.
- Rose smoke `#A98F88` — Secondary text: intros, captions, sample notes.

### Typography
- Display — fragrance name, headlines, prices (airy serif, often italic): Cormorant Garamond (OFL), weights 500/600
- Text — body, labels, chips (airy geometric sans, tracked labels in uppercase): Josefin Sans (OFL), weights 300/400

### Layout & motion
- Spacing: Soft and generous: sections py-32 (128px) desktop / py-20 mobile; content max-w-5xl — a narrow, intimate column; the hero keeps 120px clear around the bottle; body copy capped at 48ch; hairlines are amber at 35% opacity.
- Radius: Round and gentle: 999px pills on buttons, chips and size pickers; 18px on panels, images and the upsell card; nothing square.
- Motion: Hero: the bottle photograph parallaxes at 0.06 of scroll and slowly scales 1.03→1 over 2.5s on load; the fragrance name fades up 300ms behind it.
- Motion: Scent pyramid: each band unfolds with scaleX 0→1 from center (900ms ease-out) as it crosses 40% of the viewport, top first, then heart, then base; each band's ingredient chips slide in beside it 150ms later, connected by leader lines that draw in (500ms).
- Motion: Mood strip: the three photographs fade up staggered 120ms and drift 0.04 parallax; captions fade last.
- Motion: Size picker: switching chips cross-fades the price line (300ms) and fills the active chip amber with silk text (250ms); the demo bag button shows its inline note with a 300ms fade.
- Motion: Reveals: sections, quotes and cards fade up (y 22→0, 800ms cubic-bezier(0.16,1,0.3,1)) with 100ms stagger via Motion whileInView, once.
- Motion: prefers-reduced-motion: the pyramid renders fully unfolded and static with all chips visible, parallax and load-scale off, every reveal a plain 200ms opacity fade.
- Imagery: One warm studio session: soft editorial still-life photography — the glass bottle with a strictly blank label on draped blush silk, folds of blush satin, rough amber resin, a single iris blossom, the amber stopper in macro, three sample vials — all in the same blush-and-amber grade, one warm diffused light, soft rose shadows, airy high-key warmth, gentle filmic softness, shallow depth of field. No people, no readable text anywhere, no logos. The six photographs are generated by VibeFather and downloaded into public/images.

## Pages & Sections
### [BRAND] — [PERFUME], Eau de Parfum (`index.html`)
1. **Header** — Fixed top bar, 64px, transparent over the hero. Left: the [BRAND] wordmark in Cormorant Garamond 600 18px cocoa, uppercase, tracked 0.22em. Right (desktop): anchor links 'The scent', 'Notes', 'How to wear', 'Worn by' in Josefin Sans 300 13px uppercase tracked 0.14em rose smoke → cocoa on hover; then a quiet pill 'Shop the bottle' (amber ground, silk text) → #buy. Mobile: wordmark + pill + lucide menu/x toggle opening a silk panel with the four links stacked.
   Layout: position fixed, z-40; after 80px of scroll the bar gains the silk ground at 85% opacity, a soft blur and a 1px blush-deep bottom hairline (300ms).
   Motion: Ground and hairline fade in at the threshold; mobile panel slides down 250ms; link hovers shift color 200ms.
2. **Hero — the bottle** — Split hero. Left: label in Josefin 300 12px uppercase tracked 0.2em iris: 'EAU DE PARFUM · [BRAND]'; the fragrance name in Cormorant Garamond 500 italic, clamp(4.5rem, 10vw, 8rem), cocoa: '[PERFUME]'; descriptor line, Cormorant 500 24px rosesmoke: 'an amber that whispers before it warms.'; body Josefin 300 16px rosesmoke max-w 44ch: 'Orris and cashmere wood folded into amber — worn close, noticed late. Batch-made in small numbers; every note and price on this page is sample copy for the demo.' CTAs: 'Choose your size' (amber pill, silk text) → #buy; 'Read the notes' (iris link with amber-light underline) → #notes. Right: public/images/bottle-hero.webp, a heavy glass bottle on draped blush silk with amber refractions, in a 24px-radius frame bleeding to the right viewport edge.
   Layout: 12-column grid, min-h 92vh: text columns 1–6 (self-center), photograph columns 7–12 full-height (object-cover, aspect 3:4 crop). Mobile: photo first (420px), text below.
   Motion: The bottle photo scales 1.03→1 over 2.5s and parallaxes at 0.06; label, name, descriptor, body and CTAs fade up in sequence (100ms stagger from 300ms); reduced motion: static photo, single fade.
3. **The mood strip** — Label 'THE MOOD' in amber; one line, Cormorant italic 24px cocoa: 'Lamplight on silk, an hour after the door closes.' Three photographs in a row, each with a tiny Josefin caption beneath: mood-silk.webp — 'silk'; mood-amber.webp — 'amber resin'; mood-iris.webp — 'iris'. Hairline amber rules close the strip.
   Layout: 3-column grid (stacked on mobile), 24px gaps; images 4:3, 18px radius; captions 12px uppercase tracked rose smoke, centered.
   Motion: Photographs fade up staggered 120ms with a 0.04 parallax; captions fade in last; reduced motion: plain fades.
4. **The notes — scent pyramid** — id=notes. Label 'THE NOTES'; headline Cormorant 26px cocoa: 'Three hours, three accords.' The ScentPyramid centered, with each band's ingredients and a poetic line revealed beside it: TOP — 'the first ten minutes' — 'Pink pepper · bergamot chiffon · pear skin — bright, a little cheeky.' HEART — 'the hours that follow' — 'Orris butter · warm rose · saffron thread — soft skin, lamplight.' BASE — 'what stays on the scarf' — 'Amber resin · cashmere wood · vanilla husk — quiet, sweet, gone too soon.' Footnote Josefin 12px rose smoke: 'Eau de parfum, sample concentration; notes are invented sample copy.'
   Layout: Pyramid 600px wide centered; the three poetic lines sit in a left column that scrolls beside it (label + line per layer, aligned to each band's activation); on mobile the pyramid stacks above the three lines.
   Motion: Bands unfold top→heart→base as they cross 40% of the viewport (900ms each); ingredient chips slide in 150ms later with drawing leader lines; the matching poetic line brightens from rose smoke to cocoa when its layer activates; reduced motion: pyramid fully unfolded, all lines cocoa, static.
5. **How to wear** — Label 'HOW TO WEAR'; two quiet rules on hairlines, Cormorant 22px cocoa with Josefin 14px rose smoke beneath: 'One spray on the wrist, one behind the ear — never rub.' — 'warmth carries amber; friction flattens it.' / 'Give it twenty minutes on skin before you judge it.' — 'the pear leaves, the orris arrives, the amber stays.' A closing hairline note, Josefin 12px rose smoke: 'Sample guidance for the demo.'
   Layout: Two 6-column halves separated by a 1px amber hairline at 35%; mobile stacks.
   Motion: Rules fade up staggered 150ms; nothing else moves.
6. **The bottle — size picker and set** — id=buy. Label 'THE BOTTLE'; headline Cormorant: 'Choose your size.' Left: three size chips (silk pills, active = amber ground with silk text): '10 ML — $48' / '50 ML — [PRICE_MID]' (default) / '100 ML — $215'; beneath, the price line in Cormorant 600 32px cocoa that updates with the selection, and a pill button 'Add to bag — demo' (amber) with a lucide shopping-bag icon; clicking it shows an inline note (300ms fade, Josefin 13px rose smoke): 'Demo button — this template has no checkout. Nothing is for sale.' Beside the chips, bottle-detail.webp as a 1:1 macro of the amber stopper (18px radius). Right, the upsell card on silk with an 18px radius: 'The discovery set' in Cormorant 24px, set-trio.webp (1:1) of three vials, copy Josefin 300 15px rosesmoke: 'Three 2 ml sprays, [SET_PRICE] — fully credited toward your first full bottle.' and a quiet link 'Add the set — demo' that shows the same inline note.
   Layout: 12-column grid: picker + detail photo columns 1–7 (photo 4 cols), upsell card columns 8–12. Mobile stacks picker, photo, then card.
   Motion: Chips cross-fade the price (300ms) and fill amber (250ms); the inline note fades in and stays; card fades up; reduced motion: color-only transitions.
7. **Worn by — reviews** — Label 'WORN BY'; three quiet quote lines, Cormorant italic 22px cocoa, each with a Josefin 13px rose smoke attribution: 'It smells like the inside of a jewelry box.' — Rowan M. / 'Warm without being loud — my winter signature.' — Amara T. / 'The pear opening is joy; then it goes soft and amber.' — Dee P. Footnote: 'Invented reviews — sample copy.'
   Layout: Three quotes in a single column with 1px amber hairlines between, max-w-3xl centered; stacked always.
   Motion: Quotes fade up staggered 160ms.
8. **Footer** — 1px blush-deep top hairline. Left: the [BRAND] wordmark and one line Josefin 300 13px rose smoke: 'An invented house — every note, price and review on this page is sample copy.' Right: anchor links 'The scent · Notes · How to wear · The bottle' in cocoa; optional [CREDIT] link. No dates, no social row.
   Layout: py-12, max-w-5xl, flex row wrapping to column on mobile.
   Motion: None.

## Assets
- image: Download https://media.vibefather.ai/assets/e7e77a1e-73d7-4e50-b9fb-043f3dbc5115/bottle-hero.webp to public/images/bottle-hero.webp. Alt: 'A heavy glass perfume bottle with a blank label standing on draped blush silk, amber light refracting through the glass.' Used as the hero anchor (3:4 crop). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/e7e77a1e-73d7-4e50-b9fb-043f3dbc5115/mood-silk.webp to public/images/mood-silk.webp. Alt: 'Folds of blush silk satin spilling across the frame in warm light.' Mood strip (4:3). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/e7e77a1e-73d7-4e50-b9fb-043f3dbc5115/mood-amber.webp to public/images/mood-amber.webp. Alt: 'Rough golden amber resin pieces glowing honey-warm on an ivory surface.' Mood strip (4:3). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/e7e77a1e-73d7-4e50-b9fb-043f3dbc5115/mood-iris.webp to public/images/mood-iris.webp. Alt: 'A single iris blossom resting on blush silk in mauve and amber tones.' Mood strip (4:3). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/e7e77a1e-73d7-4e50-b9fb-043f3dbc5115/bottle-detail.webp to public/images/bottle-detail.webp. Alt: 'Macro of the amber glass stopper and bottle shoulder with a blank label edge.' Used beside the size picker (1:1). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/e7e77a1e-73d7-4e50-b9fb-043f3dbc5115/set-trio.webp to public/images/set-trio.webp. Alt: 'Three small glass sample vials with blank labels in a row on blush silk.' Used in the discovery-set card (1:1). Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- icon: lucide-react (ISC) via npm — shopping-bag on the demo bag button, arrow-down in the hero's secondary CTA, arrow-right in links, menu and x for the mobile header. No other iconography: no emoji, no star ratings, no bottle logos.
- font: @fontsource/cormorant-garamond (OFL, weights 500 and 600, plus the 500 italic) and @fontsource/josefin-sans (OFL, weights 300 and 400), imported in src/main.tsx; never loaded from fonts.googleapis.com or any CDN. List both families and the six photographs in ASSETS.md at the project root: path, source, generator or author, license.

## Don'ts
- No backend, no network calls, no analytics, no checkout or payment: the buy buttons are demo anchors that show an inline 'nothing is for sale' note, and all prices are invented sample copy.
- No CDN anything: fonts ship through Fontsource packages, icons from lucide-react, photographs from public/images; never hotlink, never use Unsplash/Pexels/Pixabay or placeholder-image services.
- Production build: single command, minified, no source maps, no src/ in the output, relative paths (Vite base './'); keep dist/ under 20 MB by compressing each photograph to ≤ 350 KB WebP.
- Single page with anchor navigation only; must render cleanly at 1440×900 and 390×844 with zero console errors, and respect prefers-reduced-motion (pyramid fully unfolded and static, parallax and load-scale off, plain fades).
- No real perfume houses, fragrances, noses or ingredient trademarks: the house, scent name, notes, prices and reviews are invented, and [BRAND]/[PERFUME] are used everywhere names appear.
- No ingredient, dermatological or performance claims: copy stays poetic and sample-honest — no 'long-lasting', 'hypoallergenic', 'clean' or clinical language, and the concentration line stays labeled sample.
- Photographs show the bottle, silk and botanicals only — no people; every label is strictly blank (no readable text on any bottle or vial), no logos anywhere; if a generated image ever shows a face or writing, replace it.
- No real dates or years: reviews carry no dates, and no publish or launch dates appear anywhere.
- Keep the soft-sensual direction locked: blush grounds with silk-soft gradients, one amber accent, iris-mauve secondary, cocoa text, Cormorant over Josefin, pills and 18px radii; no dark mode, no neon, no hard shadows, nothing faster than a 300ms interface transition.
- All copy, labels, sample data and alt text in US English, living in src/content.ts; when [BRAND], [PERFUME], [PRICE_MID] or [SET_PRICE] change, rewrite the notes, mood captions and reviews to fit the new product instead of leaving amber perfume copy under a candle.
- List every third-party file (two Fontsource families, lucide icons, six photographs) in ASSETS.md at the project root: path, source, license.

---
— Prompt by VibeFather · https://vibefather.ai/t/perfume-product-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 香水产品页面

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

## 简介
一个为某款虚构香水打造的单页网站:腮红与琥珀的柔软感官气质,腮红丝绸上玻璃瓶的特写主视觉,一条杂志风格的氛围横条,一个随滚动展开前调-中调-后调的动画 SVG 香调金字塔,一段穿戴说明,一个带实时价格和探索套装追加销售(upsell)的规格选择器,以及安静的用户小样评价。

- 受众:独立香水品牌、美妆与身体护理单品品牌、香薰蜡烛与气味工作室,以及为它们搭建发布页的设计师。
- 目标:先卖氛围,再谈分子:让图像和徐徐展开的金字塔带着访客一路向下浏览,再通过规格选择器和探索套装优惠温和转化——演示按钮不作任何承诺。
- 基调:柔软、感性、略带文学气息——用简短诗意的句子描述感受,而非化学成分;坦诚说明这是示例文案。

## 技术栈
- 框架:Vite 5 + React 18 + TypeScript
- 样式:Tailwind CSS 3.4
- 库:tailwindcss(MIT)、motion(MIT)、lucide-react(ISC)、@fontsource/cormorant-garamond(OFL)、@fontsource/josefin-sans(OFL)
- 构建:`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。
- 初始化配置:
  - 使用 npm create vite@latest perfume-product-page -- --template react-ts 脚手架创建项目;将 [email protected]、postcss 和 autoprefixer 添加为开发依赖;将 motion、lucide-react、@fontsource/cormorant-garamond 和 @fontsource/josefin-sans 添加为依赖。
  - vite.config.ts:base 设为 './',build.sourcemap 设为 false,构建输出目录为 dist/。
  - tailwind.config.js:扩展颜色 blush #F7E4E0、blushdeep #EFCFC9、silk #FDF8F5、amber #C9863B、amberlight #E0B273、iris #9C7F96、cocoa #4A3833、rosesmoke #A98F88;fontFamily 中 display 设为 'Cormorant Garamond',sans 设为 'Josefin Sans';radius 中 pill 设为 999px,panel 设为 18px。
  - postcss.config.js:tailwindcss + autoprefixer。
  - src/components/ScentPyramid.tsx:香调金字塔以 SVG 绘制,viewBox 为 0 0 600 420 —— 顶点位于 (300,30),底边从 (120,390) 到 (480,390),在 y=150 和 y=270 处用细线分割为三个色带:TOP 填充 blush #F7E4E0,HEART 填充 blushdeep #EFCFC9,BASE 填充线性渐变 amberlight #E0B273 → amber #C9863B;每个色带均以 40% 不透明度的 amber 细线描边;每个色带旁悬浮两个成分标签(pill 形状、silk 底色、cocoa 文字),通过 1px amber 引导线连接。
  - src/lib/motion.ts:共享变体 —— reveal(opacity 0→1,y 22→0,800ms cubic-bezier(0.16,1,0.3,1),100ms 交错,whileInView 仅触发一次)、unfold(scaleX 0→1,原点居中,900ms ease-out)—— 配合 useReducedMotion 时,金字塔完全展开并保持静态,其他位置使用普通的 200ms 淡入。
  - src/index.css 中的丝绸渐变工具类:.bg-silk —— 一个柔和的 linear-gradient(150deg, #FDF8F5 0%, #F7E4E0 55%, #EFCFC9 100%),用作页面各区块背后的底色铺陈。
  - 将所有面向用户的字符串(品牌、香水名、标语、情绪文案、香调层次、规格与价格、套装文案、评价、使用说明)保留在 src/content.ts 中;各区块从中读取,以便在一处替换所有值。
  - index.html:<title>[BRAND] — [PERFUME], Eau de Parfum</title> 以及一个用代码绘制的 favicon.svg(blush 底色上的一滴 amber 水滴);不做其他 meta 处理。

## 变量
- [BRAND] — 品牌名称(默认:“Maison Verane”)。为字标、页面标题和标签行虚构的香水品牌。
- [PERFUME] — 香水名称(默认:“Aurelle”)。此页面销售的单一香水——主视觉标题、购买区域和标题。
- [PRICE_MID] — 中号价格(默认:“$145”)。尺寸选择器中默认 50 毫升尺寸的价格;小号和大号尺寸的价格来自其周围的 content.ts。
- [SET_PRICE] — 探索套装价格(默认:“$32”)。追加销售卡片中三瓶装探索套装的样品价格,可抵扣正装瓶。
- [CREDIT] — 在页脚保留一个小的“Template by VibeFather”链接至 https://vibefather.ai/t/perfume-product-page(默认:是;删除此行以移除)

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

## 设计
### 颜色
- 腮红粉(Blush)`#F7E4E0` — 页面底色 — 柔和的粉色瓷感,整个网站的基调。
- 深腮红粉(Blush deep)`#EFCFC9` — 交替表面、香调金字塔的核心带、标签悬停态。
- 丝白(Silk)`#FDF8F5` — 面板、卡片、香调标签、默认状态的容量标签 — 温暖的近白色。
- 琥珀色(Amber)`#C9863B` — 主强调色:CTA、激活的容量标签、细金线、金字塔底座、引导线。
- 浅琥珀色(Amber light)`#E0B273` — 悬停态和渐变终点;链接的下划线强调。
- 鸢尾紫灰(Iris mauve)`#9C7F96` — 次强调色:低调链接、心调标签、说明文字的悬停态。
- 可可棕(Cocoa)`#4A3833` — 主文本色 — 温暖的深棕色,绝不用黑色。
- 玫瑰烟灰(Rose smoke)`#A98F88` — 次文本色:引言、说明文字、小样注释。

### 字体排印
- 展示字体 — 香水名称、标题、价格(轻盈的衬线体,常为斜体):Cormorant Garamond(OFL),字重 500/600
- 文本字体 — 正文、标签、标签片(轻盈的几何无衬线体,标签用大写并加字距):Josefin Sans(OFL),字重 300/400

### 布局与动效
- 间距:柔和而宽裕:桌面端区块 py-32(128px)/ 移动端 py-20;内容 max-w-5xl — 一个狭窄、亲密的栏宽;主视觉区在瓶身周围保留 120px 的留白;正文每行限制在 48ch;细线为琥珀色,35% 不透明度。
- 圆角:圆润而柔和:按钮、标签片和容量选择器使用 999px 胶囊形;面板、图片和追加销售卡片使用 18px;没有任何直角。
- 动效:主视觉区:瓶身照片以 0.06 的滚动视差移动,并在加载时于 2.5s 内从 1.03 缓慢缩放至 1;香水名称在其后方以 300ms 淡入上移。
- 动效:香调金字塔:每条色带在穿过视口 40% 时从中心以 scaleX 0→1 展开(900ms ease-out),先顶部,再核心,最后底部;每条色带的香调标签在 150ms 后滑入其旁,由引导线连接并绘制出现(500ms)。
- 动效:情绪条:三张照片以 120ms 错开淡入上移,并以 0.04 的视差漂移;说明文字最后淡入。
- 动效:容量选择器:切换标签时价格行交叉淡入淡出(300ms),激活的标签填充琥珀色并配丝白文字(250ms);演示购物袋按钮以 300ms 淡入显示其内联注释。
- 动效:显现:区块、引语和卡片淡入上移(y 22→0,800ms cubic-bezier(0.16,1,0.3,1)),通过 Motion 的 whileInView 以 100ms 错开,仅触发一次。
- 动效:prefers-reduced-motion:金字塔完全展开并静态渲染,所有标签可见,视差和加载缩放关闭,每个显现变为简单的 200ms 不透明度淡入。
- 图像:一次温暖的影棚拍摄:柔和的编辑风格静物摄影 — 玻璃瓶身配严格空白的标签,置于垂坠的腮红粉丝绸上,腮红粉缎面的褶皱,粗糙的琥珀树脂,一朵鸢尾花,琥珀色瓶塞的微距特写,三个小样瓶 — 全部采用相同的腮红粉与琥珀色调,单一温暖漫射光,柔和的玫瑰色阴影,通透的高调温暖感,柔和的胶片质感,浅景深。无人物,任何地方无可读文字,无标识。六张照片由 VibeFather 生成并下载至 public/images。

## 页面与区块
### [BRAND] — [PERFUME],淡香精(`index.html`)
1. **页头(Header)** — 固定顶栏,64px,在首屏上方透明。左侧:[BRAND] 字标,使用 Cormorant Garamond 600 18px 可可色(cocoa),大写,字距 0.22em。右侧(桌面端):锚点链接 'The scent'、'Notes'、'How to wear'、'Worn by',使用 Josefin Sans 300 13px 大写,字距 0.14em,玫瑰烟色(rose smoke)→ 悬停时变为可可色;随后是一个低调的胶囊按钮 'Shop the bottle'(琥珀色底,丝色文字)→ #buy。移动端:字标 + 胶囊按钮 + lucide 菜单/x 切换按钮,打开一个丝色面板,四个链接纵向堆叠。
   布局:position fixed,z-40;滚动 80px 后,顶栏获得 85% 不透明度的丝色底、柔和模糊和 1px 腮红深色(blush-deep)底部细线(300ms)。
   动效:底色和细线在阈值处淡入;移动端面板下滑 250ms;链接悬停变色 200ms。
2. **首屏 — 香水瓶** — 分栏首屏。左侧:标签使用 Josefin 300 12px 大写,字距 0.2em,鸢尾色(iris):'EAU DE PARFUM · [BRAND]';香名使用 Cormorant Garamond 500 斜体,clamp(4.5rem, 10vw, 8rem),可可色:'[PERFUME]';描述行,Cormorant 500 24px 玫瑰烟色:'an amber that whispers before it warms.';正文 Josefin 300 16px 玫瑰烟色,max-w 44ch:'Orris and cashmere wood folded into amber — worn close, noticed late. Batch-made in small numbers; every note and price on this page is sample copy for the demo.' 行动按钮:'Choose your size'(琥珀色胶囊,丝色文字)→ #buy;'Read the notes'(鸢尾色链接,带琥珀浅色下划线)→ #notes。右侧:public/images/bottle-hero.webp,一只厚重的玻璃瓶置于垂坠的腮红丝色丝绸上,带琥珀色折射,置于 24px 圆角边框内,向右出血至视口边缘。
   布局:12 列网格,min-h 92vh:文字列 1–6(垂直居中),照片列 7–12 全高(object-cover,3:4 裁切)。移动端:照片在前(420px),文字在下。
   动效:香水瓶照片从 1.03→1 缩放,历时 2.5s,并以 0.06 视差移动;标签、香名、描述、正文和行动按钮依次淡入上移(从 300ms 开始,间隔 100ms);减少动态效果:静态照片,单次淡入。
3. **氛围条带** — 标签 'THE MOOD',琥珀色;一行文字,Cormorant 斜体 24px 可可色:'Lamplight on silk, an hour after the door closes.' 三张照片排成一行,每张下方有极小的 Josefin 说明文字:mood-silk.webp — 'silk';mood-amber.webp — 'amber resin';mood-iris.webp — 'iris'。细线琥珀色分隔线收束条带。
   布局:3 列网格(移动端堆叠),24px 间距;图片 4:3,18px 圆角;说明文字 12px 大写,字距玫瑰烟色,居中。
   动效:照片以 120ms 间隔淡入上移,带 0.04 视差;说明文字最后淡入;减少动态效果:普通淡入。
4. **香调 — 香氛金字塔** — id=notes。标签 'THE NOTES';标题 Cormorant 26px 可可色:'Three hours, three accords.' ScentPyramid 居中,每个层级的成分和一行诗意文字在旁揭示:TOP — 'the first ten minutes' — 'Pink pepper · bergamot chiffon · pear skin — bright, a little cheeky.' HEART — 'the hours that follow' — 'Orris butter · warm rose · saffron thread — soft skin, lamplight.' BASE — 'what stays on the scarf' — 'Amber resin · cashmere wood · vanilla husk — quiet, sweet, gone too soon.' 脚注 Josefin 12px 玫瑰烟色:'Eau de parfum, sample concentration; notes are invented sample copy.'
   布局:金字塔宽 600px 居中;三行诗意文字位于左侧列,随其滚动(每层标签 + 文字,与各层级的激活对齐);移动端金字塔堆叠在三行文字上方。
   动效:各层级在穿过视口 40% 时按 top→heart→base 展开(每层 900ms);成分标签在 150ms 后滑入,带绘制引导线;对应的诗意文字在其层级激活时从玫瑰烟色变亮为可可色;减少动态效果:金字塔完全展开,所有文字为可可色,静态。
5. **如何使用** — 标签 'HOW TO WEAR';两条低调的规则置于细线上,Cormorant 22px 可可色,下方 Josefin 14px 玫瑰烟色:'One spray on the wrist, one behind the ear — never rub.' — 'warmth carries amber; friction flattens it.' / 'Give it twenty minutes on skin before you judge it.' — 'the pear leaves, the orris arrives, the amber stays.' 结尾细线注释,Josefin 12px 玫瑰烟色:'Sample guidance for the demo.'
   布局:两个 6 列半区,由 35% 处的 1px 琥珀色细线分隔;移动端堆叠。
   动效:规则以 150ms 间隔淡入上移;其余不动。
6. **香水瓶 — 容量选择器和套装** — id=buy。标签 'THE BOTTLE';标题 Cormorant:'Choose your size.' 左侧:三个容量胶囊(丝色胶囊,激活 = 琥珀色底配丝色文字):'10 ML — $48' / '50 ML — [PRICE_MID]'(默认)/ '100 ML — $215';下方是 Cormorant 600 32px 可可色的价格行,随选择更新,以及一个胶囊按钮 'Add to bag — demo'(琥珀色),带 lucide 购物袋图标;点击后显示内联注释(300ms 淡入,Josefin 13px 玫瑰烟色):'Demo button — this template has no checkout. Nothing is for sale.' 胶囊旁是 bottle-detail.webp,作为琥珀色瓶塞的 1:1 微距图(18px 圆角)。右侧是丝色底上的追加销售卡片,18px 圆角:'The discovery set',Cormorant 24px,set-trio.webp(1:1)三支小瓶,文案 Josefin 300 15px 玫瑰烟色:'Three 2 ml sprays, [SET_PRICE] — fully credited toward your first full bottle.' 以及一个低调链接 'Add the set — demo',显示相同的内联注释。
   布局:12 列网格:选择器 + 细节照片列 1–7(照片 4 列),追加销售卡片列 8–12。移动端堆叠选择器、照片,然后是卡片。
   动效:胶囊交叉淡入价格(300ms)并填充琥珀色(250ms);内联注释淡入并保持;卡片淡入上移;减少动态效果:仅颜色过渡。
7. **使用者 — 评价** — 标签 'WORN BY';三行低调的引语,Cormorant 斜体 22px 可可色,每行附 Josefin 13px 玫瑰烟色署名:'It smells like the inside of a jewelry box.' — Rowan M. / 'Warm without being loud — my winter signature.' — Amara T. / 'The pear opening is joy; then it goes soft and amber.' — Dee P. 脚注:'Invented reviews — sample copy.'
   布局:三条引语单列排列,之间以 1px 琥珀色细线分隔,max-w-3xl 居中;始终堆叠。
   动效:引语以 160ms 间隔淡入上移。
8. **页脚(Footer)** — 1px 腮红深色顶部细线。左侧:[BRAND] 字标和一行 Josefin 300 13px 玫瑰烟色:'An invented house — every note, price and review on this page is sample copy.' 右侧:锚点链接 'The scent · Notes · How to wear · The bottle',可可色;可选 [CREDIT] 链接。无日期,无社交行。
   布局:py-12,max-w-5xl,flex 行,移动端换行为列。
   动效:无。

## 资源
- 图片:将 https://media.vibefather.ai/assets/e7e77a1e-73d7-4e50-b9fb-043f3dbc5115/bottle-hero.webp 下载到 public/images/bottle-hero.webp。Alt:'A heavy glass perfume bottle with a blank label standing on draped blush silk, amber light refracting through the glass.' 用作主视觉锚点(3:4 裁剪)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。
- 图片:将 https://media.vibefather.ai/assets/e7e77a1e-73d7-4e50-b9fb-043f3dbc5115/mood-silk.webp 下载到 public/images/mood-silk.webp。Alt:'Folds of blush silk satin spilling across the frame in warm light.' 氛围条(4:3)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。
- 图片:将 https://media.vibefather.ai/assets/e7e77a1e-73d7-4e50-b9fb-043f3dbc5115/mood-amber.webp 下载到 public/images/mood-amber.webp。Alt:'Rough golden amber resin pieces glowing honey-warm on an ivory surface.' 氛围条(4:3)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。
- 图片:将 https://media.vibefather.ai/assets/e7e77a1e-73d7-4e50-b9fb-043f3dbc5115/mood-iris.webp 下载到 public/images/mood-iris.webp。Alt:'A single iris blossom resting on blush silk in mauve and amber tones.' 氛围条(4:3)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。
- 图片:将 https://media.vibefather.ai/assets/e7e77a1e-73d7-4e50-b9fb-043f3dbc5115/bottle-detail.webp 下载到 public/images/bottle-detail.webp。Alt:'Macro of the amber glass stopper and bottle shoulder with a blank label edge.' 用于规格选择器旁(1:1)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。
- 图片:将 https://media.vibefather.ai/assets/e7e77a1e-73d7-4e50-b9fb-043f3dbc5115/set-trio.webp 下载到 public/images/set-trio.webp。Alt:'Three small glass sample vials with blank labels in a row on blush silk.' 用于探索套装卡片(1:1)。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。
- 图标:lucide-react(ISC)通过 npm 引入——演示购物袋按钮上的 shopping-bag,主视觉次要 CTA 中的 arrow-down,链接中的 arrow-right,移动端页眉的 menu 和 x。不使用其他图标:无 emoji、无星级评分、无香水瓶标志。
- 字体:@fontsource/cormorant-garamond(OFL,字重 500 和 600,外加 500 斜体)和 @fontsource/josefin-sans(OFL,字重 300 和 400),在 src/main.tsx 中导入;绝不从 fonts.googleapis.com 或任何 CDN 加载。在项目根目录的 ASSETS.md 中列出这两个字体家族和六张照片:路径、来源、生成器或作者、许可证。

## 禁止事项
- 无后端、无网络请求、无分析统计、无结账或支付:购买按钮是演示用锚点,点击后显示内联的“nothing is for sale”提示,所有价格均为虚构的示例文案。
- 不使用任何 CDN:字体通过 Fontsource 包提供,图标来自 lucide-react,照片来自 public/images;绝不外链,绝不使用 Unsplash/Pexels/Pixabay 或占位图服务。
- 生产构建:单条命令、压缩、无 source map、输出中不含 src/、使用相对路径(Vite base './');每张照片压缩为 ≤ 350 KB 的 WebP,使 dist/ 保持在 20 MB 以内。
- 仅单页加锚点导航;必须在 1440×900 和 390×844 下干净渲染、控制台零报错,并遵循 prefers-reduced-motion(金字塔完全展开且静止,视差和加载缩放关闭,仅用普通淡入)。
- 不使用真实香水品牌、香氛、调香师或原料商标:品牌、香氛名、香调、价格和评论均为虚构,所有出现名称的地方统一使用 [BRAND]/[PERFUME]。
- 不做成分、皮肤学或功效宣称:文案保持诗意和示例诚实——不出现“long-lasting”、“hypoallergenic”、“clean”或临床化措辞,浓度行始终标注为 sample。
- 照片仅展示瓶身、丝绸和植物——不出现人物;每个标签严格留白(任何瓶身或小瓶上无可读文字),任何地方不出现 logo;若生成的图片出现人脸或文字,必须替换。
- 不出现真实日期或年份:评论不带日期,任何地方不出现发布或上市日期。
- 锁定柔美感官方向:腮红底色配丝绸般柔和的渐变,一个琥珀色点缀,鸢尾紫为辅助色,可可色文字,Cormorant 搭配 Josefin,胶囊形元素和 18px 圆角;无深色模式、无霓虹、无硬阴影,界面过渡不得快于 300ms。
- 所有文案、标签、示例数据和 alt 文本均为美式英语,存放于 src/content.ts;当 [BRAND]、[PERFUME]、[PRICE_MID] 或 [SET_PRICE] 变更时,重写香调、氛围说明和评论以匹配新产品,而不是在蜡烛产品下保留琥珀香水文案。
- 在项目根目录的 ASSETS.md 中列出每个第三方文件(两个 Fontsource 字体家族、lucide 图标、六张照片):路径、来源、许可证。

---
— Prompt by VibeFather · https://vibefather.ai/t/perfume-product-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: "Perfume Product Page"
colors:
  blush: "#F7E4E0"
  blush_deep: "#EFCFC9"
  silk: "#FDF8F5"
  amber: "#C9863B"
  amber_light: "#E0B273"
  iris_mauve: "#9C7F96"
  cocoa: "#4A3833"
  rose_smoke: "#A98F88"
typography:
  display_fragrance_name_headlines_prices_airy_serif_often_italic: { family: "Cormorant Garamond", weights: [500, 600] }
  text_body_labels_chips_airy_geometric_sans_tracked_labels_in_uppercase: { family: "Josefin Sans", weights: [300, 400] }
spacing: "Soft and generous: sections py-32 (128px) desktop / py-20 mobile; content max-w-5xl — a narrow, intimate column; the hero keeps 120px clear around the bottle; body copy capped at 48ch; hairlines are amber at 35% opacity."
radius: "Round and gentle: 999px pills on buttons, chips and size pickers; 18px on panels, images and the upsell card; nothing square."
---

# Perfume Product 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
- **Blush** `#F7E4E0` — Page ground — soft pink porcelain, the whole site's wash.
- **Blush deep** `#EFCFC9` — Alternate surfaces, the pyramid's heart band, chip hovers.
- **Silk** `#FDF8F5` — Panels, cards, ingredient chips, size chips at rest — warm near-white.
- **Amber** `#C9863B` — The primary accent: CTAs, active size chip, hairline golds, the pyramid base, leader lines.
- **Amber light** `#E0B273` — Hover and gradient end; underline accents on links.
- **Iris mauve** `#9C7F96` — Secondary accent: quiet links, the heart-note chips, captions' hover.
- **Cocoa** `#4A3833` — Primary text — warm dark brown, never black.
- **Rose smoke** `#A98F88` — Secondary text: intros, captions, sample notes.

## Typography
- **Display — fragrance name, headlines, prices (airy serif, often italic)** — Cormorant Garamond (OFL), weights 500/600. Self-host the font files.
- **Text — body, labels, chips (airy geometric sans, tracked labels in uppercase)** — Josefin Sans (OFL), weights 300/400. Self-host the font files.

## Spacing & shape
- Spacing: Soft and generous: sections py-32 (128px) desktop / py-20 mobile; content max-w-5xl — a narrow, intimate column; the hero keeps 120px clear around the bottle; body copy capped at 48ch; hairlines are amber at 35% opacity.
- Radius: Round and gentle: 999px pills on buttons, chips and size pickers; 18px on panels, images and the upsell card; nothing square.

## Motion
- Hero: the bottle photograph parallaxes at 0.06 of scroll and slowly scales 1.03→1 over 2.5s on load; the fragrance name fades up 300ms behind it.
- Scent pyramid: each band unfolds with scaleX 0→1 from center (900ms ease-out) as it crosses 40% of the viewport, top first, then heart, then base; each band's ingredient chips slide in beside it 150ms later, connected by leader lines that draw in (500ms).
- Mood strip: the three photographs fade up staggered 120ms and drift 0.04 parallax; captions fade last.
- Size picker: switching chips cross-fades the price line (300ms) and fills the active chip amber with silk text (250ms); the demo bag button shows its inline note with a 300ms fade.
- Reveals: sections, quotes and cards fade up (y 22→0, 800ms cubic-bezier(0.16,1,0.3,1)) with 100ms stagger via Motion whileInView, once.
- prefers-reduced-motion: the pyramid renders fully unfolded and static with all chips visible, parallax and load-scale off, every reveal a plain 200ms opacity fade.

## Imagery
One warm studio session: soft editorial still-life photography — the glass bottle with a strictly blank label on draped blush silk, folds of blush satin, rough amber resin, a single iris blossom, the amber stopper in macro, three sample vials — all in the same blush-and-amber grade, one warm diffused light, soft rose shadows, airy high-key warmth, gentle filmic softness, shallow depth of field. No people, no readable text anywhere, no logos. The six photographs are generated by VibeFather and downloaded into public/images.

## Tone
Soft, sensual, a little literary — short poetic lines that describe feelings, not chemistry; honest about being sample copy.

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

改成你自己的

  • 一个推出单一标志性香水的独立香水品牌:将 BRAND 和 PERFUME 设为你的标签,用真实香调重写前调、中调和后调层,并将六张照片换成你自己的丝绸上的瓶身照。
  • 一个香薰蜡烛工作室:将香水重命名为你的蜡烛,用你的蜡、烛芯和燃烧香调替换香调金字塔色带,并更新 PRICE_MID 和 SET_PRICE 以匹配你的容量和试用装。
  • 一个销售单款油或膏的身体护理品牌:保留腮红与琥珀配色,重写佩戴方式说明以适用于皮肤涂抹,并将发现套装卡片变成旅行装三件套优惠。
  • 一个美妆创作者的产品发布页:将 BRAND 设为你的工作室名称,用情绪图带图注作为你的活动文案,并将购买区链接到你自己的商店而非演示提示。

香水产品页:常见问题

香水产品页的香调金字塔实际是如何运作的?

香水产品页用 SVG 将香调金字塔绘制为三条色带:前调、中调、后调。当你滚动且每条色带越过视口的 40% 时,它会从中心展开,先前调,再中调,最后后调,成分标签在旁滑入,由琥珀色引导线连接。在 prefers-reduced-motion 下,金字塔完全展开并静态渲染。

怎么用 AI 做一个香水产品页?

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