跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

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

关于这个模板

这个模板为社区植物店打造一个郁郁葱葱、阳光充足的店面:温暖的奶油色底、深植物绿、陶土色点缀,圆润友好的字体叠在照片上,像窗边一个明亮的下午。首屏是一大幅阳光下的龟背竹肖像,旁边是店名,承诺的正是目录里能兑现的东西。它适合植物店、园艺工作室、盆景种植者、香草卖家,以及任何卖活体产品的小店。植物网格可按光照需求、养护难度和宠物安全可见地筛选——宠物主人真正想要的筛选——并带有柔和的布局动画重新排列。一个三题找植物问答(光照、宠物、照料精力)最后推荐一种植物,附一句简短理由,直接链接到它的产品页。产品页使用查询路由,没有查询时默认打开第一种植物:养护卡片列出光照、浇水和湿度,花盆搭配建议带价格,还有一个保存到浏览器的愿望清单,并附一句诚实的说明。养护指南卡片和店主署名的安静手送说明收尾页面。一切都在客户端运行,使用 React、Tailwind 和 Motion,字体通过 Fontsource 自托管,每张照片都打包进构建。四个变量——品牌、城市、配送半径和店铺说明署名者——从一个内容文件重写所有文案。动效保持轻柔,在移动端进一步放慢,并尊重 prefers-reduced-motion 提供完全静态的页面。模板附带来自同一次虚构拍摄的六张照片:同样的窗户光、同样的奶油色墙壁、同样的陶土花盆,没有人,没有植物标签。

模板提示词

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

# Plant Shop Website

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

## Brief
A warm one-page shop for [BRAND], a plant shop in [CITY] with six houseplants on the shelf. Sunlit botanical photography, a filterable plant grid (light, care, pet-safe), a find-your-plant quiz, and a query-routed product page with a care card, pot pairing and a local wishlist. A quiet hand-delivery note within [DELIVERY_RADIUS] closes the page.

- Audience: Apartment gardeners and first-time plant parents in [CITY] — especially cat and dog owners who need to know what is safe to bring home.
- Goal: Match a visitor to a plant that will survive their window and their pets, then move them to the product page and the local wishlist.
- Tone: Friendly neighborhood expert: warm, specific, a little green-thumbed humor. Never botanical Latin for its own sake, never preachy.

## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: react + react-dom 18 (MIT), motion (motion.dev) 11 (MIT), lucide-react (ISC), @fontsource/baloo-2, @fontsource/nunito (OFL)
- 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. Two HTML pages at the project root: index.html (entry src/main.tsx) and plant.html (entry src/plant.tsx).
  - vite.config.ts: base './', plugins [react()], build { outDir 'dist', sourcemap false, assetsInlineLimit 0, rollupOptions.input { main: 'index.html', plant: 'plant.html' } }. Never copy src/ into dist/.
  - Tailwind 3.4 through PostCSS, content ['./index.html', './plant.html', './src/**/*.{ts,tsx}']. theme.extend.colors maps cream, white, leaf, leafDeep, clay, claySoft, bark, ink, rule.
  - src/fonts.ts imports @fontsource/baloo-2/600.css, 700.css and @fontsource/nunito/400.css, 600.css, 700.css. Import fonts.ts from both entries.
  - Global CSS in src/index.css: body background cream; selection leaf on cream; focus-visible outline 2px clay; rounded everything per Design.
  - src/content.ts holds every string: plants array (slug, name, latin? optional common only, light bright, medium, low; care easy, moderate; petSafe boolean; price; image; alt; care card lines; pot pairings; whyLine for the quiz), quizSteps, careGuides, deliveryNote, address, hours. Rewrite this file when the variables change.
  - src/lib/brand.ts: brandSlug from [BRAND]; localStorage key `${brandSlug}:wishlist` storing an array of plant slugs.
  - src/plant.tsx reads new URLSearchParams(location.search).get('id'); unknown or missing id renders the first plant (monstera) — never an empty or not-found state.
  - Components in src/components/: Header.tsx, Reveal.tsx (Motion whileInView, fade + 16px rise, 450ms, 70ms stagger), PlantCard.tsx, FilterBar.tsx, Quiz.tsx, CareGuides.tsx, DeliveryNote.tsx, Footer.tsx; on plant.html CareCard.tsx, PotPairing.tsx, WishlistButton.tsx.
  - public/favicon.svg: a 64px code-drawn single terracotta pot with two leaf shapes in leaf green. Download the six photos from Assets into public/images/ before building; write ASSETS.md at the project root.
  - dist/ holds index.html, plant.html, hashed JS/CSS, the woff2 fonts, favicon.svg and six webp images. Keep it under 20 MB.

## Variables
- [BRAND] — Shop name (default: "Fern & Forth"). Invented plant shop name. Wordmark, titles, brandSlug (localStorage keys) and every mention. Never a real garden chain or delivery brand.
- [CITY] — City (default: "Savannah, Georgia"). Where the shop is. Appears in the hero eyebrow, the delivery note and the footer address. Real cities are fine.
- [DELIVERY_RADIUS] — Delivery radius (default: "15 miles"). How far the shop hand-delivers. Used in the hero sub-line and the delivery note at the bottom.
- [SIGNER] — Shop note signer (default: "Maya Okonkwo"). The invented owner who signs the delivery note — 'founder & waterer-in-chief'. Adds a human voice without a photo.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/plant-shop-website in the footer (default: yes; delete this line to remove it)

The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.

## Design
### Colors
- Cream `#FBF4E4` — Page ground everywhere — warm cream, sun-washed.
- White `#FFFFFF` — Cards, the quiz panel, care cards — clean but warm against the cream.
- Leaf `#2F5D3E` — Primary green: headings, buttons, links, the filled heart on wishlist.
- Leaf Deep `#234931` — Green hover and pressed state.
- Clay `#C4704B` — Terracotta accent: prices, the pet-safe paw badge, quiz progress, focus ring, tag chips.
- Clay Soft `#F2E0D2` — Chip and badge fills, the delivery-note band, selected filter states.
- Bark `#6D5F4E` — Secondary text: eyebrows, captions, care-guide body.
- Ink `#2C2A24` — Primary text on light grounds.
- Rule `#E8DEC9` — 1px hairlines: card borders, footer divider, filter underline.

### Typography
- Display — wordmark, H1, H2, plant names, quiz question. Baloo 2, rounded chunky, sentence case, line-height 1.15: Baloo 2 (OFL), weights 600/700
- Text — body, care lines, buttons (600 for labels), captions: Nunito (OFL), weights 400/600/700

### Layout & motion
- Spacing: Friendly and airy: 104px desktop section rhythm (64px mobile), 1200px container, 28px side padding. Grid gap 24px; product page 6/6 split with a 48px gutter.
- Radius: Rounded like the shop: 20px on cards and the quiz panel, 999px on chips, buttons and badges, 16px on images.
- Motion: Gentle, never fast: reveals fade and rise 16px over 450ms with 70ms stagger; mobile shortens to 350ms.
- Motion: Filtering re-flows the grid with Motion layout animations at 320ms so plants glide, not jump.
- Motion: Quiz steps crossfade with a small 12px slide at 320ms; the result card rises 16px with a soft spring (stiffness 200, damping 22).
- Motion: Wishlist heart pops once (scale 1 to 1.2 to 1, 300ms) when saved; pot-pairing selection bounces the price at the same spring.
- Motion: prefers-reduced-motion: every animation becomes an instant state change.
- Imagery: One sunny shoot: every photograph is a live plant in an unglazed terracotta (or pale wood) pot in bright soft window light, cream walls, gentle leaf shadows, pale wood floors and shelves. 50mm eye-level, warm and airy. No people, no readable plant tags, no logos.

## Pages & Sections
### [BRAND] — plants, finder quiz, care and delivery (`index.html`)
1. **Header** — Sticky header on Cream, 1px Rule hairline after 12px of scroll. Left: wordmark [BRAND] in Baloo 2 700 22px, Leaf, with a small terracotta pot glyph (code-drawn SVG, 20px) before the name. Center nav (desktop): Plants, Find a plant, Care — Nunito 600 14px, Bark to Leaf on 150ms, scrolling to anchors. Right: 'My plant list' text link with a Heart icon and the live count from localStorage. Mobile: wordmark plus burger (two 2px Leaf lines) opening a full-screen Cream overlay with anchors in Baloo 2 26px.
   Layout: Single row, 1200px container, 16px vertical padding.
   Motion: Hairline fades in on scroll; overlay fades and rises 12px in 220ms; wishlist count pops on change.
2. **Hero** — Split hero: right 7 columns hold hero-monstera.webp edge-to-edge to the viewport's right edge (rounded 24px on its left corners), the monstera lit by morning window light. Left 5 columns, copy vertically centered: eyebrow '[BRAND] — PLANT SHOP IN [CITY]' in Nunito 700 12px uppercase 0.22em Clay. H1 in Baloo 2 700 clamp(40px, 5.5vw, 64px), Ink: 'Plants that like your window.' Sub in Nunito 400 17px Bark, max 44ch: 'Six easy houseplants matched to your light, your schedule and your pets. Hand-delivered within [DELIVERY_RADIUS] of the shop.' CTAs stacked: 'Shop plants' (Leaf fill, Cream text, 999px) and 'Find my plant — 1 min' (ghost, 1.5px Leaf border). Below, a quiet trust line in Bark 13px with a PawPrint icon: 'Every plant page tells you if it is pet-safe.'
   Layout: 5/7 split; image bleeds right on desktop. Mobile: image on top at 4:3, copy below with 24px padding.
   Motion: Copy staggers in at 450ms each, 70ms apart; the photo scales from 1.03 to 1.0 over 700ms once.
3. **Find-your-plant quiz** — A white panel (rounded 24px, id='find') under the eyebrow 'FIND MY PLANT' and H2 'One minute to the right plant.' Left rail copy in Bark: 'Three questions — answer for the window, not for ambition.' Three steps, one at a time. Step 1 'How is the light?' — three cards with lucide icons: Sun 'Bright — right by a window', CloudSun 'Medium — a bright room, off the glass', Moon 'Low — north-facing or shady'. Step 2 'Do pets share the room?' — 'Yes — they chew things' with PawPrint, 'No — plants are my only leaf-eaters'. Step 3 'How is your memory?' — 'Water me weekly' with Droplets, 'Remind me... eventually' with BellOff. Deterministic scoring: start with the six plants, drop any that fail pets=yes on petSafe, then fail light, then fail attention (calathea and fig need 'weekly'); rank the rest by price ascending and pick the first; ties break alphabetically by slug. Result card: the plant's photo at 4:3, 'Your plant: [name]' in Baloo 2 24px, the why-line from content.ts (e.g. 'Forgiving, pet-safe and happy in medium light — the parlor palm has survived worse than us.'), price in Clay, and two links: 'View the [name]' opening ./plant.html?id=parlor-palm, and 'Start over'.
   Layout: 5/7 split inside the panel, 32px padding, option cards in a 3-column grid rounded 16px.
   Motion: Steps crossfade with a 12px slide at 320ms; a 3-segment Clay progress bar fills; the result rises 16px on a soft spring.
4. **Plant grid** — id='plants'. Eyebrow 'ON THE SHELF' and H2 'Six plants, no guesswork.' Filter bar under it, three groups of 999px chips (Clay Soft fill, Bark text; active chip: Leaf fill, Cream text): Light (Any, Bright, Medium, Low), Care (Any, Easy, Moderate), and one Pet-safe toggle chip with PawPrint ('Pet-safe only'). The six plants, exact data: Monstera — bright, easy, not pet-safe, $42; Fiddle-Leaf Fig — bright, moderate, not pet-safe, $56; Snake Plant — low, easy, not pet-safe, $34; Calathea Orbifolia — medium, moderate, pet-safe, $38; Parlor Palm — medium, easy, pet-safe, $28; Watermelon Peperomia — bright, easy, pet-safe, $24. Each card: photo 4:3 rounded 16px, name in Baloo 2 18px, light chip and care chip (12px), a clay PawPrint badge when pet-safe, price in Nunito 700 Clay, and 'View' linking to ./plant.html?id=… with each plant's slug. Filtering hides non-matching cards and shows 'Showing 2 of 6 plants'; 'Clear' appears once a filter is active. One quiet line under the grid in Bark 14px: 'More on the bench this week — spider plant and pothos, in store only.'
   Layout: 3-column grid (2 tablet, 1 mobile), 24px gap, cards on White rounded 20px with 18px padding and a 1px Rule border.
   Motion: Plants glide with Motion layout animation at 320ms when filters change; cards reveal on scroll at 450ms with 70ms stagger.
5. **Care guides** — Three care cards on Cream in a row, each with a lucide icon in Leaf inside a Clay Soft circle: Sprout — 'Water less in winter' — 'Growth slows, so does thirst. Check the top inch of soil before every pour.'; Droplets — 'Repot when roots circle' — 'If roots peek from the drainage hole in spring, go one pot size up — no jumps.'; Wind — 'Dust the leaves monthly' — 'A damp cloth on the leaves is half the fertilizer your plant will ever need.' Titles in Baloo 2 17px, bodies in Nunito 14px Bark, and a caption line under the row: 'General guidance from our bench, not botanical law.'
   Layout: 3-column grid, 24px gap, cards on White rounded 20px, 24px padding; stacks on mobile.
   Motion: Cards reveal on scroll at 450ms, 70ms stagger.
6. **Delivery note** — A quiet full-width band in Clay Soft, rounded 24px, with a Bike icon in Leaf. One line in Nunito 15px Ink, max 62ch: 'We hand-deliver within [DELIVERY_RADIUS] of the shop, Tuesday to Saturday, free over $60 — every plant rides seat-belted in the passenger seat and leaves with its own care card.' Signed in Baloo 2 16px Leaf: '— [SIGNER], [BRAND]'. Beneath, one small honest line in Bark 12px: 'This is a template demo — nothing is ordered or delivered.'
   Layout: Centered single column, 720px max width, 40px padding.
   Motion: Reveals once on scroll at 450ms.
7. **Footer** — 1px Rule hairline, then three columns on Cream: wordmark with pot glyph; '18 Mossing Lane, [CITY]' with MapPin, 'Tue–Sat 9:00–18:00, Sun 10:00–16:00' with Clock, '(912) 555-0164' with Phone; nav anchors repeated small. Bottom line in Bark 12px: 'Every plant, price and promise on this page is an invented example.' plus the optional [CREDIT] link.
   Layout: Three columns, stacked on mobile with 32px gaps.
   Motion: None — the footer is still.

### [BRAND] — a plant, its care card and pot pairings (`plant.html`)
1. **Product** — Reads ?id=; unknown or missing id renders the monstera. 6/6 split: left, the plant's photo at 4:3 rounded 24px on White with a 1px Rule border; beneath it a caption in Bark 13px: 'Photographed on the shop bench — your plant will have its own opinions.' Right column: light and care eyebrow in Clay uppercase, plant name in Baloo 2 700 36px Ink, price in Nunito 700 20px Clay, then the care card — a White rounded 20px panel with three rows, each a lucide icon in Leaf plus label and value from content.ts: Sun 'Light — Bright indirect, near an east window'; Droplets 'Water — Every 7–10 days, top inch dry first'; Droplet 'Humidity — Average home humidity is fine'. Pet-safe status as a badge: clay PawPrint with 'Pet-safe — chewable but not chosen' when true, or Bark 'Keep away from chewers — not pet-safe' when false. Then 'Pair it with a pot' — two pot options as selectable rows (Leaf border when active): 'Terracotta, 6 in — +$14', 'Glazed sage, 6 in — +$18'; the running total shows on the button: 'Add to my plant list — $56'. Pressing it adds the slug to `${brandSlug}:wishlist` and shows an inline note with a Check: 'Saved on this device — a demo list, nothing ordered.'
   Layout: 6/6 split, 48px gutter; stacks on mobile with the photo first.
   Motion: Pot selection bounces the price on a soft spring (stiffness 200, damping 22); the heart in the header pops; the note slides up 12px in 240ms.
2. **Related plants** — Eyebrow 'ALSO HAPPY IN MOST HOMES' and three related plants (the next three slugs after the current one, wrapping) as compact cards: photo 4:3, name, price, 'View' link to ./plant.html?id=….
   Layout: 3-column grid, 24px gap, same card style as the main grid.
   Motion: Reveals on scroll at 450ms with 70ms stagger.

## Assets
- image: Six sunlit plant photographs made for this template, redistributable with it. Download each into public/images/ with curl -L -o before building. https://media.vibefather.ai/assets/dac013c1-6154-4a3c-908e-5bc13ae3c0df/hero-monstera.webp -> public/images/hero-monstera.webp (hero and the monstera's card/product photo; alt 'A large monstera in a terracotta pot beside a bright window, leaf shadows on a cream wall'); https://media.vibefather.ai/assets/dac013c1-6154-4a3c-908e-5bc13ae3c0df/plant-fig.webp -> public/images/plant-fig.webp (fiddle-leaf fig; alt 'A tall fiddle-leaf fig filling a bright corner'); https://media.vibefather.ai/assets/dac013c1-6154-4a3c-908e-5bc13ae3c0df/plant-snake.webp -> public/images/plant-snake.webp (snake plant; alt 'A snake plant in a terracotta pot on a wooden stool in a stripe of window light'); https://media.vibefather.ai/assets/dac013c1-6154-4a3c-908e-5bc13ae3c0df/plant-calathea.webp -> public/images/plant-calathea.webp (calathea; alt 'A round-leaved striped calathea in dappled window light'); https://media.vibefather.ai/assets/dac013c1-6154-4a3c-908e-5bc13ae3c0df/plant-palm.webp -> public/images/plant-palm.webp (parlor palm; alt 'A feathery parlor palm on a wooden shelf'); https://media.vibefather.ai/assets/dac013c1-6154-4a3c-908e-5bc13ae3c0df/plant-peperomia.webp -> public/images/plant-peperomia.webp (watermelon peperomia; alt 'A small striped-leaf peperomia in a clay pot on a windowsill'). In ASSETS.md credit each: 'Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.'
- icon: lucide-react only: Sun, CloudSun, Moon, PawPrint, Droplets, Droplet, BellOff, Sprout, Wind, Bike, Heart, Check, MapPin, Clock, Phone, ArrowRight. Stroke width 2, 16-24px, color inherits. The pot glyph in the wordmark and the favicon are code-drawn SVG. No other icon sets.
- font: @fontsource/baloo-2 (600, 700) and @fontsource/nunito (400, 600, 700), imported in src/fonts.ts so Vite bundles the woff2 files into dist/. Never load fonts from a CDN.

## Don'ts
- No backend, no APIs, no form submission, no ordering: buy and wishlist actions save to localStorage only, with copy that says it is a demo list.
- No real plant shops, delivery brands or plant-food brands; shop name, plant names and prices are invented.
- Care advice stays general sample guidance — no botanical guarantees, no diagnosis of plant problems, no pesticide or fertilizer claims.
- Photographs show plants in pots and shop details only — no people, no readable plant tags, no logos.
- No calendar dates and no live clock: delivery days are the fixed Tue–Sat pattern, hours are fixed sample strings; the site never shows today's date.
- plant.html without a query shows the first plant, never an empty or not-found state.
- Self-host everything: fonts via Fontsource, icons via lucide-react, images downloaded into public/images/ — no CDN tags, no analytics.
- Static build: minified, no source maps, no src/ in dist/, one command npm run build, multi-page output with real plant.html in dist/ under 20 MB.
- Every internal link points at a file (./index.html#plants, ./plant.html?id=…); never a bare directory.
- Respect prefers-reduced-motion: quizzes, springs and layout animations become instant.
- Works at 1440×900 and 390×844 with zero console errors; filters, quiz, pot pairing and wishlist work with keyboard only and a visible clay focus ring.
- No SEO machinery beyond a plain title with [BRAND]; never mention VibeFather or any real brand inside the site; all copy is invented US English living in src/content.ts.

---
— Prompt by VibeFather · https://vibefather.ai/t/plant-shop-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 植物商店网站

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

## 简介
为 [BRAND] 打造一个温暖的单页商店,这是位于 [CITY] 的一家植物店,货架上摆着六种室内植物。阳光植物摄影、可筛选的植物网格(光照、养护、宠物安全)、一个“找到你的植物”测验,以及一个通过查询路由的产品页面,包含养护卡片、花盆搭配和本地心愿单。页面末尾是一则安静的亲手配送说明,范围在 [DELIVERY_RADIUS] 内。

- 受众:[CITY] 的公寓园丁和初次养植物的人——尤其是需要知道什么可以安全带回家的猫狗主人。
- 目标:为访客匹配一株能在其窗户环境和宠物周围存活的植物,然后引导他们前往产品页面和本地心愿单。
- 语气:友好的邻里专家:温暖、具体,带一点园艺幽默。绝不为了炫耀而使用植物学拉丁名,绝不说教。

## 技术栈
- 框架:Vite 5 + React 18 + TypeScript
- 样式:Tailwind CSS 3.4
- 库:react + react-dom 18(MIT)、motion(motion.dev)11(MIT)、lucide-react(ISC)、@fontsource/baloo-2、@fontsource/nunito(OFL)
- 构建:`npm run build` → `dist/` 中的静态文件。无后端、无服务器代码、无外部 API。
- 设置:
  - 使用 react-ts 模板通过 npm create vite@latest 搭建脚手架。项目根目录下有两个 HTML 页面:index.html(入口 src/main.tsx)和 plant.html(入口 src/plant.tsx)。
  - vite.config.ts:base './',plugins [react()],build { outDir 'dist',sourcemap false,assetsInlineLimit 0,rollupOptions.input { main: 'index.html',plant: 'plant.html' } }。切勿将 src/ 复制到 dist/ 中。
  - 通过 PostCSS 使用 Tailwind 3.4,content ['./index.html','./plant.html','./src/**/*.{ts,tsx}']。theme.extend.colors 映射 cream、white、leaf、leafDeep、clay、claySoft、bark、ink、rule。
  - src/fonts.ts 导入 @fontsource/baloo-2/600.css、700.css 和 @fontsource/nunito/400.css、600.css、700.css。从两个入口导入 fonts.ts。
  - src/index.css 中的全局 CSS:body 背景为 cream;选中文本为 leaf 色配 cream 色;focus-visible 轮廓为 2px clay;按设计规范所有元素使用圆角。
  - src/content.ts 保存所有字符串:plants 数组(slug、name、latin? 可选仅常用名、light bright、medium、low;care easy、moderate;petSafe 布尔值;price;image;alt;养护卡片文案;花盆搭配;用于测验的 whyLine)、quizSteps、careGuides、deliveryNote、address、hours。当变量变化时重写此文件。
  - src/lib/brand.ts:brandSlug 来自 [BRAND];localStorage 键 `${brandSlug}:wishlist` 存储植物 slug 数组。
  - src/plant.tsx 读取 new URLSearchParams(location.search).get('id');未知或缺失的 id 渲染第一个植物(monstera)——绝不出现空状态或未找到状态。
  - src/components/ 中的组件:Header.tsx、Reveal.tsx(Motion whileInView,淡入 + 16px 上移,450ms,70ms 交错)、PlantCard.tsx、FilterBar.tsx、Quiz.tsx、CareGuides.tsx、DeliveryNote.tsx、Footer.tsx;在 plant.html 上使用 CareCard.tsx、PotPairing.tsx、WishlistButton.tsx。
  - public/favicon.svg:一个 64px 代码绘制的单个陶土花盆,配两个 leaf 绿色的叶片形状。构建前将六张照片从 Assets 下载到 public/images/;在项目根目录写入 ASSETS.md。
  - dist/ 包含 index.html、plant.html、带哈希的 JS/CSS、woff2 字体、favicon.svg 和六张 webp 图片。保持在 20 MB 以下。

## 变量
- [BRAND] — 店铺名称(默认:“Fern & Forth”)。虚构的植物店名称。用于字标、标题、brandSlug(localStorage 键)以及每一处提及。绝不使用真实的花园连锁店或配送品牌。
- [CITY] — 城市(默认:“Savannah, Georgia”)。店铺所在地。出现在主视觉眉题、配送说明和页脚地址中。可以使用真实城市。
- [DELIVERY_RADIUS] — 配送半径(默认:“15 miles”)。店铺人工配送的最远距离。用于主视觉副标题和底部的配送说明。
- [SIGNER] — 店铺留言署名(默认:“Maya Okonkwo”)。虚构的店主,在配送说明上署名——'founder & waterer-in-chief'。无需照片即可增添人情味。
- [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接,指向 https://vibefather.ai/t/plant-shop-website(默认:是;删除此行即可移除)

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

## 设计
### 颜色
- 奶油色(Cream)`#FBF4E4` — 全站页面底色 — 温暖的奶油色,如阳光洒过。
- 白色(White)`#FFFFFF` — 卡片、测验面板、养护卡片 — 干净但在奶油色衬托下仍显温暖。
- 叶绿(Leaf)`#2F5D3E` — 主绿色:标题、按钮、链接、心愿单上的实心心形。
- 深叶绿(Leaf Deep)`#234931` — 绿色的悬停与按下状态。
- 陶土色(Clay)`#C4704B` — 赤陶色点缀:价格、宠物安全爪印徽章、测验进度、焦点环、标签芯片。
- 柔陶色(Clay Soft)`#F2E0D2` — 芯片与徽章填充、配送说明条带、选中的筛选状态。
- 树皮色(Bark)`#6D5F4E` — 次要文本:眉题、说明文字、养护指南正文。
- 墨色(Ink)`#2C2A24` — 浅色背景上的主要文本。
- 分隔线(Rule)`#E8DEC9` — 1px 细线:卡片边框、页脚分隔线、筛选下划线。

### 字体排印
- 展示字体 — 品牌字标、H1、H2、植物名称、测验问题。Baloo 2,圆润厚实,句首大写,行高 1.15:Baloo 2(OFL),字重 600/700
- 正文字体 — 正文、养护说明、按钮(标签用 600)、说明文字:Nunito(OFL),字重 400/600/700

### 布局与动效
- 间距:友好而通透:桌面端区块节奏 104px(移动端 64px),容器 1200px,侧边内边距 28px。网格间距 24px;产品页 6/6 分栏,栏间距 48px。
- 圆角:像店铺一样圆润:卡片和测验面板 20px,芯片、按钮和徽章 999px,图片 16px。
- 动效:轻柔,绝不快速:显现效果为淡入并上移 16px,时长 450ms,错开 70ms;移动端缩短至 350ms。
- 动效:筛选时网格以 Motion 布局动画在 320ms 内重新排列,让植物滑行而非跳跃。
- 动效:测验步骤以 320ms 交叉淡入并伴随 12px 的小幅滑动;结果卡片以柔和弹簧(刚度 200,阻尼 22)上移 16px。
- 动效:保存时心愿单心形弹跳一次(缩放 1 到 1.2 再到 1,300ms);花盆搭配选择以相同弹簧效果让价格弹跳。
- 动效:prefers-reduced-motion:所有动画变为即时状态切换。
- 图像:一次阳光拍摄:每张照片都是明亮柔和窗光下的活体植物,置于无釉赤陶(或浅色木质)花盆中,奶油色墙壁,柔和的叶影,浅色木地板和搁架。50mm 平视,温暖而通透。无人物,无可读植物标签,无标识。

## 页面与区块
### [BRAND] — 植物、查找测验、养护与配送(`index.html`)
1. **页眉** — 奶油色(Cream)上的粘性页眉,滚动 12px 后出现 1px 分隔细线(Rule hairline)。左侧:字标 [BRAND],使用 Baloo 2 700 22px、叶绿色(Leaf),名称前有一个小的陶土花盆图形(代码绘制的 SVG,20px)。中间导航(桌面端):Plants、Find a plant、Care — Nunito 600 14px,树皮色(Bark)到叶绿色(Leaf)150ms 过渡,滚动至锚点。右侧:'My plant list' 文字链接,带心形图标和来自 localStorage 的实时计数。移动端:字标加汉堡菜单(两条 2px 叶绿色线条),打开全屏奶油色(Cream)覆盖层,锚点使用 Baloo 2 26px。
   布局:单行,1200px 容器,16px 垂直内边距。
   动效:细线在滚动时淡入;覆盖层淡入并上移 12px,220ms;心愿单计数变化时弹跳。
2. **首屏** — 分栏首屏:右侧 7 列放置 hero-monstera.webp,边缘延伸至视口右边缘(左侧圆角 24px),龟背竹被晨间窗光照亮。左侧 5 列,文案垂直居中:眉题 '[BRAND] — PLANT SHOP IN [CITY]',Nunito 700 12px 大写 0.22em 黏土色(Clay)。H1 使用 Baloo 2 700 clamp(40px, 5.5vw, 64px)、墨色(Ink):'Plants that like your window.' 副标题使用 Nunito 400 17px 树皮色(Bark),最大 44ch:'Six easy houseplants matched to your light, your schedule and your pets. Hand-delivered within [DELIVERY_RADIUS] of the shop.' CTA 堆叠:'Shop plants'(叶绿色填充、奶油色文字、999px)和 'Find my plant — 1 min'(幽灵按钮、1.5px 叶绿色边框)。下方,一行安静的信任文案,树皮色(Bark)13px,带 PawPrint 图标:'Every plant page tells you if it is pet-safe.'
   布局:5/7 分栏;桌面端图片向右出血。移动端:图片在上,4:3,文案在下,24px 内边距。
   动效:文案以 450ms 每条、间隔 70ms 交错进入;照片从 1.03 缩放至 1.0,700ms,仅一次。
3. **查找你的植物测验** — 白色面板(圆角 24px,id='find'),位于眉题 'FIND MY PLANT' 和 H2 'One minute to the right plant.' 下方。左侧栏文案使用树皮色(Bark):'Three questions — answer for the window, not for ambition.' 三个步骤,一次一个。步骤 1 'How is the light?' — 三张卡片带 lucide 图标:Sun 'Bright — right by a window'、CloudSun 'Medium — a bright room, off the glass'、Moon 'Low — north-facing or shady'。步骤 2 'Do pets share the room?' — 'Yes — they chew things' 带 PawPrint、'No — plants are my only leaf-eaters'。步骤 3 'How is your memory?' — 'Water me weekly' 带 Droplets、'Remind me... eventually' 带 BellOff。确定性评分:从六种植物开始,剔除任何在 petSafe 上未通过 pets=yes 的,然后未通过光照的,然后未通过关注度的(calathea 和 fig 需要 'weekly');其余按价格升序排名并取第一个;平局按 slug 字母顺序打破。结果卡片:植物照片 4:3,'Your plant: [name]' 使用 Baloo 2 24px,来自 content.ts 的原因行(例如 'Forgiving, pet-safe and happy in medium light — the parlor palm has survived worse than us.'),价格使用黏土色(Clay),以及两个链接:'View the [name]' 打开 ./plant.html?id=parlor-palm,和 'Start over'。
   布局:面板内 5/7 分栏,32px 内边距,选项卡片 3 列网格,圆角 16px。
   动效:步骤交叉淡入并滑动 12px,320ms;3 段黏土色(Clay)进度条填充;结果以柔和弹簧上移 16px。
4. **植物网格** — id='plants'。眉题 'ON THE SHELF' 和 H2 'Six plants, no guesswork.' 下方筛选栏,三组 999px 胶囊(黏土柔和色(Clay Soft)填充、树皮色(Bark)文字;激活胶囊:叶绿色(Leaf)填充、奶油色(Cream)文字):光照(Any、Bright、Medium、Low)、养护(Any、Easy、Moderate),以及一个带 PawPrint 的宠物安全切换胶囊('Pet-safe only')。六种植物,精确数据:Monstera — 明亮、简单、非宠物安全、$42;Fiddle-Leaf Fig — 明亮、中等、非宠物安全、$56;Snake Plant — 低光、简单、非宠物安全、$34;Calathea Orbifolia — 中等、中等、宠物安全、$38;Parlor Palm — 中等、简单、宠物安全、$28;Watermelon Peperomia — 明亮、简单、宠物安全、$24。每张卡片:照片 4:3 圆角 16px,名称使用 Baloo 2 18px,光照胶囊和养护胶囊(12px),宠物安全时显示黏土色 PawPrint 徽章,价格使用 Nunito 700 黏土色(Clay),以及 'View' 链接到 ./plant.html?id=…,使用每种植物的 slug。筛选隐藏不匹配的卡片并显示 'Showing 2 of 6 plants';一旦筛选激活则出现 'Clear'。网格下方一行安静的树皮色(Bark)14px 文字:'More on the bench this week — spider plant and pothos, in store only.'
   布局:3 列网格(平板 2 列,移动 1 列),24px 间隙,卡片在白色(White)上圆角 20px,18px 内边距和 1px 分隔线(Rule)边框。
   动效:筛选变化时植物以 Motion 布局动画 320ms 滑动;卡片滚动时以 450ms、70ms 交错显现。
5. **养护指南** — 三张养护卡片在奶油色(Cream)上排成一行,每张有一个叶绿色(Leaf)的 lucide 图标,位于黏土柔和色(Clay Soft)圆圈内:Sprout — 'Water less in winter' — 'Growth slows, so does thirst. Check the top inch of soil before every pour.';Droplets — 'Repot when roots circle' — 'If roots peek from the drainage hole in spring, go one pot size up — no jumps.';Wind — 'Dust the leaves monthly' — 'A damp cloth on the leaves is half the fertilizer your plant will ever need.' 标题使用 Baloo 2 17px,正文使用 Nunito 14px 树皮色(Bark),行下方一行说明文字:'General guidance from our bench, not botanical law.'
   布局:3 列网格,24px 间隙,卡片在白色(White)上圆角 20px,24px 内边距;移动端堆叠。
   动效:卡片滚动时以 450ms、70ms 交错显现。
6. **配送说明** — 一条安静的全宽色带,黏土柔和色(Clay Soft),圆角 24px,带叶绿色(Leaf)的 Bike 图标。一行 Nunito 15px 墨色(Ink),最大 62ch:'We hand-deliver within [DELIVERY_RADIUS] of the shop, Tuesday to Saturday, free over $60 — every plant rides seat-belted in the passenger seat and leaves with its own care card.' 署名使用 Baloo 2 16px 叶绿色(Leaf):'— [SIGNER], [BRAND]'。下方,一行小的诚实文字,树皮色(Bark)12px:'This is a template demo — nothing is ordered or delivered.'
   布局:居中单列,最大宽度 720px,40px 内边距。
   动效:滚动时以 450ms 显现一次。
7. **页脚** — 1px 分隔细线(Rule hairline),然后在奶油色(Cream)上三列:字标带花盆图形;'18 Mossing Lane, [CITY]' 带 MapPin、'Tue–Sat 9:00–18:00, Sun 10:00–16:00' 带 Clock、'(912) 555-0164' 带 Phone;导航锚点小号重复。底部行树皮色(Bark)12px:'Every plant, price and promise on this page is an invented example.' 加上可选的 [CREDIT] 链接。
   布局:三列,移动端堆叠,32px 间隙。
   动效:无 — 页脚是静止的。

### [BRAND] — 一种植物、其养护卡和花盆搭配(`plant.html`)
1. **产品** — 读取 ?id=;未知或缺失 id 渲染龟背竹。6/6 分栏:左侧,植物照片 4:3 圆角 24px 在白色(White)上,带 1px 分隔线(Rule)边框;下方说明文字树皮色(Bark)13px:'Photographed on the shop bench — your plant will have its own opinions.' 右列:光照和养护眉题使用黏土色(Clay)大写,植物名称使用 Baloo 2 700 36px 墨色(Ink),价格使用 Nunito 700 20px 黏土色(Clay),然后是养护卡 — 一个白色(White)圆角 20px 面板,三行,每行一个叶绿色(Leaf)的 lucide 图标加上来自 content.ts 的标签和值:Sun 'Light — Bright indirect, near an east window';Droplets 'Water — Every 7–10 days, top inch dry first';Droplet 'Humidity — Average home humidity is fine'。宠物安全状态作为徽章:黏土色 PawPrint 带 'Pet-safe — chewable but not chosen' 当为真时,或树皮色(Bark)'Keep away from chewers — not pet-safe' 当为假时。然后 'Pair it with a pot' — 两个花盆选项作为可选行(激活时叶绿色(Leaf)边框):'Terracotta, 6 in — +$14'、'Glazed sage, 6 in — +$18';运行总计显示在按钮上:'Add to my plant list — $56'。按下它将 slug 添加到 `${brandSlug}:wishlist` 并显示带 Check 的内联注释:'Saved on this device — a demo list, nothing ordered.'
   布局:6/6 分栏,48px 间距;移动端堆叠,照片在前。
   动效:花盆选择以柔和弹簧弹跳价格(刚度 200,阻尼 22);页眉中的心形弹跳;注释上滑 12px,240ms。
2. **相关植物** — 眉题 'ALSO HAPPY IN MOST HOMES' 和三种相关植物(当前之后的下三个 slug,循环)作为紧凑卡片:照片 4:3、名称、价格、'View' 链接到 ./plant.html?id=…。
   布局:3 列网格,24px 间隙,与主网格相同的卡片样式。
   动效:滚动时以 450ms、70ms 交错显现。

## 资源(Assets)
- 图片(image):为本模板制作的六张阳光下的植物照片,可随模板一起再分发。构建前,用 curl -L -o 将每张图片下载到 public/images/ 目录。https://media.vibefather.ai/assets/dac013c1-6154-4a3c-908e-5bc13ae3c0df/hero-monstera.webp -> public/images/hero-monstera.webp(用于 hero 区以及龟背竹的卡片/产品照片;alt 为 'A large monstera in a terracotta pot beside a bright window, leaf shadows on a cream wall');https://media.vibefather.ai/assets/dac013c1-6154-4a3c-908e-5bc13ae3c0df/plant-fig.webp -> public/images/plant-fig.webp(琴叶榕;alt 为 'A tall fiddle-leaf fig filling a bright corner');https://media.vibefather.ai/assets/dac013c1-6154-4a3c-908e-5bc13ae3c0df/plant-snake.webp -> public/images/plant-snake.webp(虎尾兰;alt 为 'A snake plant in a terracotta pot on a wooden stool in a stripe of window light');https://media.vibefather.ai/assets/dac013c1-6154-4a3c-908e-5bc13ae3c0df/plant-calathea.webp -> public/images/plant-calathea.webp(肖竹芋;alt 为 'A round-leaved striped calathea in dappled window light');https://media.vibefather.ai/assets/dac013c1-6154-4a3c-908e-5bc13ae3c0df/plant-palm.webp -> public/images/plant-palm.webp(袖珍椰子;alt 为 'A feathery parlor palm on a wooden shelf');https://media.vibefather.ai/assets/dac013c1-6154-4a3c-908e-5bc13ae3c0df/plant-peperomia.webp -> public/images/plant-peperomia.webp(西瓜皮椒草;alt 为 'A small striped-leaf peperomia in a clay pot on a windowsill')。在 ASSETS.md 中为每张图片注明:'Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.'
- 图标(icon):仅使用 lucide-react:Sun、CloudSun、Moon、PawPrint、Droplets、Droplet、BellOff、Sprout、Wind、Bike、Heart、Check、MapPin、Clock、Phone、ArrowRight。描边宽度为 2,尺寸为 16-24px,颜色继承。字标中的花盆图形和 favicon 是用代码绘制的 SVG。不使用其他图标集。
- 字体(font):@fontsource/baloo-2(600、700)和 @fontsource/nunito(400、600、700),在 src/fonts.ts 中导入,以便 Vite 将 woff2 文件打包进 dist/。切勿从 CDN 加载字体。

## 不要做
- 不要后端、不要 API、不要表单提交、不要下单:购买和心愿单操作只保存到 localStorage,文案要说明这是演示列表。
- 不要真实的植物商店、配送品牌或植物营养品牌;店名、植物名称和价格都是虚构的。
- 养护建议保持为通用示例指导——不做植物学保证,不诊断植物问题,不宣称农药或肥料功效。
- 照片只展示盆栽植物和店铺细节——不出现人物,不出现可读的植物标签,不出现 logo。
- 不出现日历日期,不出现实时时钟:配送日固定为周二至周六的模式,营业时间固定为示例字符串;网站永远不显示今天的日期。
- plant.html 不带查询参数时显示第一株植物,绝不出现空状态或未找到状态。
- 一切自托管:字体通过 Fontsource,图标通过 lucide-react,图片下载到 public/images/——不用 CDN 标签,不用分析工具。
- 静态构建:压缩,不生成 source map,dist/ 中不含 src/,一条命令 npm run build,多页面输出,dist/ 中有真实的 plant.html,总体积小于 20 MB。
- 每个内部链接都指向一个文件(./index.html#plants、./plant.html?id=…);绝不指向裸目录。
- 尊重 prefers-reduced-motion:测验、弹簧动画和布局动画变为即时完成。
- 在 1440×900 和 390×844 下正常工作,控制台零报错;筛选、测验、花盆搭配和心愿单仅用键盘即可操作,并有可见的陶土色焦点环。
- 除带 [BRAND] 的普通 title 外,不做任何 SEO 机制;网站内绝不提及 VibeFather 或任何真实品牌;所有文案都是虚构的美式英语,存放在 src/content.ts 中。

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

个人项目可免费使用(CC BY-NC 4.0)。 商业用途需要 Pro.

DESIGN.md

单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。

---
name: "Plant Shop Website"
colors:
  cream: "#FBF4E4"
  white: "#FFFFFF"
  leaf: "#2F5D3E"
  leaf_deep: "#234931"
  clay: "#C4704B"
  clay_soft: "#F2E0D2"
  bark: "#6D5F4E"
  ink: "#2C2A24"
  rule: "#E8DEC9"
typography:
  display_wordmark_h1_h2_plant_names_quiz_question_baloo_2_rounded_chunky_sentence_case_line_height_1_15: { family: "Baloo 2", weights: [600, 700] }
  text_body_care_lines_buttons_600_for_labels_captions: { family: "Nunito", weights: [400, 600, 700] }
spacing: "Friendly and airy: 104px desktop section rhythm (64px mobile), 1200px container, 28px side padding. Grid gap 24px; product page 6/6 split with a 48px gutter."
radius: "Rounded like the shop: 20px on cards and the quiz panel, 999px on chips, buttons and badges, 16px on images."
---

# Plant Shop Website — Design System

Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.

## Colors
- **Cream** `#FBF4E4` — Page ground everywhere — warm cream, sun-washed.
- **White** `#FFFFFF` — Cards, the quiz panel, care cards — clean but warm against the cream.
- **Leaf** `#2F5D3E` — Primary green: headings, buttons, links, the filled heart on wishlist.
- **Leaf Deep** `#234931` — Green hover and pressed state.
- **Clay** `#C4704B` — Terracotta accent: prices, the pet-safe paw badge, quiz progress, focus ring, tag chips.
- **Clay Soft** `#F2E0D2` — Chip and badge fills, the delivery-note band, selected filter states.
- **Bark** `#6D5F4E` — Secondary text: eyebrows, captions, care-guide body.
- **Ink** `#2C2A24` — Primary text on light grounds.
- **Rule** `#E8DEC9` — 1px hairlines: card borders, footer divider, filter underline.

## Typography
- **Display — wordmark, H1, H2, plant names, quiz question. Baloo 2, rounded chunky, sentence case, line-height 1.15** — Baloo 2 (OFL), weights 600/700. Self-host the font files.
- **Text — body, care lines, buttons (600 for labels), captions** — Nunito (OFL), weights 400/600/700. Self-host the font files.

## Spacing & shape
- Spacing: Friendly and airy: 104px desktop section rhythm (64px mobile), 1200px container, 28px side padding. Grid gap 24px; product page 6/6 split with a 48px gutter.
- Radius: Rounded like the shop: 20px on cards and the quiz panel, 999px on chips, buttons and badges, 16px on images.

## Motion
- Gentle, never fast: reveals fade and rise 16px over 450ms with 70ms stagger; mobile shortens to 350ms.
- Filtering re-flows the grid with Motion layout animations at 320ms so plants glide, not jump.
- Quiz steps crossfade with a small 12px slide at 320ms; the result card rises 16px with a soft spring (stiffness 200, damping 22).
- Wishlist heart pops once (scale 1 to 1.2 to 1, 300ms) when saved; pot-pairing selection bounces the price at the same spring.
- prefers-reduced-motion: every animation becomes an instant state change.

## Imagery
One sunny shoot: every photograph is a live plant in an unglazed terracotta (or pale wood) pot in bright soft window light, cream walls, gentle leaf shadows, pale wood floors and shelves. 50mm eye-level, warm and airy. No people, no readable plant tags, no logos.

## Tone
Friendly neighborhood expert: warm, specific, a little green-thumbed humor. Never botanical Latin for its own sake, never preachy.

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

改成你自己的

  • 盆景种植者:将 BRAND 设为你的工作室,把六种室内植物换成你的树木,并重写养护卡片中的盘扎、浇水和换盆节奏。
  • 农贸市场的香草卖家:保留光照和宠物安全筛选,把植物网格换成烹饪香草,并用 DELIVERY_RADIUS 设置本地送货区域。
  • 开设工作坊的园艺工作室:把课程日期加到养护指南卡片中,并将 SIGNER 设为签署结尾说明的讲师。
  • 新手植物父母的礼品店:保留找植物问答,将 CITY 和 DELIVERY_RADIUS 设为收礼人所在区域,并把愿望清单链接到礼品清单。

植物店网站:常见问题

植物店网站上的光照、养护和宠物安全筛选是如何工作的?

植物店网站上的植物网格可同时按三项筛选:光照需求(明亮、中等或低)、养护难度(简单或中等)和宠物安全。选择筛选条件后,网格会通过柔和的 Motion 布局动画重新排列,植物滑入位置而不是跳变。宠物安全筛选是猫狗主人最先使用的,每个植物页面都会重复说明该植物是否适合带回家。

怎么用 AI 做一个植物店网站?

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