用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
生活方式笔记社区是为创作者、品味引领者和社区建设者打造的完整、图片优先的社交浏览体验。它将温暖的编辑式信息流、沉浸式笔记页面和创作者个人资料整合在一个静态 React 构建中。默认世界遵循一个虚构的慢生活出版物,包含关于晨间仪式、阅读角落、陶艺、美食和阳台园艺的具体笔记。每个视图都使用虚构的人物和对话。
视觉系统将柔和的纸张色调与鼠尾草绿和陶土色点缀相结合,使用富有表现力的 Fraunces 标题和实用的 DM Sans 界面文字。多样的瀑布流网格保持信息流的视觉性,同时不牺牲有用的元数据。标签筛选和本地搜索重塑内容集合,而点赞、收藏、关注和新评论会立即响应并持久保存在访客设备上。笔记页面包括键盘和滑动友好的轮播、可读的长文内容、相关标签和可用的评论区。在个人资料页,笔记和收藏标签为创作者提供了一个可信赖的家园,既包含单篇帖子也包含精选分组。
调整五个变量即可更改品牌、主题、受众、标语和特色创作者;所有笔记、评论、筛选和行动号召都存放在一个内容文件中,因此整个语气可以随之改变。六张协调生成的摄影图片已本地下载,开放许可字体和 Lucide 图标已打包在构建中。它适合生活方式出版物、创作者社区、会员制概念和作品集实验,这些场景需要真实产品的感觉而无需后端设置。完成的网站具有响应式、触控友好、支持减少动态效果,并可作为静态文件部署。桌面和移动布局共享相同的内容层级,因此筛选、阅读、保存和个人资料浏览在不同屏幕尺寸下保持连贯。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Lifestyle Notes Community Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else. ## Brief Build [BRAND], an original English-language lifestyle notes community centered on [NICHE] for [AUDIENCE]. The product is a polished three-page static web app: a masonry discovery feed at index.html, an immersive note detail at note.html, and a featured creator profile at profile.html. The default brand is Morrow & Moss and its editorial promise is 'Small rituals, beautifully shared.' Every screen must feel populated, intentional, and usable rather than like a marketing mockup. - Audience: Creators, independent publishers, designers, and community builders who want an image-led notes product for [AUDIENCE], with realistic content and social interactions that work entirely in the browser. - Goal: Let visitors discover visual notes, filter and search them, open a complete note, swipe through its photography, react and comment, then continue to the featured creator's notes and collections. Keep all content swappable through five variables while preserving the same layout and interaction model. - Tone: Warm, observant, specific, and quietly optimistic. Write like thoughtful people sharing useful details from daily life, never like an engagement farm. Use concise US English, invented names, original conversations, and no claims about real users or online activity. ## Stack - Framework: Vite 5 + React 18 + TypeScript - Styling: Tailwind CSS 3.4 - Libraries: Vite 5 (MIT), React 18 (MIT), Tailwind CSS 3.4 (MIT), Motion (MIT), lucide-react (ISC), @fontsource-variable/fraunces (OFL-1.1), @fontsource-variable/dm-sans (OFL-1.1) - Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs. - Setup: - Configure Vite with base './', build.sourcemap false, and three explicit HTML entry points: index.html, note.html, and profile.html. Each HTML file loads its own small React entry that shares components and content. - Use Tailwind for layout and state styling, with the supplied colors, spacing, radii, and font families in the theme. Add only a small global stylesheet for base typography, masonry columns, focus states, and reduced-motion overrides. - Put all variable values, navigation labels, notes, creator bios, tags, comments, collections, image paths, alt text, and calls to action in src/content.ts. Rewrite every content item to suit changed variable values; do not leave slow-living copy in an alternate case. - Create shared TypeScript models and a small localStorage store whose key is derived from a slug of [BRAND]. Persist likes, saves, follows, added comments, and selected creator tab locally; sample counts and conversations are fictional and never fetched. - Import Fraunces Variable and DM Sans Variable from their Fontsource packages and use Lucide React icons. Bundle all six supplied images from public/images; no remote fonts, icons, scripts, or images. - Use shared accessible buttons, visible keyboard focus, descriptive labels, and a skip link. Support 1440×900 and 390×844 without overflow, provide touch targets of at least 44px, and honor prefers-reduced-motion. ## Variables - [BRAND] — Community name (default: "Morrow & Moss"). An invented two- or three-word lifestyle community name. - [NICHE] — Community focus (default: "slow living and thoughtful homes"). The subject shared by all notes and collections. - [AUDIENCE] — Audience (default: "people creating calmer, more personal spaces"). The people this community is meant to serve. - [TAGLINE] — Editorial promise (default: "Small rituals, beautifully shared."). A short original sentence used as the discovery-page headline. - [CREATOR_NAME] — Featured creator (default: "Maya Ellison"). An invented creator whose profile, notes, and collections are featured. - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/lifestyle-notes-community in the footer (default: yes; delete this line to remove it) The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described. Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components. ## Design ### Colors - Paper `#F7F3EC` — Page background and primary text on dark buttons - Surface `#FFFCF7` — Cards, carousel controls, and input surfaces - Ink `#24251F` — Headings, body text, and dark primary buttons - Sage `#56604D` — Active filters, follow states, links, and quiet accents - Terracotta `#C96F4A` — Likes, small decorative marks, and image accents; never small text on Paper - Sand `#E3DACD` — Borders, dividers, and inactive controls - Muted `#6F7168` — Secondary text and metadata ### Typography - Display and note titles: Fraunces Variable (OFL), weights 400/500/600 - Interface, body, and metadata: DM Sans Variable (OFL), weights 400/500/600/700 ### Layout & motion - Spacing: Use an 8px base grid with a 1360px maximum content width, 40px desktop gutters, 20px mobile gutters, and a 72px desktop header. The discovery hero is a 5/7-column split with 48px between columns, 56px top padding, and 40px bottom padding. Feed cards have 20px text blocks and 28px masonry gaps. Note reading copy is capped at 640px. Mobile uses 24px section gaps and a 64px bottom navigation clearance. - Radius: Use 20px for feature and note cards, 16px for image frames and inputs, 12px for small buttons, and full pills for tags and counters. Keep shadows minimal: 0 12px 36px rgba(36,37,31,0.08) only on the floating carousel controls and mobile navigation. - Motion: On first load, fade the hero copy and feature image in over 420ms with a 12px upward offset and a 70ms stagger; do not animate again when returning to the page. - Motion: Use Motion layout animations for masonry filter and search changes, 260ms with easing [0.22,1,0.36,1], while preserving document reading order and focus. - Motion: Move carousel slides horizontally with a 280ms ease-out transition; support pointer swipe with a 45px threshold, touch swipe, arrow buttons, dots, and left/right keyboard keys without autoplay. - Motion: Give like and save controls a 160ms icon fill and 0.92-to-1 scale response, and animate follow-state text with a simple 160ms crossfade. - Motion: Use 180ms fade-and-8px-rise transitions between Notes and Collections and for locally added comments. Disable transforms and smooth scrolling when reduced motion is requested. - Imagery: Use only the six coordinated local editorial lifestyle photographs listed in assets: morning-table.webp, reading-corner.webp, ceramic-hands.webp, kitchen-ritual.webp, balcony-garden.webp, and creator-portrait.webp. They share warm ivory, muted sage, terracotta, and caramel tones, soft window light, natural grain, and tactile unstyled imperfection. Reuse them deliberately across notes and collection collages with stable aspect-ratio containers and focal-point crops rather than stretching. The featured creator portrait is an entirely fictional adult and must not resemble a real individual. No readable packaging, text, logos, recognizable brands, landmarks, celebrities, or real people's likenesses. Every image gets content-specific US English alt text from src/content.ts; decorative duplicates use empty alt text. ## Pages & Sections ### Discover notes (`index.html`) 1. **Shared shell and navigation** — Use a typographic [BRAND] wordmark with no copied emblem, linking to ./index.html. Desktop navigation contains Discover (./index.html), Collections (./profile.html?tab=collections), Saved (./index.html?view=saved), a Search button that focuses the feed search field, and the featured creator portrait linking to ./profile.html. Add a skip link to the main content. Reuse this shell on note.html and profile.html. At 390px, keep only the wordmark and portrait in the top bar and add fixed bottom navigation for Discover, Saved, Collections, and Profile; the active item uses Sage and a small filled indicator. Layout: Sticky 72px top bar with a translucent Paper background, subtle Sand bottom border, and 1360px centered inner row. Desktop links sit right with 28px gaps. Mobile bottom navigation is a four-column Surface bar with safe-area padding and 44px targets. Motion: Navigation state changes use a 160ms color transition; no sticky-header movement. 2. **Editorial discovery hero** — Left eyebrow: 'A COMMUNITY FOR [NICHE]'. H1 exactly [TAGLINE], default 'Small rituals, beautifully shared.' Supporting copy: 'Unhurried notes about rooms, rituals, and the objects that make a day feel like yours.' Primary button 'Explore today's notes' scrolls to the filters; secondary text link 'Meet [CREATOR_NAME]' opens ./profile.html. Right feature is the note 'The five-minute reset that saved my mornings' by [CREATOR_NAME], labeled 'NOTE OF THE DAY', linking to ./note.html?id=morning-reset and using morning-table.webp. The first viewport must show a substantial photographic anchor, not typography alone. Layout: Desktop 12-column grid: five columns of copy aligned center-left and seven columns for a 4:3 image card. Place the note title in a Surface panel overlapping the image bottom-left by 24px, with author and 1,284 likes beneath. On mobile stack copy first with a 40px Fraunces H1, then the full-width image and a non-overlapping caption. Motion: Apply only the specified first-load stagger and a gentle image scale from 1.02 to 1 on entry; disable both for reduced motion. 3. **Tag filters and local search** — Heading 'Find your next small inspiration' and live result count. Filter pills are All notes, Slow Living, Home, Food, Craft, and Wellness. Search placeholder 'Search notes, creators, or tags'. Selecting a tag filters immediately, updates aria-pressed, and writes ?tag= to the URL without reloading. Search filters title, creator, excerpt, and tags locally. ?view=saved replaces the heading with 'Your saved notes' and shows only saved items; if none, show 'Notes you save will gather here.' and a working 'Discover notes' reset button. Clear filters appears only when needed. Layout: A 64px high filter row below the hero, with horizontally scrollable pills and a 280px search field at the right on desktop. On mobile, search occupies its own full-width row and pills scroll below it without clipping. Motion: Animate result layout for 260ms and crossfade the count; do not delay actual filtering. 4. **Masonry notes feed** — Populate nine original default notes with exact titles and like counts: 'The five-minute reset that saved my mornings' — Maya Ellison — Slow Living — 1,284; 'A reading corner that finally gets used' — Theo Bennett — Home — 946; 'What my first pottery class taught me' — Lena Ortiz — Craft — 731; 'A softer start: citrus, mint, and ten quiet minutes' — Maya Ellison — Food — 1,102; 'The six-pot balcony garden' — Jun Park — Home — 854; 'A linen table for doing absolutely nothing' — Maya Ellison — Slow Living — 669; 'Three small objects that make a room feel yours' — Theo Bennett — Home — 512; 'The no-recipe weekend lunch I keep repeating' — Lena Ortiz — Food — 988; 'Before the messages: a morning on the balcony' — Jun Park — Wellness — 1,476. Assign the listed local photographs logically, vary 4:3, 3:4, and 1:1 covers, and give each a one-sentence original excerpt. Image and title link to ./note.html?id=<note-id>. Heart and bookmark buttons toggle local state and update counts without opening the note. Secondary creator initials are acceptable in the feed; the featured profile uses the generated portrait. Layout: Use CSS columns for a true three-column masonry feed at desktop, two at tablet, and one at 390px. Cards remain inline-block with 28px column and row gaps. Keep image and title links separate from action buttons. Card body contains creator row, 24px Fraunces title, two-line excerpt, tag, like count, and save action. Maintain a sensible DOM order on every breakpoint. Motion: Filter with Motion layout animations; hovering a cover scales it no more than 1.025 over 240ms. Touch and reduced-motion modes remove hover scaling. 5. **Community prompt and footer** — A compact editorial band says 'THIS WEEK'S PROMPT' and 'Show us a corner that helps you exhale.' Supporting copy invites browsing rather than posting: 'See how [CREATOR_NAME] collected quiet corners, useful objects, and slow morning ideas.' CTA 'Explore the collection' opens ./profile.html?tab=collections. Footer contains [BRAND], 'A softer place to share what makes a day.', text links to Discover, Collections, and Profile, and the optional [CREDIT] link. Do not add social icons, fake app-store badges, dates, or external links. Layout: Full-width Sand-tinted band with a 2/1 text-to-button grid and 32px padding, followed by a simple footer with a Sand top border. Stack CTA below copy on mobile. Motion: No reveal animation required; CTA hover uses color only. ### Note detail (`note.html`) 1. **Note carousel and identity** — Read ?id= from the URL and show the matching note; with no id or an unknown id, always show morning-reset. The default carousel uses morning-table.webp, reading-corner.webp, and kitchen-ritual.webp in that order, with unique alt text and a visible '1 / 3' counter. Above the title show 'Slow Living · 5 min read'. H1 is 'The five-minute reset that saved my mornings'. Author row uses creator-portrait.webp, [CREATOR_NAME], and 'Home rituals, secondhand finds, and meals that take their time.' Follow toggles to Following locally and stays synchronized with profile.html. Like and Save controls show current state and count. Layout: After the shared header, a back link 'Back to all notes' opens ./index.html. Desktop main is a 7/5 split with 48px gap: carousel left and sticky identity panel right. Carousel uses a stable 4:5 frame with contain-safe focal crops, previous/next buttons at the sides, and three dots below. Mobile stacks title and author before a full-width 4:3 carousel, followed by actions; all controls remain at least 44px. Motion: Implement swipe, pointer drag, arrow keys, buttons, and dots with the specified 280ms slide transition. Never autoplay; reduced motion switches images instantly. 2. **Rich note body and tags** — Opening paragraph: 'For years, I treated mornings like a race I was already losing. Then I started ending each evening with five quiet minutes of reset—not cleaning the whole home, just giving my future self a softer place to begin.' Add three headed sections. 'Start where your eyes land first' explains clearing only the breakfast table, returning one object to its place, and leaving a cup and current book ready. 'Make the first action easy' describes setting out the kettle, a favorite cup, and a blank journal so there is no searching before tea. 'Stop before it becomes a project' recommends a five-minute timer and leaving the rest untouched. Include the pull quote 'The point is not a perfect room. It is one kind thing waiting for you.' Closing: 'The next morning will still be a morning. It just will not begin with yesterday's clutter.' Tags Slow Living, Home, and Morning link to ./index.html?tag=<tag>. Rewrite this complete narrative for alternate variable values rather than only replacing the title. Layout: Body sits below the carousel in a 640px readable column aligned with its left edge, with 18px body text, 1.75 line height, 32px paragraph spacing, and 34px Fraunces section headings. Pull quote has a 3px Terracotta left rule and 24px Fraunces italic. Tags wrap as pills below. Motion: No scroll-jacking or reveal gates; all article text is visible immediately. 3. **Comments and related notes** — Comments heading includes the count. Seed three original comments: Nora P. — 'The tray by the door is such a small change, but I can see it making mornings calmer.'; Ellis R. — 'I tried the five-minute version while my tea steeped. The clear surface really did change the room.'; Amara K. — 'Saving the one thing back where it belongs rule for tonight.' Use initials avatars, names, and full sentences with no dates. Comment textarea placeholder 'Add something thoughtful...' and button 'Post comment' append a trimmed non-empty comment locally, clear the field, update the count, and persist after reload. Empty submission keeps an inline helpful error. Small note: 'Your reactions and comments stay on this device.' Up next shows three related cards for reading-corner, citrus-mint, and linen-table, each linked to its note.html query. Layout: Desktop comments occupy the same left reading column while a right rail holds Up next as three compact horizontal cards. Mobile uses one column with related cards after comments. Composer is a Surface card with 16px padding and a right-aligned Ink button. Motion: New comments fade and rise 8px over 180ms; no simulated other-user activity or delayed fake posting. ### Creator profile (`profile.html`) 1. **Featured creator introduction** — Show [CREATOR_NAME], default Maya Ellison, with the creator-portrait.webp image and eyebrow 'FEATURED CREATOR'. Bio: 'Collecting quiet corners, useful objects, and recipes worth repeating. I share small ways to make home feel more like your own.' Details read 'Portland, Oregon', '48 notes', '6 collections', and '12.8K followers' as fictional sample content with no dates. Follow button shares state with note.html. A secondary 'View notes' button activates the Notes tab. Rewrite location, counts, bio, and specialty when variables change. Layout: Desktop profile hero is a 3/9 grid inside a Surface card: 240×280 portrait left, text center-left, and follow controls aligned right. Mobile uses a 112×144 portrait above the text and a full-width follow button. Keep the name at 48px desktop and 38px mobile in Fraunces. Motion: Follow text crossfades in 160ms; the portrait remains static. 2. **Notes and Collections tabs** — Two accessible tabs, Notes and Collections, update ?tab= without a page reload and default to Notes unless ?tab=collections. Notes shows six [CREATOR_NAME] notes: the three feed notes morning-reset, citrus-mint, and linen-table plus 'A home for the books I have not read', 'How I choose a secondhand lamp', and 'Sunday soup, without the timetable', reusing reading-corner.webp, ceramic-hands.webp, and kitchen-ritual.webp. Every note opens its working note.html?id= view. Collections shows three cards: 'The gentle reset' — 12 notes — morning-table, reading-corner, balcony-garden; 'Rooms with room to breathe' — 8 notes — reading-corner, ceramic-hands, morning-table; 'A better cup' — 6 notes — kitchen-ritual, morning-table, ceramic-hands. Selecting a collection expands an inline panel with a two-sentence original description and three linked note titles; selecting again collapses it. No card is a dead button. Layout: Tab bar has a Sand bottom border and 44px targets. Notes uses the same three/two/one-column visual grid language as the feed. Collections is a three-column desktop grid and single-column mobile grid; each card has a three-image collage, 28px Fraunces title, count, and expand icon. The inline collection panel spans the grid below the selected card. Motion: Use the specified 180ms tab transition and height/opacity expansion for a collection, with instant reduced-motion states and correct aria-expanded. 3. **Creator note and footer** — Closing strip quotes [CREATOR_NAME]: 'I save notes I want to live with, not just look at.' Add 'Browse the community' linking to ./index.html and repeat the shared simple footer. Do not add contact forms, external social profiles, or unimplemented message buttons. Layout: A centered 720px text block with generous 48px vertical padding, followed by the footer. Keep the closing quote in 30px Fraunces on desktop and 26px on mobile. Motion: None. ## Assets - image: https://media.vibefather.ai/assets/307d2680-aefc-4aa0-acac-c3171ab038d2/morning-table.webp → public/images/morning-table.webp. Alt: 'Linen-covered breakfast table with ceramic tea cups and an open blank journal in warm window light.' Used for the discovery feature, morning-reset carousel, feed cards, and collection collages. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. Download locally and record in ASSETS.md. - image: https://media.vibefather.ai/assets/307d2680-aefc-4aa0-acac-c3171ab038d2/reading-corner.webp → public/images/reading-corner.webp. Alt: 'A soft armchair beside a reading lamp and a small stack of unmarked books.' Used for reading notes, the morning-reset carousel, creator notes, and collections. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. Download locally and record in ASSETS.md. - image: https://media.vibefather.ai/assets/307d2680-aefc-4aa0-acac-c3171ab038d2/ceramic-hands.webp → public/images/ceramic-hands.webp. Alt: 'Hands shaping a small clay bowl on a pottery wheel.' Used for pottery and secondhand-object notes and collection collages. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. Download locally and record in ASSETS.md. - image: https://media.vibefather.ai/assets/307d2680-aefc-4aa0-acac-c3171ab038d2/kitchen-ritual.webp → public/images/kitchen-ritual.webp. Alt: 'Ceramic kettle, citrus, and herbs arranged on a wooden kitchen counter.' Used for food and morning-ritual notes, the default carousel, and A better cup collection. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. Download locally and record in ASSETS.md. - image: https://media.vibefather.ai/assets/307d2680-aefc-4aa0-acac-c3171ab038d2/balcony-garden.webp → public/images/balcony-garden.webp. Alt: 'A small balcony garden with terracotta pots and a folded throw over a wooden stool.' Used for balcony and wellness notes and The gentle reset collection. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. Download locally and record in ASSETS.md. - image: https://media.vibefather.ai/assets/307d2680-aefc-4aa0-acac-c3171ab038d2/creator-portrait.webp → public/images/creator-portrait.webp. Alt: 'A creator seated beside a bright window in a warm, plant-filled room.' Used for the featured creator's profile, header avatar, and default note author row. The person is entirely fictional and does not resemble any real individual. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template. Download locally and record in ASSETS.md. - font: Self-host Fraunces Variable through @fontsource-variable/fraunces and DM Sans Variable through @fontsource-variable/dm-sans, both OFL-1.1. Import locally in the app, list packages and license in ASSETS.md, and never use a font CDN. - icon: Use locally bundled lucide-react icons (ISC) for Search, Heart, Bookmark, ArrowLeft, ArrowRight, ChevronLeft, ChevronRight, Plus, Check, Home, User, Grid2X2, and Send. Do not draw or import any existing community platform's icons; list Lucide and its license in ASSETS.md. ## Don'ts - Do not use any existing lifestyle or social platform's name, logo, mascot, slogan, exact palette, custom font, unique iconography, code, copy, photography, or signature interface composition. - Do not use real people's likenesses, celebrities, licensed characters, recognizable product branding, readable packaging, or third-party logos. The generated creator must remain an explicitly fictional person. - Do not add a backend, authentication, database, API routes, third-party APIs, analytics, real posting, remote comments, or network-dependent social counts. All interactions and persistence must be honest browser-only behavior. - Do not hotlink assets or load scripts, fonts, icons, or images from CDNs. Do not use Unsplash, Pexels, Pixabay, placeholder-image services, restricted component source, or non-permissive dependencies. - Do not use commercial fonts or external font services; ship only the specified self-hosted OFL Fontsource families. - Do not leave placeholder copy, lorem ipsum, slow-living remnants in an alternate case, empty detail views, dead buttons, nonfunctional tabs, or unimplemented navigation. note.html without a valid id must show morning-reset. - Do not use bare-directory links, client-only routes that break on static hosting, source maps, copied src directories, or absolute production asset paths. Use ./index.html, ./note.html, and ./profile.html with relative assets and Vite base './'. - Do not display dates, fabricated live-status indicators, online-member claims, or engagement numbers presented as real activity. All people, conversations, and counts are fictional sample content. - Do not make the first screen typography-only, replace the photographic feed with generic cards, add autoplay to the carousel, or hide article content behind scroll animations. - Do not exceed 20 MB in dist/, ignore mobile touch gestures or keyboard controls, allow horizontal overflow at 390px, or ship console errors. Respect prefers-reduced-motion throughout. - Do not mention VibeFather inside the product except the optional [CREDIT] footer link. Keep all site copy, sample data, labels, and alt text in US English. --- — Prompt by VibeFather · https://vibefather.ai/t/lifestyle-notes-community · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 生活方式笔记社区(Lifestyle Notes Community) 请完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。 ## 简介 构建 [BRAND],一个原创的英文生活方式笔记社区,聚焦于 [NICHE],面向 [AUDIENCE]。该产品是一个精致的三页静态 Web 应用:index.html 上的瀑布流发现信息流、note.html 上的沉浸式笔记详情页,以及 profile.html 上的特色创作者个人主页。默认品牌是 Morrow & Moss,其编辑承诺是“Small rituals, beautifully shared.”。每个屏幕都必须感觉内容充实、有意为之且可用,而不是像营销样稿。 - 受众:创作者、独立出版人、设计师和社区建设者,他们想要一个以图片为主导的笔记产品,面向 [AUDIENCE],并具备完全在浏览器中运行的真实内容和社交互动。 - 目标:让访客发现视觉笔记、筛选和搜索它们、打开一篇完整笔记、滑动浏览其摄影图片、进行反应和评论,然后继续前往特色创作者的笔记和收藏。通过五个变量保持所有内容可替换,同时保留相同的布局和交互模型。 - 语气:温暖、善于观察、具体,并带着安静的乐观。像有思想的人分享日常生活中的有用细节那样写作,绝不要像参与度农场。使用简洁的美式英语、虚构的名字、原创对话,并且不对真实用户或在线活动作出任何声称。 ## 技术栈 - 框架:Vite 5 + React 18 + TypeScript - 样式:Tailwind CSS 3.4 - 库:Vite 5(MIT)、React 18(MIT)、Tailwind CSS 3.4(MIT)、Motion(MIT)、lucide-react(ISC)、@fontsource-variable/fraunces(OFL-1.1)、@fontsource-variable/dm-sans(OFL-1.1) - 构建:`npm run build` → `dist/` 中的静态文件。无后端、无服务器代码、无外部 API。 - 设置: - 配置 Vite,base 设为 './',build.sourcemap 设为 false,并设置三个显式 HTML 入口点:index.html、note.html 和 profile.html。每个 HTML 文件加载各自的小型 React 入口,共享组件和内容。 - 使用 Tailwind 进行布局和状态样式,主题中使用提供的颜色、间距、圆角和字体系列。仅添加一个小型全局样式表,用于基础排版、瀑布流列、焦点状态和减少动态效果覆盖。 - 将所有变量值、导航标签、笔记、创作者简介、标签、评论、收藏、图片路径、替代文本和行动号召放入 src/content.ts。重写每个内容项以适应变更后的变量值;不要在其他情况下保留慢生活文案。 - 创建共享 TypeScript 模型和一个小型 localStorage 存储,其键由 [BRAND] 的 slug 派生。在本地持久化点赞、收藏、关注、添加的评论和选定的创作者标签页;示例计数和对话是虚构的,从不获取。 - 从 Fontsource 包导入 Fraunces Variable 和 DM Sans Variable,并使用 Lucide React 图标。打包 public/images 中提供的全部六张图片;不使用远程字体、图标、脚本或图片。 - 使用共享的可访问按钮、可见的键盘焦点、描述性标签和跳过链接。支持 1440×900 和 390×844 且无溢出,提供至少 44px 的触摸目标,并遵循 prefers-reduced-motion。 ## 变量 - [BRAND] — 社区名称(默认:“Morrow & Moss”)。一个虚构的两到三个词的生活方式社区名称。 - [NICHE] — 社区焦点(默认:“slow living and thoughtful homes”)。所有笔记和合集共同围绕的主题。 - [AUDIENCE] — 受众(默认:“people creating calmer, more personal spaces”)。这个社区旨在服务的人群。 - [TAGLINE] — 编辑承诺(默认:“Small rituals, beautifully shared.”)。一句简短的原创句子,用作发现页的标题。 - [CREATOR_NAME] — 精选创作者(默认:“Maya Ellison”)。一位虚构的创作者,其个人资料、笔记和合集会被重点展示。 - [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接,指向 https://vibefather.ai/t/lifestyle-notes-community(默认:是;删除此行即可移除) 页面与区块下的文案是为默认值编写的。如果你的值不同,请为它们重写每一个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。 将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便之后无需改动组件即可替换内容。 ## 设计 ### 颜色(Colors) - 纸色(Paper)`#F7F3EC` — 页面背景和深色按钮上的主文本 - 表面色(Surface)`#FFFCF7` — 卡片、轮播控件和输入框表面 - 墨色(Ink)`#24251F` — 标题、正文文本和深色主按钮 - 鼠尾草绿(Sage)`#56604D` — 激活的筛选器、关注状态、链接和低调点缀 - 陶土色(Terracotta)`#C96F4A` — 点赞、小型装饰标记和图片点缀;切勿在纸色背景上用于小号文本 - 沙色(Sand)`#E3DACD` — 边框、分隔线和未激活控件 - 柔和色(Muted)`#6F7168` — 次要文本和元数据 ### 字体排印 - 展示标题和笔记标题:Fraunces Variable(OFL),字重 400/500/600 - 界面、正文和元数据:DM Sans Variable(OFL),字重 400/500/600/700 ### 布局与动效 - 间距:使用 8px 基础网格,内容最大宽度 1360px,桌面端边距 40px,移动端边距 20px,桌面端页头高度 72px。发现页主视觉采用 5/7 栏分割,栏间距 48px,顶部内边距 56px,底部内边距 40px。信息流卡片的文本块间距为 20px,瀑布流间隙为 28px。笔记阅读正文宽度上限为 640px。移动端使用 24px 区块间距和 64px 底部导航避让空间。 - 圆角:特色卡片和笔记卡片使用 20px,图片框和输入框使用 16px,小按钮使用 12px,标签和计数器使用全圆角胶囊形。阴影保持极简:仅在浮动轮播控件和移动端导航上使用 0 12px 36px rgba(36,37,31,0.08)。 - 动效:首次加载时,主视觉文案和特色图片在 420ms 内淡入,向上偏移 12px,错峰 70ms;返回页面时不再播放动画。 - 动效:瀑布流筛选和搜索变化使用 Motion 布局动画,时长 260ms,缓动为 [0.22,1,0.36,1],同时保持文档阅读顺序和焦点。 - 动效:轮播幻灯片以 280ms ease-out 过渡水平移动;支持指针滑动(阈值 45px)、触摸滑动、箭头按钮、圆点指示器和左右键盘按键,不自动播放。 - 动效:点赞和收藏控件获得 160ms 的图标填充和 0.92 到 1 的缩放响应,关注状态文本以简单的 160ms 交叉淡入淡出动画过渡。 - 动效:在笔记(Notes)和收藏集(Collections)之间切换以及本地添加评论时,使用 180ms 淡入和 8px 上移动画。当请求减少动态效果时,禁用变换和平滑滚动。 - 图像:仅使用 assets 中列出的六张协调的本地编辑风格生活方式照片:morning-table.webp、reading-corner.webp、ceramic-hands.webp、kitchen-ritual.webp、balcony-garden.webp 和 creator-portrait.webp。它们共享温暖的象牙色、柔和的鼠尾草绿、陶土色和焦糖色调,柔和的窗光,自然的颗粒感,以及触感自然、不加修饰的瑕疵感。在笔记和收藏集拼贴中有意重复使用这些图片,采用稳定的宽高比容器和焦点裁剪,而非拉伸。特色创作者肖像为完全虚构的成年人,不得与任何真实人物相似。不得出现可读的包装、文字、标志、可识别的品牌、地标、名人或真实人物的肖像。每张图片都从 src/content.ts 获取针对内容定制的美式英语 alt 文本;装饰性重复图片使用空 alt 文本。 ## 页面与区块 ### 发现笔记(`index.html`) 1. **共享外壳与导航** — 使用排版式 [BRAND] 字标,不复制徽标,链接到 ./index.html。桌面导航包含发现(./index.html)、收藏集(./profile.html?tab=collections)、已保存(./index.html?view=saved)、一个聚焦信息流搜索框的搜索按钮,以及链接到 ./profile.html 的精选创作者头像。为主内容添加跳转链接。在 note.html 和 profile.html 上复用此外壳。在 390px 宽度下,顶栏仅保留字标和头像,并添加固定底部导航,包含发现、已保存、收藏集和个人主页;激活项使用 Sage(鼠尾草绿)和一个小型实心指示器。 布局:粘性 72px 顶栏,半透明 Paper(纸色)背景,微妙的 Sand(沙色)底边框,1360px 居中内行。桌面链接靠右排列,间距 28px。移动端底部导航为四列 Surface(表面色)栏,带安全区内边距和 44px 触控目标。 动效:导航状态变化使用 160ms 颜色过渡;粘性头部不移动。 2. **编辑式发现主视觉** — 左侧眉题:'A COMMUNITY FOR [NICHE]'。H1 精确为 [TAGLINE],默认 'Small rituals, beautifully shared.'。辅助文案:'Unhurried notes about rooms, rituals, and the objects that make a day feel like yours.'。主按钮 'Explore today's notes' 滚动到筛选器;次级文本链接 'Meet [CREATOR_NAME]' 打开 ./profile.html。右侧特色为 [CREATOR_NAME] 的笔记 'The five-minute reset that saved my mornings',标注 'NOTE OF THE DAY',链接到 ./note.html?id=morning-reset,使用 morning-table.webp。首屏必须展示实质性的摄影锚点,而非仅排版。 布局:桌面 12 列网格:五列文案居中对齐偏左,七列用于 4:3 图片卡片。将笔记标题置于 Surface 面板中,与图片左下角重叠 24px,下方为作者和 1,284 次点赞。移动端先堆叠文案,使用 40px Fraunces H1,然后全宽图片和不重叠的说明文字。 动效:仅应用指定的首次加载交错动画和进入时从 1.02 到 1 的轻微图片缩放;减少动效模式下禁用两者。 3. **标签筛选与本地搜索** — 标题 'Find your next small inspiration' 和实时结果计数。筛选胶囊为 All notes、Slow Living、Home、Food、Craft 和 Wellness。搜索占位符 'Search notes, creators, or tags'。选择标签立即筛选,更新 aria-pressed,并将 ?tag= 写入 URL 而不重新加载。搜索在本地筛选标题、创作者、摘要和标签。?view=saved 将标题替换为 'Your saved notes' 并仅显示已保存项;若无,则显示 'Notes you save will gather here.' 和可用的 'Discover notes' 重置按钮。仅在需要时显示清除筛选。 布局:主视觉下方 64px 高筛选行,胶囊可水平滚动,桌面右侧 280px 搜索框。移动端搜索占据独立全宽行,胶囊在其下方滚动且不被裁剪。 动效:结果布局动画 260ms,计数交叉淡入淡出;不延迟实际筛选。 4. **瀑布流笔记信息流** — 填充九条原创默认笔记,含精确标题和点赞数:'The five-minute reset that saved my mornings' — Maya Ellison — Slow Living — 1,284;'A reading corner that finally gets used' — Theo Bennett — Home — 946;'What my first pottery class taught me' — Lena Ortiz — Craft — 731;'A softer start: citrus, mint, and ten quiet minutes' — Maya Ellison — Food — 1,102;'The six-pot balcony garden' — Jun Park — Home — 854;'A linen table for doing absolutely nothing' — Maya Ellison — Slow Living — 669;'Three small objects that make a room feel yours' — Theo Bennett — Home — 512;'The no-recipe weekend lunch I keep repeating' — Lena Ortiz — Food — 988;'Before the messages: a morning on the balcony' — Jun Park — Wellness — 1,476。合理分配所列本地照片,变化 4:3、3:4 和 1:1 封面,并为每条提供一句原创摘要。图片和标题链接到 ./note.html?id=<note-id>。心形和书签按钮切换本地状态并更新计数,不打开笔记。信息流中可使用次级创作者首字母;精选个人主页使用生成的头像。 布局:桌面使用 CSS 列实现真正的三列瀑布流信息流,平板两列,390px 一列。卡片保持 inline-block,列间距和行间距 28px。图片和标题链接与操作按钮分开。卡片主体包含创作者行、24px Fraunces 标题、两行摘要、标签、点赞数和保存操作。在每个断点保持合理的 DOM 顺序。 动效:使用 Motion 布局动画筛选;悬停封面缩放不超过 1.025,持续 240ms。触控和减少动效模式移除悬停缩放。 5. **社区提示与页脚** — 紧凑编辑式横幅显示 'THIS WEEK'S PROMPT' 和 'Show us a corner that helps you exhale.'。辅助文案邀请浏览而非发布:'See how [CREATOR_NAME] collected quiet corners, useful objects, and slow morning ideas.'。CTA 'Explore the collection' 打开 ./profile.html?tab=collections。页脚包含 [BRAND]、'A softer place to share what makes a day.'、指向发现、收藏集和个人主页的文本链接,以及可选的 [CREDIT] 链接。不要添加社交图标、虚假应用商店徽章、日期或外部链接。 布局:全宽 Sand 色调横幅,2/1 文本对按钮网格,32px 内边距,后接带 Sand 顶边框的简单页脚。移动端 CTA 堆叠在文案下方。 动效:无需显现动画;CTA 悬停仅使用颜色。 ### 笔记详情(`note.html`) 1. **笔记轮播与身份信息** — 从 URL 中读取 ?id= 并显示匹配的笔记;没有 id 或 id 未知时,始终显示 morning-reset。默认轮播按顺序使用 morning-table.webp、reading-corner.webp 和 kitchen-ritual.webp,配有唯一的 alt 文本和可见的“1 / 3”计数器。标题上方显示“Slow Living · 5 min read”。H1 为“The five-minute reset that saved my mornings”。作者行使用 creator-portrait.webp、[CREATOR_NAME] 和“Home rituals, secondhand finds, and meals that take their time.”。关注按钮在本地切换为 Following,并与 profile.html 保持同步。点赞和收藏控件显示当前状态和计数。 布局:在共享页头之后,一个返回链接“Back to all notes”打开 ./index.html。桌面端主区域为 7/5 分栏,间距 48px:轮播在左,粘性身份面板在右。轮播使用稳定的 4:5 画框,采用 contain-safe 焦点裁剪,两侧有上一张/下一张按钮,下方有三个圆点。移动端将标题和作者堆叠在全宽 4:3 轮播之前,随后是操作按钮;所有控件保持至少 44px。 动效:实现滑动、指针拖拽、方向键、按钮和圆点,使用指定的 280ms 滑动过渡。绝不自动播放;减少动态效果时图片即时切换。 2. **富文本笔记正文与标签** — 开头段落:“For years, I treated mornings like a race I was already losing. Then I started ending each evening with five quiet minutes of reset—not cleaning the whole home, just giving my future self a softer place to begin.” 添加三个带标题的章节。“Start where your eyes land first”说明只清理早餐桌、将一件物品放回原位,并留下一只杯子和当前在读的书。“Make the first action easy”描述摆好水壶、一只喜爱的杯子和一本空白日记,这样泡茶前无需寻找。“Stop before it becomes a project”建议使用五分钟计时器,其余部分保持不动。包含引用语“The point is not a perfect room. It is one kind thing waiting for you.”。结尾:“The next morning will still be a morning. It just will not begin with yesterday's clutter.”。标签 Slow Living、Home 和 Morning 链接到 ./index.html?tag=<tag>。针对变化的变量值重写这整段叙述,而不仅仅是替换标题。 布局:正文位于轮播下方,在 640px 可读栏内,与其左边缘对齐,正文 18px,行高 1.75,段落间距 32px,章节标题 34px Fraunces。引用语有 3px Terracotta 左边线和 24px Fraunces 斜体。标签在下方以胶囊形式换行排列。 动效:无滚动劫持或显现门控;所有文章文本立即可见。 3. **评论与相关笔记** — 评论标题包含计数。预置三条原创评论:Nora P. —“The tray by the door is such a small change, but I can see it making mornings calmer.”;Ellis R. —“I tried the five-minute version while my tea steeped. The clear surface really did change the room.”;Amara K. —“Saving the one thing back where it belongs rule for tonight.”。使用首字母头像、姓名和完整句子,不显示日期。评论文本框占位符“Add something thoughtful...”和按钮“Post comment”在本地追加一条去除首尾空白后的非空评论,清空输入框,更新计数,并在重新加载后保留。空提交保留内联的有用错误提示。小提示:“Your reactions and comments stay on this device.”。Up next 显示三张相关卡片,分别对应 reading-corner、citrus-mint 和 linen-table,每张链接到其 note.html 查询。 布局:桌面端评论占据同一左侧阅读栏,而右侧栏以三张紧凑水平卡片承载 Up next。移动端使用单栏,相关卡片位于评论之后。编辑器是 Surface 卡片,内边距 16px,右对齐 Ink 按钮。 动效:新评论在 180ms 内淡入并上移 8px;不模拟其他用户活动或延迟虚假发布。 ### 创作者个人资料(`profile.html`) 1. **精选创作者介绍** — 显示 [CREATOR_NAME],默认为 Maya Ellison,配有 creator-portrait.webp 图片和眉题“FEATURED CREATOR”。简介:“Collecting quiet corners, useful objects, and recipes worth repeating. I share small ways to make home feel more like your own.”。详情显示“Portland, Oregon”、“48 notes”、“6 collections”和“12.8K followers”,作为虚构示例内容,不显示日期。关注按钮与 note.html 共享状态。次要按钮“View notes”激活 Notes 标签页。当变量变化时重写位置、计数、简介和专长。 布局:桌面端个人资料主视觉是 Surface 卡片内的 3/9 网格:左侧 240×280 肖像,文本中左对齐,关注控件右对齐。移动端使用 112×144 肖像位于文本上方,以及全宽关注按钮。名称在桌面端保持 48px,移动端 38px,使用 Fraunces。 动效:关注文本在 160ms 内交叉淡入淡出;肖像保持静止。 2. **Notes 和 Collections 标签页** — 两个可访问的标签页,Notes 和 Collections,更新 ?tab= 而无需重新加载页面,默认显示 Notes,除非 ?tab=collections。Notes 显示六条 [CREATOR_NAME] 笔记:三条信息流笔记 morning-reset、citrus-mint 和 linen-table,加上“A home for the books I have not read”、“How I choose a secondhand lamp”和“Sunday soup, without the timetable”,复用 reading-corner.webp、ceramic-hands.webp 和 kitchen-ritual.webp。每条笔记打开其可用的 note.html?id= 视图。Collections 显示三张卡片:“The gentle reset”——12 条笔记——morning-table、reading-corner、balcony-garden;“Rooms with room to breathe”——8 条笔记——reading-corner、ceramic-hands、morning-table;“A better cup”——6 条笔记——kitchen-ritual、morning-table、ceramic-hands。选择集合会展开一个内联面板,包含两句原创描述和三个链接笔记标题;再次选择则折叠。没有卡片是无效按钮。 布局:标签栏有 Sand 底边框和 44px 点击目标。Notes 使用与信息流相同的三/二/一列视觉网格语言。Collections 是桌面端三列网格和移动端单列网格;每张卡片有三图拼贴、28px Fraunces 标题、计数和展开图标。内联集合面板在所选卡片下方横跨网格。 动效:使用指定的 180ms 标签页过渡和集合的高度/不透明度展开,减少动态效果时即时切换状态,并正确设置 aria-expanded。 3. **创作者寄语与页脚** — 结尾条引用 [CREATOR_NAME]:“I save notes I want to live with, not just look at.”。添加“Browse the community”链接到 ./index.html,并重复共享的简单页脚。不要添加联系表单、外部社交资料或未实现的消息按钮。 布局:居中的 720px 文本块,上下内边距 48px,随后是页脚。结尾引用在桌面端保持 30px Fraunces,移动端 26px。 动效:无。 ## 资源 - 图片:https://media.vibefather.ai/assets/307d2680-aefc-4aa0-acac-c3171ab038d2/morning-table.webp → public/images/morning-table.webp。Alt:'Linen-covered breakfast table with ceramic tea cups and an open blank journal in warm window light.' 用于发现功能、晨间重置轮播、信息流卡片和合集拼贴。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。下载到本地并记录在 ASSETS.md 中。 - 图片:https://media.vibefather.ai/assets/307d2680-aefc-4aa0-acac-c3171ab038d2/reading-corner.webp → public/images/reading-corner.webp。Alt:'A soft armchair beside a reading lamp and a small stack of unmarked books.' 用于阅读笔记、晨间重置轮播、创作者笔记和合集。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。下载到本地并记录在 ASSETS.md 中。 - 图片:https://media.vibefather.ai/assets/307d2680-aefc-4aa0-acac-c3171ab038d2/ceramic-hands.webp → public/images/ceramic-hands.webp。Alt:'Hands shaping a small clay bowl on a pottery wheel.' 用于陶艺和二手物品笔记以及合集拼贴。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。下载到本地并记录在 ASSETS.md 中。 - 图片:https://media.vibefather.ai/assets/307d2680-aefc-4aa0-acac-c3171ab038d2/kitchen-ritual.webp → public/images/kitchen-ritual.webp。Alt:'Ceramic kettle, citrus, and herbs arranged on a wooden kitchen counter.' 用于美食和晨间仪式笔记、默认轮播以及 A better cup 合集。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。下载到本地并记录在 ASSETS.md 中。 - 图片:https://media.vibefather.ai/assets/307d2680-aefc-4aa0-acac-c3171ab038d2/balcony-garden.webp → public/images/balcony-garden.webp。Alt:'A small balcony garden with terracotta pots and a folded throw over a wooden stool.' 用于阳台和健康笔记以及 The gentle reset 合集。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。下载到本地并记录在 ASSETS.md 中。 - 图片:https://media.vibefather.ai/assets/307d2680-aefc-4aa0-acac-c3171ab038d2/creator-portrait.webp → public/images/creator-portrait.webp。Alt:'A creator seated beside a bright window in a warm, plant-filled room.' 用于精选创作者的个人资料、页眉头像和默认笔记作者行。此人为完全虚构,与任何真实个人均无相似之处。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发。下载到本地并记录在 ASSETS.md 中。 - 字体:通过 @fontsource-variable/fraunces 自托管 Fraunces Variable,通过 @fontsource-variable/dm-sans 自托管 DM Sans Variable,两者均为 OFL-1.1。在应用中本地导入,在 ASSETS.md 中列出包和许可证,切勿使用字体 CDN。 - 图标:使用本地打包的 lucide-react 图标(ISC)用于 Search、Heart、Bookmark、ArrowLeft、ArrowRight、ChevronLeft、ChevronRight、Plus、Check、Home、User、Grid2X2 和 Send。不要绘制或导入任何现有社区平台的图标;在 ASSETS.md 中列出 Lucide 及其许可证。 ## 禁止事项 - 不得使用任何现有生活方式或社交平台的名称、标志、吉祥物、口号、精确配色方案、自定义字体、独特图标体系、代码、文案、摄影作品或标志性界面构图。 - 不得使用真实人物肖像、名人、授权角色、可识别的产品品牌、可读包装或第三方标志。生成的创作者必须始终是明确虚构的人物。 - 不得添加后端、身份验证、数据库、API 路由、第三方 API、分析统计、真实发布、远程评论或依赖网络的社交计数。所有交互和持久化必须为诚实的纯浏览器行为。 - 不得热链资源,或从 CDN 加载脚本、字体、图标或图片。不得使用 Unsplash、Pexels、Pixabay、占位图服务、受限组件源码或非宽松许可的依赖。 - 不得使用商业字体或外部字体服务;仅可交付指定的自托管 OFL Fontsource 字体族。 - 不得留下占位文案、lorem ipsum、以其他大小写形式残留的 slow-living 内容、空白详情视图、失效按钮、无功能标签页或未实现的导航。没有有效 id 的 note.html 必须显示 morning-reset。 - 不得使用裸目录链接、在静态托管上会失效的纯客户端路由、source map、复制的 src 目录或绝对生产资源路径。使用 ./index.html、./note.html 和 ./profile.html,配合相对资源与 Vite base './'。 - 不得展示日期、虚构的实时状态指示器、在线成员声明,或将被呈现为真实活动的互动数据。所有人物、对话和计数均为虚构示例内容。 - 不得让首屏仅为排版、用通用卡片替换摄影信息流、为轮播添加自动播放,或将文章内容隐藏在滚动动画之后。 - 不得使 dist/ 超过 20 MB、忽略移动端触摸手势或键盘控制、在 390px 宽度下允许水平溢出,或交付带有控制台错误的版本。全程遵循 prefers-reduced-motion。 - 除可选的 [CREDIT] 页脚链接外,不得在产品内提及 VibeFather。所有站点文案、示例数据、标签和 alt 文本保持美式英语。 --- — Prompt by VibeFather · https://vibefather.ai/t/lifestyle-notes-community · 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: "Lifestyle Notes Community"
colors:
paper: "#F7F3EC"
surface: "#FFFCF7"
ink: "#24251F"
sage: "#56604D"
terracotta: "#C96F4A"
sand: "#E3DACD"
muted: "#6F7168"
typography:
display_and_note_titles: { family: "Fraunces Variable", weights: [400, 500, 600] }
interface_body_and_metadata: { family: "DM Sans Variable", weights: [400, 500, 600, 700] }
spacing: "Use an 8px base grid with a 1360px maximum content width, 40px desktop gutters, 20px mobile gutters, and a 72px desktop header. The discovery hero is a 5/7-column split with 48px between columns, 56px top padding, and 40px bottom padding. Feed cards have 20px text blocks and 28px masonry gaps. Note reading copy is capped at 640px. Mobile uses 24px section gaps and a 64px bottom navigation clearance."
radius: "Use 20px for feature and note cards, 16px for image frames and inputs, 12px for small buttons, and full pills for tags and counters. Keep shadows minimal: 0 12px 36px rgba(36,37,31,0.08) only on the floating carousel controls and mobile navigation."
---
# Lifestyle Notes Community — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Paper** `#F7F3EC` — Page background and primary text on dark buttons
- **Surface** `#FFFCF7` — Cards, carousel controls, and input surfaces
- **Ink** `#24251F` — Headings, body text, and dark primary buttons
- **Sage** `#56604D` — Active filters, follow states, links, and quiet accents
- **Terracotta** `#C96F4A` — Likes, small decorative marks, and image accents; never small text on Paper
- **Sand** `#E3DACD` — Borders, dividers, and inactive controls
- **Muted** `#6F7168` — Secondary text and metadata
## Typography
- **Display and note titles** — Fraunces Variable (OFL), weights 400/500/600. Self-host the font files.
- **Interface, body, and metadata** — DM Sans Variable (OFL), weights 400/500/600/700. Self-host the font files.
## Spacing & shape
- Spacing: Use an 8px base grid with a 1360px maximum content width, 40px desktop gutters, 20px mobile gutters, and a 72px desktop header. The discovery hero is a 5/7-column split with 48px between columns, 56px top padding, and 40px bottom padding. Feed cards have 20px text blocks and 28px masonry gaps. Note reading copy is capped at 640px. Mobile uses 24px section gaps and a 64px bottom navigation clearance.
- Radius: Use 20px for feature and note cards, 16px for image frames and inputs, 12px for small buttons, and full pills for tags and counters. Keep shadows minimal: 0 12px 36px rgba(36,37,31,0.08) only on the floating carousel controls and mobile navigation.
## Motion
- On first load, fade the hero copy and feature image in over 420ms with a 12px upward offset and a 70ms stagger; do not animate again when returning to the page.
- Use Motion layout animations for masonry filter and search changes, 260ms with easing [0.22,1,0.36,1], while preserving document reading order and focus.
- Move carousel slides horizontally with a 280ms ease-out transition; support pointer swipe with a 45px threshold, touch swipe, arrow buttons, dots, and left/right keyboard keys without autoplay.
- Give like and save controls a 160ms icon fill and 0.92-to-1 scale response, and animate follow-state text with a simple 160ms crossfade.
- Use 180ms fade-and-8px-rise transitions between Notes and Collections and for locally added comments. Disable transforms and smooth scrolling when reduced motion is requested.
## Imagery
Use only the six coordinated local editorial lifestyle photographs listed in assets: morning-table.webp, reading-corner.webp, ceramic-hands.webp, kitchen-ritual.webp, balcony-garden.webp, and creator-portrait.webp. They share warm ivory, muted sage, terracotta, and caramel tones, soft window light, natural grain, and tactile unstyled imperfection. Reuse them deliberately across notes and collection collages with stable aspect-ratio containers and focal-point crops rather than stretching. The featured creator portrait is an entirely fictional adult and must not resemble a real individual. No readable packaging, text, logos, recognizable brands, landmarks, celebrities, or real people's likenesses. Every image gets content-specific US English alt text from src/content.ts; decorative duplicates use empty alt text.
## Tone
Warm, observant, specific, and quietly optimistic. Write like thoughtful people sharing useful details from daily life, never like an engagement farm. Use concise US English, invented names, original conversations, and no claims about real users or online activity.
---
— Prompt by VibeFather · https://vibefather.ai/t/lifestyle-notes-community · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 一个社区陶艺工作室:将 BRAND 和 NICHE 设置为陶瓷,将笔记替换为窑炉和釉料故事,并将工作室主人设为 CREATOR_NAME。
- 一个慢旅行创作者:将 NICHE 指向周末城市笔记,为本地散步和咖啡馆重写信息流,并将收藏用作旅行分组。
- 一个家居用品商店社区:将 BRAND 设置为该商店,将笔记替换为造型仪式,并将关注和收藏操作链接到你的邮件列表。
- 一个读书会或阅读圈:将 NICHE 设置为阅读角落,将俱乐部主持人设为 CREATOR_NAME,并将收藏变成季节性阅读清单。
生活方式笔记社区:常见问题
在没有后端的情况下,访客在生活方式笔记社区网站上实际能做什么?
访客可以浏览瀑布流信息流、按标签筛选、搜索笔记、打开完整笔记、滑动浏览其轮播、点赞、收藏、关注特色创作者并添加评论。点赞、收藏、关注、评论和选中的个人资料标签通过以品牌名称为键的 localStorage 存储在浏览器中持久保存。所有示例计数和对话均为虚构,从不从服务器获取。
生活方式笔记社区模板免费吗?Pro 增加了什么?
生活方式笔记社区模板是免费的。其提示词和 DESIGN.md 在 CC BY-NC 4.0 下可免费用于个人非商业用途。商业和客户工作需 Pro,Pro 会员还可获得完整提示词和演示的源代码。简要说明、技术栈和变量在模板页面上公开显示。
怎么用 AI 做一个生活方式笔记社区?
复制本页的提示词,或者运行 npx vibefather add lifestyle-notes-community,把 [BRAND]、[NICHE]、[TAGLINE]、[AUDIENCE] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。