用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
Personality Quiz Funnel Page 是一套完整的客户端测试体验,适合创作者、教练、营销人员和小型工作室,用有趣的方式引导访客获得个性化推荐。它结合了编辑风格的落地页、八道可视化单选题、简短的测算过程、确定性的原型结果,以及一个在屏幕上解锁的邮箱门槛式指南。静态演示不会传输答案或邮箱地址。
视觉方向将温暖的纸张色调与珊瑚色、青柠色、淡紫色和青色点缀搭配。Fraunces 标题、紧凑的 DM Sans 正文、错位边框、触感卡片和原创几何插画赋予体验独特的编辑气质。首屏包含一个完整排版的测试卡片模型,而非装饰性占位图。测试过程中,分段进度条、键盘友好的答案卡片、返回和退出控件以及简短过渡让交互清晰明了。结果包含原创原型徽章、基于答案的透明模式组合、实用建议以及报告揭晓。
所有品牌文案、问题、答案选项、原型描述、FAQ 和报告内容都放在一个带类型的内容文件中。修改五个变量即可将引流页适配到其他受众或主题,同时保留相同的八题结构和四模式评分模型。备选案例将创意工作测试变为周末冒险测试,而无需改动设计系统。
此模板适用于线索生成活动、受众互动、可下载指南和轻量级推荐工具。它有意设计为反思练习,而非科学或临床评估。动效尊重减少动态偏好,布局适配移动端,所有资源均为本地文件。内置的邮箱交互是明确标注的静态演示,站点所有者可将其替换为演示之外的真正服务。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Personality Quiz Funnel Page
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
Build a polished single-page personality quiz funnel for [BRAND], centered on an original [QUIZ_TOPIC] quiz for [AUDIENCE]. The experience moves from an editorial landing page to exactly eight visual questions, a short calculating interlude, a personalized archetype result, and an email-gated [REPORT_NAME] revealed on screen. Keep all answers, scoring, and form behavior local to the browser tab.
- Audience: The primary audience is [AUDIENCE]: people who enjoy a short, low-pressure reflective exercise and want one useful next step. The template owner is a creator, coach, marketer, or small studio using the quiz to introduce a point of view and offer a deeper resource.
- Goal: Get visitors to start the quiz, finish all eight questions, understand why their result fits, and unlock the full [REPORT_NAME]. Make every control functional and make the static email demonstration honest about not sending or storing data.
- Tone: Warm, perceptive, energetic, and specific. Use encouraging plain language rather than vague affirmations. Treat results as flexible creative patterns, never fixed identities, diagnoses, rankings, or scientific measurements.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: React 18 (MIT), Vite 5 (MIT), TypeScript (Apache-2.0), Tailwind CSS 3.4 (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:
- Use Vite 5 with React 18 and TypeScript. Set base: './' in vite.config.ts, set build.sourcemap to false, and emit only the production site to dist/.
- Configure Tailwind CSS 3.4 with the colors, font families, spacing, radii, shadows, and keyframes below. Put custom keyframes, focus styles, print styles, and reduced-motion overrides in src/index.css.
- Keep all editable brand copy, quiz topic copy, eight questions, answer choices, four archetypes, FAQs, and report sections in src/content.ts with TypeScript interfaces. Components must read content from that file rather than embedding default-specific strings.
- When variable values change, rewrite every topic-specific headline, question, answer, archetype name, description, recommendation, FAQ answer, and report item to fit the new [QUIZ_TOPIC], [AUDIENCE], and [REPORT_NAME], while preserving the layout and interaction model.
- Use one React state machine with the states landing, quiz, calculating, and result. Do not add a router. Keep current question, eight answers, unlocked state, and email input in memory only; do not use localStorage, sessionStorage, cookies, or URL query parameters.
- Use lucide-react for interface icons and original inline SVG or CSS for decorative artwork. Do not add an animation library; use CSS transitions, keyframes, and a small IntersectionObserver for landing-section reveals.
- Import Fraunces Variable and DM Sans Variable locally from their Fontsource packages. Create ASSETS.md at the project root listing both font packages, lucide-react, their sources, and their licenses; state that all illustrations are original code-drawn SVG/CSS and that no raster images are used.
- Support keyboard operation, visible focus, semantic buttons and headings, aria-live progress and result announcements, 44px minimum touch targets, and a reduced-motion mode. Verify 1440×900 and 390×844 with no horizontal overflow or console errors.
## Variables
- [BRAND] — Brand name (default: "Moss & Meter"). An invented studio, creator, or publication name used in the wordmark, footer, and report.
- [QUIZ_TOPIC] — Quiz topic (default: "Creative Work Rhythm"). The reflective subject of the quiz; all questions and results must follow it.
- [AUDIENCE] — Audience (default: "independent creatives"). A concise lowercase audience description used in introductory and result copy.
- [REPORT_NAME] — Full report name (default: "Creative Rhythm Field Guide"). The personalized resource unlocked after the email form.
- [PRIMARY_CTA] — Primary quiz CTA (default: "Find my rhythm"). A short action label for hero and closing quiz-start buttons.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/personality-quiz-funnel-page in the footer (default: yes; delete this line to remove it)
The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.
## Design
### Colors
- Paper `#F5F0E6` — Main page background and quiet negative space
- Ink `#20231F` — Headlines, body text, borders, and dark panels
- Chalk `#FFFDF7` — Cards, inputs, and text on Ink panels
- Coral `#F28C78` — Spark accents, selected states, and decorative circles
- Lime `#CBE47A` — Primary buttons, progress fill, and Anchor accents
- Lilac `#C8B9E8` — Weaver cards and report-preview accents
- Teal `#70B8A7` — Pathfinder accents and secondary illustrations
- Muted Ink `#62665E` — Secondary copy and metadata
### Typography
- Display headlines and result archetype names: Fraunces Variable, self-hosted with @fontsource-variable/fraunces; optical sizing enabled (OFL), weights 600/700
- Body, navigation, buttons, form labels, and small metadata: DM Sans Variable, self-hosted with @fontsource-variable/dm-sans (OFL), weights 400/500/600/700
### Layout & motion
- Spacing: Use an 8px base grid. Landing sections have 104px desktop and 72px mobile vertical padding. Content max-width is 1240px with 40px desktop and 20px mobile gutters. Hero copy max-width is 610px. Card padding is 28–36px desktop and 20–24px mobile; button gaps are 12px.
- Radius: Use 24px for major cards and the quiz stage, 16px for answer cards and inputs, 999px for buttons and small tags. Major cards have a 2px Ink border and a 6px 6px 0 #20231F offset shadow; hover lifts reduce that shadow to 3px 3px 0.
- Motion: Landing sections reveal with opacity 0 to 1 and translateY(18px) to 0 over 500ms using ease-out, staggered by 70ms within a grid; never hide content when IntersectionObserver is unavailable.
- Motion: Primary buttons and answer cards translate 2px upward on hover and return on press over 160ms. Selected answers fill with Lime and show a check icon before advancing.
- Motion: Starting the quiz crossfades and slides the landing view out and quiz view in over 280ms. Each answer advances after a 240ms selected state; question content exits 8px left and enters 8px right.
- Motion: The progress bar and active segment animate width or color over 240ms. The calculating interlude lasts 1100ms and cycles three status phrases; result content follows with a 420ms fade and 14px rise.
- Motion: Decorative hero shapes float no more than 8px over six seconds and an orbit label rotates slowly over 24 seconds; disable both under prefers-reduced-motion.
- Motion: Under prefers-reduced-motion, remove reveals, floating, rotation, smooth scrolling, and slide transforms; use immediate state changes or opacity-only transitions under 80ms.
- Imagery: Use no photographs, AI-generated portraits, external illustrations, or raster placeholders. The hero's visual anchor is a rich, layered quiz UI mock with original CSS/SVG geometric artwork, answer cards, progress, a paper-grid backdrop, and offset color shapes. Give each archetype a reusable original SVG emblem: radiating strokes for Spark, a precise modular grid for Anchor, interlocking loops for Weaver, and a winding contour path for Pathfinder. Keep all geometry abstract and generic.
## Pages & Sections
### Landing, quiz, result, and report funnel (`index.html`)
1. **Shared header and app shell** — On the landing state, show the [BRAND] wordmark with a simple four-dot CSS mark, center links labeled The patterns, How it works, and Questions that scroll to their sections, and a right button labeled Take the quiz. Add a small badge reading 8 questions · 2 minutes. On mobile, keep only the wordmark and Take the quiz button. During quiz and calculating states, replace the center navigation with an Exit quiz text button that returns to the landing state. On the result state, show the wordmark and a Retake quiz button.
Layout: Sticky top header, 76px high, Paper background at 94% opacity with backdrop blur and a 1px Ink/10 bottom border. Inner row uses the 1240px container. All view changes call window.scrollTo({ top: 0 }) without smooth scrolling in reduced-motion mode. Render one main landmark and a skip link that appears on focus.
Motion: Header stays stable across states; controls use the shared 160ms tactile hover and press treatment.
2. **Landing hero** — For the defaults, use eyebrow A TWO-MINUTE RESET FOR YOUR CREATIVE PRACTICE, H1 Your best work has a rhythm. Find yours., and body Discover whether you lead with spark, structure, connection, or exploration—and leave with one small experiment for the week ahead. Primary button is [PRIMARY_CTA] with an ArrowRight icon; secondary text button is Meet the four patterns and scrolls to the pattern grid. Under the actions show 8 visual questions, No wrong answers, and One useful next step as three compact checklist items. Rewrite the eyebrow, headline, body, and checklist for other variable values. On the right, compose a realistic preview card with label QUESTION 03 / 08, question When a new idea arrives, what do you do first?, four miniature answer tiles, an eight-segment progress bar with three active segments, and a small Next idea badge. Surround it with a circular NO WRONG ANSWERS stamp, abstract paper-grid shapes, and three offset color cards. Preview answers are static divs, not dead buttons; the only interactive control inside the preview is a Start button that triggers [PRIMARY_CTA].
Layout: At 1440×900, the hero fills the available first screen with a two-column grid of 52% copy and 48% artwork, centered vertically with 56px minimum top and bottom padding. H1 is Fraunces 72px/0.98, 600 weight, with a Coral hand-drawn SVG underline beneath rhythm. Body is 19px/1.65 and max-width 530px. The right artwork is at least 520px wide and 590px high, with the main quiz card rotated 2 degrees and a second Lilac card rotated -5 degrees behind it. At mobile, stack copy above a 390px-high scaled preview, use H1 clamp(44px, 13vw, 58px), and keep the primary CTA visible without horizontal clipping.
Motion: Hero copy enters first, followed by the preview card with a 100ms delay. Only decorative shapes float; the quiz card itself remains readable and stable.
3. **Four pattern cards** — Heading: Four ways ideas become finished work. Intro: Most of us use every pattern. This quiz looks for the one you reach for first. Show four cards in this order: The Spark — Idea igniter — You begin by making possibilities visible. Your best next step is a small experiment, not a perfect plan. The Anchor — Thoughtful finisher — You turn loose ideas into dependable progress. Your best next step is protecting enough structure without overplanning. The Weaver — Creative connector — You find momentum through people and shared context. Your best next step is making collaboration intentional. The Pathfinder — Curious explorer — You notice possibilities beyond the obvious route. Your best next step is turning exploration into one concrete choice. Add a footer line to every card: A pattern, not a box. For alternate values, rename the four archetypes and rewrite these descriptions to fit the new topic while preserving their respective roles of experimentation, structure, connection, and exploration.
Layout: Section id patterns. Heading sits left and intro right in a two-column heading row. Below, four equal cards in one desktop row, two columns on tablet, one on mobile. Each card has a 96px original SVG emblem, number 01–04, archetype name in 30px Fraunces, role label, and 16px body. Backgrounds are Coral, Lime, Lilac, and Teal respectively, with Ink text and borders.
Motion: Reveal cards with a 70ms stagger. Hover lifts a card 3px and gently rotates its emblem by no more than 3 degrees; no continuous card motion.
4. **How the quiz works** — Eyebrow: SIMPLE BY DESIGN. Heading: Eight choices. One clearer next step. Three numbered steps: 01 Choose what feels natural — Answer instinctively; there are no trick questions or better scores. 02 See your pattern mix — We count your choices across four complementary patterns and show the result, including ties. 03 Put it into practice — Unlock the [REPORT_NAME] for strengths, friction points, and a seven-day experiment. Add a narrow note: Reflective, not clinical. Your result is a prompt for self-observation, not a diagnosis.
Layout: Use an Ink full-width rounded 32px panel inside the container, with Chalk text. Three columns separated by 1px Chalk/20 vertical rules. Numbers are large Fraunces in the matching accent colors; step titles are 22px and bodies 15px/1.65. Stack on mobile with horizontal separators.
Motion: Steps reveal as one group. On hover, each number changes from outlined to solid accent text without layout shift.
5. **Field guide preview** — Split heading: A result you can use after the confetti fades. Body: Your [REPORT_NAME] turns the pattern into practical prompts for the next seven days. List four included sections: Your pattern at a glance, Three strengths to protect, Two friction points to watch, and A seven-day experiment. Beside the copy, draw a layered report-page mock showing these exact sample lines for the default Weaver result: Strength — You make room for better ideas by inviting other perspectives. Watch for — A crowded feedback loop can blur your own instinct. Try this week — Share a rough draft with one trusted person before adding more input. Finish with a button labeled Take the quiz that starts at question one.
Layout: Two-column 44%/56% section. Left copy remains vertically centered. Right is a 520px-high Chalk report sheet with 2px Ink border and offset Coral and Lilac sheets. The sheet has a miniature emblem, [REPORT_NAME], three ruled content rows, and a seven-box week strip. Mobile stacks copy above a 420px-high report mock.
Motion: The report sheets separate by 8px on hover; no interaction is required to read the sample text.
6. **Questions and closing invitation** — Use five accessible accordion items with exactly one open at a time and the first open initially. Q: How long does the quiz take? A: Most people can finish eight visual questions in about two minutes. You can go back to change an answer before seeing the result. Q: Is this a scientific personality test? A: No. It is an original reflective exercise built around four creative-work patterns, not a validated assessment or clinical tool. Q: What happens to my answers? A: They stay in this browser tab only. Refreshing or leaving resets the quiz; no answer data is transmitted. Q: Will you email me the report? A: In this static demo, submitting the form unlocks the full report on screen. No email is sent or stored. Q: Can I retake it? A: Yes. Retake clears all eight answers and the unlocked report so you can start fresh. Below the accordion, add a Coral closing panel with heading Ready to notice your pattern?, button [PRIMARY_CTA], and note Eight questions · No signup to see your result.
Layout: Section id questions. FAQ is a centered 860px column with 16px vertical gaps, bordered Chalk rows, Plus icons rotating to X, and answers that do not shift surrounding content after the opening transition. The closing panel is full container width below with 48px padding and a right-aligned abstract sunburst.
Motion: Accordion answers use a 180ms opacity and 6px translate transition. Closing panel reveals once, without repeated animation on scroll.
7. **Landing footer** — Footer left: [BRAND] and Small reflections for more intentional work. Center: Take the quiz, The patterns, and Questions controls that perform their named actions. Right: Built for reflection, not labels. Bottom line: [CREDIT]. Do not add social links, addresses, dates, or fabricated company metrics.
Layout: Ink background with Chalk text, 40px vertical padding, a three-column row inside the container, and a fine Chalk/20 separator above the credit line. Stack left-aligned on mobile.
Motion: Links change to Lime on hover with a 160ms color transition.
8. **Eight-question quiz state** — Create exactly eight original default questions in this fixed order. Each has four answer cards and each answer awards exactly one point to the parenthetical archetype; keep scoring data invisible. Q1 A blank page appears. What do you reach for first? | A loose pencil sketch (Spark) | A short checklist (Anchor) | A conversation with someone (Weaver) | A walk around the block (Pathfinder). Q2 A project deadline moves closer. You… | Make a bold first draft (Spark) | Break the work into checkpoints (Anchor) | Set a quick check-in (Weaver) | Revisit the brief from a new angle (Pathfinder). Q3 Which workspace helps you think? | A table covered in materials (Spark) | A calm desk with a clear plan (Anchor) | A shared studio with conversation (Weaver) | A window seat and room to wander (Pathfinder). Q4 Feedback is most useful when it… | Sparks three new possibilities (Spark) | Names the next concrete fix (Anchor) | Shows how others respond (Weaver) | Challenges the central assumption (Pathfinder). Q5 Choose a Saturday creative reset. | Make something with no plan (Spark) | Finish a satisfying small project (Anchor) | Host a casual making session (Weaver) | Visit somewhere unfamiliar (Pathfinder). Q6 Your notebook is mostly… | Fragments and rapid sketches (Spark) | Lists, systems, and revisions (Anchor) | Quotes, questions, and shared ideas (Weaver) | Observations and surprising connections (Pathfinder). Q7 A stalled project usually needs… | A playful constraint (Spark) | One clearly defined next step (Anchor) | A fresh pair of eyes (Weaver) | Distance and a different input (Pathfinder). Q8 The best compliment about your work is… | It feels alive (Spark) | It really works (Anchor) | It brought people together (Weaver) | It changed how I see things (Pathfinder). Give every answer a short supporting sentence and a suitable Lucide icon in src/content.ts. For alternate values, replace every question, answer, supporting sentence, and icon choice with equally specific topic-appropriate content while preserving one answer per archetype per question.
Layout: Quiz main uses max-width 980px and min-height calc(100svh - 76px). Top row shows Question N of 8 in mono-like small DM Sans uppercase, a text Back control disabled only on question one, and eight equal progress segments. Beneath it, a 4px full-width track has a Lime fill of N/8. Center a Chalk question card with 36px padding, small icon and topic label, Fraunces 42px question, and a 2×2 answer grid. Answer cards are full-width semantic buttons with icon, answer label, one-line support text, and an ArrowUpRight icon; mobile uses one column and 32px question type. Include an aria-live polite step announcement. Clicking an answer records it and advances after the selected state; Back revisits the previous answer without losing other answers. Exit quiz returns to the landing hero and preserves answers only until refresh, with Resume quiz shown on the hero CTA if a partial quiz exists.
Motion: Selected answer shows Lime fill and a Check icon for 240ms before advancing. Question transitions follow the shared 280ms pattern; progress animates after each answer. Reduced motion advances immediately without the 240ms delay.
9. **Scoring and calculating interlude** — After question eight, total points for Spark, Anchor, Weaver, and Pathfinder. The highest total is the primary archetype. If multiple archetypes tie, choose the tied archetype answered most recently, scanning answers from question eight backward; if somehow still tied, use the fixed order Spark, Anchor, Weaver, Pathfinder. Keep all four totals for the result's pattern mix. During calculation, show Finding the threads in your choices… then Balancing your four patterns… then Preparing your [REPORT_NAME]… with a small abstract four-part emblem assembling itself.
Layout: Centered Chalk card, max-width 620px, with a 160px code-drawn emblem above a 34px Fraunces status line and three small progress dots. Keep the shared header. No user control is needed during this short state, and timers must be cleaned up if the component unmounts.
Motion: Use a 1100ms total interlude with status changes near 0ms, 370ms, and 740ms. Under reduced motion, show one static Preparing your result… message for no more than 100ms before the result.
10. **Personalized result hero** — Default result content: The Spark — Idea igniter — You turn possibility into motion. A rough sketch, a surprising constraint, or a quick prototype helps you discover what an idea can become. Recommendation: Choose one idea and make a deliberately rough version in 25 minutes; stop while the next move still excites you. The Anchor — Thoughtful finisher — You create momentum by giving good ideas a dependable shape. Clear checkpoints help you protect both quality and follow-through. Recommendation: Define the smallest finishable version of your current project, then schedule one distraction-free block to complete its first checkpoint. The Weaver — Creative connector — You do your clearest thinking in relation to other people. Conversation helps you test assumptions and notice what an idea means beyond your own perspective. Recommendation: Share a rough draft with one trusted person and ask a single focused question before gathering more feedback. The Pathfinder — Curious explorer — You find direction by stepping outside the obvious route. New places and unexpected inputs help you connect ideas others might miss. Recommendation: Collect three references from outside your usual field and turn one observed connection into a concrete sketch. For other topics, rewrite all four result names, roles, descriptions, and recommendations while preserving their four scoring roles. Result heading is Your pattern is [archetype name]. Include the label A starting point, not a fixed type and a secondary Retake quiz button. Show Pattern mix as four horizontal bars labeled with all four archetypes, calculated as count ÷ 8 × 100 and rounded to the nearest whole percent; explain Percentages show where your eight answers landed, not a scientific score.
Layout: Result view begins with a two-column Chalk hero card. Left contains eyebrow YOUR [QUIZ_TOPIC] RESULT, 56px Fraunces archetype heading, role label, 18px description, a Lime recommendation box, and actions. Right contains a 280px original SVG emblem in the archetype color and the four pattern-mix bars. Mobile stacks emblem after the description and before the recommendation; all text remains readable without requiring unlocked content.
Motion: Reveal result copy, emblem, and bars with a 420ms fade/rise. Bars animate from 0 to their actual widths over 600ms after the result appears; reduced motion shows final widths immediately.
11. **Email-gated full report** — Place a Lilac panel immediately after the result with eyebrow GO A LITTLE DEEPER, heading Your [REPORT_NAME] is ready, and body Enter your email to unlock the on-screen report in this static demo. Use a visible Email address label, an email input with placeholder [email protected], required and type=email, and button Unlock my field guide. Privacy note: Demo only: no email is sent, transmitted, or stored. On valid submit, do not make a network request; set unlocked state in memory, replace the form with Unlocked below — no email was sent, and smoothly reveal the report. On invalid submit, use the native email validation message. The report contains four sections: 1 Your pattern at a glance — repeat the primary description and list the two highest patterns with their answer counts. 2 Three strengths to protect — three topic-specific strengths for the primary archetype. 3 Two friction points to watch — two specific risks with a corrective prompt each. 4 A seven-day experiment — seven short daily actions, each 20 words or fewer, based on the primary recommendation. For the default Weaver, include the strengths You invite useful perspectives, You make shared progress visible, and You help ideas land with other people; friction prompts When does feedback become too many voices? and What do you think before asking the room?; and a seven-day sequence of Choose one rough idea, Write your own goal first, Ask one trusted person, Listen for one surprise, Revise without polling, Share the finished piece, and Note what you learned. End with Print or save this report using window.print() and a Start over button that clears answers and locked state.
Layout: Locked panel uses a two-column row with copy left and a compact form right. Unlocked report expands below into a Chalk paper sheet max-width 960px with four numbered sections, generous ruled separators, and a seven-row day grid. Print styles hide header, footer, buttons, decorative artwork, and locked panels while printing the unlocked report in black on white. No fake sending spinner or fabricated delivery confirmation.
Motion: Unlock uses a 300ms opacity and 12px rise reveal and moves focus to the report heading. Start over returns to the landing state without animation under reduced motion.
## Assets
- image: No raster image files. Create all hero, archetype, report, and decorative artwork as original inline SVG and CSS using the specified geometric patterns and palette. Do not use image placeholders or external image URLs.
- icon: Use locally bundled lucide-react icons only for interface and answer-card icons, with consistent 1.8px strokes. Record lucide-react, https://github.com/lucide-icons/lucide, ISC license, 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 package CSS locally and list both packages and licenses in ASSETS.md; never request Google Fonts or another font CDN.
## Don'ts
- Do not add a backend, serverless function, API route, database, authentication, real form endpoint, third-party API, or network-dependent behavior. The email form only unlocks local content and must never claim that an email was sent.
- Do not transmit, persist, or track quiz answers or email input. No localStorage, sessionStorage, cookies, analytics, tracking pixels, or hidden telemetry.
- Do not load any CDN script, stylesheet, font, icon, image, or other remote asset. Bundle all dependencies and use relative asset paths with Vite base './'.
- Do not use Unsplash, Pexels, Pixabay, placeholder-image services, Google Images, recognizable people, real likenesses, anime or game characters, third-party logos, mascots, brand products, or recognizable landmarks.
- Do not copy an existing quiz's name, questions, answers, result types, exact copy, illustrations, icons, code, or scientific framing. Use only the original content model in this prompt and rewrite it for alternate variables.
- Do not present archetypes as diagnoses, clinical advice, psychometrics, validated assessments, rankings, or fixed traits. Do not invent participant counts, ratings, testimonials, or scientific evidence.
- Do not use commercial fonts, fonts.googleapis.com, fonts.gstatic.com, Adobe Fonts, restricted UI source, non-permissive packages, or dependencies outside the fixed stack.
- Do not add routers, bare-directory links, broken anchors, dead buttons, fake loading states, share links that cannot reproduce a result, or nonfunctional social links. Keep the complete experience in index.html.
- Do not emit source maps, copy src/ into dist/, exceed 20 MB in dist/, or require more than npm run build for the production output.
- Do not hard-code topic-specific copy inside components or leave Moss & Meter creative-work content in an alternate-variable build. Keep all editable copy and sample data in src/content.ts and use US English throughout.
- Do not mention VibeFather, its license, pricing, metrics, or membership anywhere in the site except the optional rendered [CREDIT] footer link. Do not add SEO metadata, Open Graph tags, JSON-LD, sitemaps, analytics, or dates; a plain [BRAND] title and favicon are enough.
- Do not sacrifice accessibility or responsive behavior: maintain visible focus, labeled form controls, keyboard-operable answers and accordions, aria-live updates, reduced-motion support, 44px touch targets, zero console errors, and no horizontal overflow at 390×844 or 1440×900.
---
— Prompt by VibeFather · https://vibefather.ai/t/personality-quiz-funnel-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 性格测试漏斗页面
完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。
## 简介
为 [BRAND] 构建一个精致的单页人格测验漏斗,核心是一个原创的 [QUIZ_TOPIC] 测验,面向 [AUDIENCE]。体验流程从编辑风格的落地页开始,进入恰好八个视觉问题,一段简短的测算过渡,一个个性化原型结果,以及一个通过邮箱解锁的 [REPORT_NAME],在屏幕上展示。所有答案、评分和表单行为都保持在浏览器标签页本地。
- 受众:主要受众是 [AUDIENCE]:喜欢简短、低压力的反思练习,并希望获得一个有用的下一步的人。模板所有者是创作者、教练、营销人员或小型工作室,用这个测验来介绍一种观点并提供更深入的资源。
- 目标:让访客开始测验、完成全部八个问题、理解为什么他们的结果适合他们,并解锁完整的 [REPORT_NAME]。让每个控件都可正常使用,并让静态邮箱演示诚实地说明不会发送或存储数据。
- 语气:温暖、敏锐、有活力且具体。使用鼓励性的平实语言,而不是模糊的肯定。将结果视为灵活的创意模式,绝不是固定的身份、诊断、排名或科学测量。
## 技术栈
- 框架:Vite 5 + React 18 + TypeScript
- 样式:Tailwind CSS 3.4
- 库:React 18(MIT)、Vite 5(MIT)、TypeScript(Apache-2.0)、Tailwind CSS 3.4(MIT)、lucide-react(ISC)、@fontsource-variable/fraunces(OFL-1.1)、@fontsource-variable/dm-sans(OFL-1.1)
- 构建:`npm run build` → `dist/` 中的静态文件。无后端、无服务器代码、无外部 API。
- 设置:
- 使用 Vite 5 搭配 React 18 和 TypeScript。在 vite.config.ts 中设置 base: './',将 build.sourcemap 设为 false,并仅将生产站点输出到 dist/。
- 使用下方列出的颜色、字体族、间距、圆角、阴影和关键帧配置 Tailwind CSS 3.4。将自定义关键帧、焦点样式、打印样式和减少动态效果覆盖放入 src/index.css。
- 将所有可编辑的品牌文案、测验主题文案、八个问题、答案选项、四种原型、常见问题解答和报告部分保留在 src/content.ts 中,并使用 TypeScript 接口。组件必须从该文件读取内容,而不是嵌入默认特定的字符串。
- 当变量值变化时,重写每个主题特定的标题、问题、答案、原型名称、描述、推荐、常见问题解答和报告项,以适配新的 [QUIZ_TOPIC]、[AUDIENCE] 和 [REPORT_NAME],同时保留布局和交互模型。
- 使用一个 React 状态机,包含 landing、quiz、calculating 和 result 状态。不要添加路由器。将当前问题、八个答案、解锁状态和电子邮件输入仅保存在内存中;不要使用 localStorage、sessionStorage、cookie 或 URL 查询参数。
- 使用 lucide-react 作为界面图标,使用原始内联 SVG 或 CSS 作为装饰性图形。不要添加动画库;使用 CSS 过渡、关键帧和一个小型 IntersectionObserver 实现落地页部分的显示。
- 从 Fontsource 包本地导入 Fraunces Variable 和 DM Sans Variable。在项目根目录创建 ASSETS.md,列出两个字体包、lucide-react、它们的来源和许可证;声明所有插图均为原创代码绘制的 SVG/CSS,且不使用光栅图像。
- 支持键盘操作、可见焦点、语义化按钮和标题、aria-live 进度和结果播报、44px 最小触摸目标以及减少动态效果模式。验证 1440×900 和 390×844 下无水平溢出或控制台错误。
## 变量
- [BRAND] — 品牌名称(默认:"Moss & Meter")。一个虚构的工作室、创作者或出版物名称,用于字标、页脚和报告中。
- [QUIZ_TOPIC] — 测验主题(默认:"Creative Work Rhythm")。测验的反思性主题;所有问题和结果都必须围绕它展开。
- [AUDIENCE] — 受众(默认:"independent creatives")。一个简洁的小写受众描述,用于介绍和结果文案中。
- [REPORT_NAME] — 完整报告名称(默认:"Creative Rhythm Field Guide")。在电子邮件表单之后解锁的个性化资源。
- [PRIMARY_CTA] — 主要测验 CTA(默认:"Find my rhythm")。用于首屏和结尾测验开始按钮的简短操作标签。
- [CREDIT] — 在页脚保留一个小型 "Template by VibeFather" 链接指向 https://vibefather.ai/t/personality-quiz-funnel-page(默认:是;删除此行即可移除)
页面与区块下的文案是为默认值编写的。如果你的值不同,请为它们重写每一个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。
将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便之后无需改动组件即可替换内容。
## 设计
### 颜色
- Paper(纸白)`#F5F0E6` — 主页面背景和安静的负空间
- Ink(墨黑)`#20231F` — 标题、正文、边框和深色面板
- Chalk(粉笔白)`#FFFDF7` — 卡片、输入框和 Ink 面板上的文字
- Coral(珊瑚色)`#F28C78` — Spark 点缀、选中状态和装饰性圆形
- Lime(青柠色)`#CBE47A` — 主按钮、进度填充和 Anchor 点缀
- Lilac(淡紫色)`#C8B9E8` — Weaver 卡片和报告预览点缀
- Teal(青绿色)`#70B8A7` — Pathfinder 点缀和次要插图
- Muted Ink(柔和墨色)`#62665E` — 次要文案和元数据
### 字体排印
- 展示标题和结果原型名称:Fraunces Variable,通过 @fontsource-variable/fraunces 自托管;启用光学尺寸(OFL),字重 600/700
- 正文、导航、按钮、表单标签和小型元数据:DM Sans Variable,通过 @fontsource-variable/dm-sans 自托管(OFL),字重 400/500/600/700
### 布局与动效
- 间距:使用 8px 基础网格。落地页区块在桌面端有 104px、移动端有 72px 的垂直内边距。内容最大宽度为 1240px,桌面端 40px、移动端 20px 的边距。Hero 文案最大宽度为 610px。卡片内边距在桌面端为 28–36px、移动端为 20–24px;按钮间距为 12px。
- 圆角:主要卡片和测验舞台使用 24px,答案卡片和输入框使用 16px,按钮和小标签使用 999px。主要卡片有 2px Ink 边框和 6px 6px 0 #20231F 的偏移阴影;悬停抬升时该阴影减小为 3px 3px 0。
- 动效:落地页区块以 opacity 0 到 1、translateY(18px) 到 0 在 500ms 内使用 ease-out 显现,在网格内以 70ms 错开;当 IntersectionObserver 不可用时绝不隐藏内容。
- 动效:主按钮和答案卡片在悬停时向上平移 2px,按下时恢复,持续 160ms。选中的答案填充 Lime 并在推进前显示勾选图标。
- 动效:开始测验时,落地页视图淡出并滑出、测验视图淡入并滑入,持续 280ms。每个答案在 240ms 的选中状态后推进;问题内容从左侧 8px 退出、从右侧 8px 进入。
- 动效:进度条和活动分段在 240ms 内动画宽度或颜色。计算间歇持续 1100ms 并循环三条状态短语;结果内容随后以 420ms 淡入和 14px 上升呈现。
- 动效:Hero 装饰形状在六秒内浮动不超过 8px,轨道标签在 24 秒内缓慢旋转;在 prefers-reduced-motion 下禁用两者。
- 动效:在 prefers-reduced-motion 下,移除显现、浮动、旋转、平滑滚动和滑动变换;使用即时状态变化或 80ms 以内的仅透明度过渡。
- 图像:不使用照片、AI 生成肖像、外部插图或栅格占位符。Hero 的视觉锚点是一个丰富、分层的测验 UI 模型,带有原创 CSS/SVG 几何图形、答案卡片、进度、纸格背景和偏移色块。为每个原型提供一个可复用的原创 SVG 徽标:Spark 使用放射状线条,Anchor 使用精确的模块化网格,Weaver 使用互锁环,Pathfinder 使用蜿蜒的轮廓路径。保持所有几何图形抽象且通用。
## 页面与区块
### 落地页、测验、结果与报告漏斗(`index.html`)
1. **共享页头与应用外壳** — 在落地页状态,显示 [BRAND] 字标,配一个简单的四点 CSS 标记,居中的链接分别标注为 The patterns、How it works 和 Questions,点击后滚动到对应区块,右侧按钮标注为 Take the quiz。添加一个小徽章,内容为 8 questions · 2 minutes。在移动端,仅保留字标和 Take the quiz 按钮。在测验和计算状态期间,将居中导航替换为一个 Exit quiz 文本按钮,点击后返回落地页状态。在结果状态,显示字标和一个 Retake quiz 按钮。
布局:粘性顶部页头,高 76px,Paper 背景 94% 不透明度,带背景模糊和 1px Ink/10 底部边框。内部行使用 1240px 容器。所有视图切换调用 window.scrollTo({ top: 0 }),在减少动态模式下不使用平滑滚动。渲染一个 main 地标和一个在聚焦时出现的跳转链接。
动效:页头在各状态间保持稳定;控件使用共享的 160ms 触感悬停和按压处理。
2. **落地页主视觉** — 对于默认值,使用眉题 A TWO-MINUTE RESET FOR YOUR CREATIVE PRACTICE,H1 为 Your best work has a rhythm. Find yours.,正文为 Discover whether you lead with spark, structure, connection, or exploration—and leave with one small experiment for the week ahead.。主按钮为 [PRIMARY_CTA],带 ArrowRight 图标;次要文本按钮为 Meet the four patterns,点击后滚动到模式网格。在操作按钮下方,以三个紧凑的清单项显示 8 visual questions、No wrong answers 和 One useful next step。针对其他变量值重写眉题、标题、正文和清单。在右侧,组合一个逼真的预览卡片,标签为 QUESTION 03 / 08,问题为 When a new idea arrives, what do you do first?,四个微型答案磁贴,一个八段进度条(三段激活),以及一个小型 Next idea 徽章。在其周围环绕一个圆形 NO WRONG ANSWERS 印章、抽象纸格形状和三张错位色卡。预览答案为静态 div,而非死按钮;预览内唯一的交互控件是一个 Start 按钮,触发 [PRIMARY_CTA]。
布局:在 1440×900 下,主视觉填满可用的首屏,采用两栏网格,52% 文案和 48% 图形,垂直居中,上下内边距最小 56px。H1 为 Fraunces 72px/0.98,600 字重,在 rhythm 下方有一条 Coral 手绘 SVG 下划线。正文为 19px/1.65,最大宽度 530px。右侧图形至少 520px 宽、590px 高,主测验卡片旋转 2 度,第二张 Lilac 卡片旋转 -5 度置于其后。在移动端,将文案堆叠在 390px 高的缩放预览上方,使用 H1 clamp(44px, 13vw, 58px),并保持主 CTA 可见且无水平裁切。
动效:主视觉文案先进入,随后预览卡片以 100ms 延迟进入。仅装饰形状浮动;测验卡片本身保持可读和稳定。
3. **四张模式卡片** — 标题:Four ways ideas become finished work。引言:Most of us use every pattern. This quiz looks for the one you reach for first.。按此顺序显示四张卡片:The Spark — Idea igniter — You begin by making possibilities visible. Your best next step is a small experiment, not a perfect plan. The Anchor — Thoughtful finisher — You turn loose ideas into dependable progress. Your best next step is protecting enough structure without overplanning. The Weaver — Creative connector — You find momentum through people and shared context. Your best next step is making collaboration intentional. The Pathfinder — Curious explorer — You notice possibilities beyond the obvious route. Your best next step is turning exploration into one concrete choice.。为每张卡片添加页脚行:A pattern, not a box.。对于替代值,重命名四个原型并重写这些描述以适配新主题,同时保留各自在实验、结构、连接和探索方面的角色。
布局:区块 id 为 patterns。标题居左,引言居右,形成两栏标题行。下方,桌面端一行四张等宽卡片,平板端两列,移动端一列。每张卡片有一个 96px 原创 SVG 徽章、编号 01–04、30px Fraunces 的原型名称、角色标签和 16px 正文。背景分别为 Coral、Lime、Lilac 和 Teal,配 Ink 文字和边框。
动效:卡片以 70ms 错峰显现。悬停时卡片上浮 3px,徽章轻微旋转不超过 3 度;无持续卡片运动。
4. **测验如何运作** — 眉题:SIMPLE BY DESIGN。标题:Eight choices. One clearer next step.。三个编号步骤:01 Choose what feels natural — Answer instinctively; there are no trick questions or better scores. 02 See your pattern mix — We count your choices across four complementary patterns and show the result, including ties. 03 Put it into practice — Unlock the [REPORT_NAME] for strengths, friction points, and a seven-day experiment.。添加一条窄注释:Reflective, not clinical. Your result is a prompt for self-observation, not a diagnosis.。
布局:在容器内使用 Ink 全宽圆角 32px 面板,配 Chalk 文字。三栏由 1px Chalk/20 垂直分隔线隔开。数字为大型 Fraunces,使用匹配的强调色;步骤标题为 22px,正文为 15px/1.65。移动端堆叠,带水平分隔线。
动效:步骤作为一个组显现。悬停时,每个数字从描边变为实心强调色文字,无布局偏移。
5. **现场指南预览** — 分栏标题:A result you can use after the confetti fades.。正文:Your [REPORT_NAME] turns the pattern into practical prompts for the next seven days.。列出四个包含的区块:Your pattern at a glance、Three strengths to protect、Two friction points to watch 和 A seven-day experiment.。在文案旁,绘制一个分层报告页模型,展示默认 Weaver 结果的这些精确示例行:Strength — You make room for better ideas by inviting other perspectives. Watch for — A crowded feedback loop can blur your own instinct. Try this week — Share a rough draft with one trusted person before adding more input.。最后以一个标注 Take the quiz 的按钮结束,从第一题开始。
布局:两栏 44%/56% 区块。左侧文案保持垂直居中。右侧是一个 520px 高的 Chalk 报告页,带 2px Ink 边框和错位的 Coral 与 Lilac 纸张。报告页有一个微型徽章、[REPORT_NAME]、三行带线内容行和一个七格周条。移动端将文案堆叠在 420px 高的报告模型上方。
动效:悬停时报告纸张分离 8px;阅读示例文本无需交互。
6. **问题与结尾邀请** — 使用五个无障碍手风琴项,一次仅一个打开,初始时第一个打开。Q: How long does the quiz take? A: Most people can finish eight visual questions in about two minutes. You can go back to change an answer before seeing the result. Q: Is this a scientific personality test? A: No. It is an original reflective exercise built around four creative-work patterns, not a validated assessment or clinical tool. Q: What happens to my answers? A: They stay in this browser tab only. Refreshing or leaving resets the quiz; no answer data is transmitted. Q: Will you email me the report? A: In this static demo, submitting the form unlocks the full report on screen. No email is sent or stored. Q: Can I retake it? A: Yes. Retake clears all eight answers and the unlocked report so you can start fresh.。在手风琴下方,添加一个 Coral 结尾面板,标题为 Ready to notice your pattern?,按钮为 [PRIMARY_CTA],注释为 Eight questions · No signup to see your result.。
布局:区块 id 为 questions。FAQ 是一个居中的 860px 列,垂直间距 16px,带边框的 Chalk 行,Plus 图标旋转为 X,答案在打开过渡后不会推移周围内容。结尾面板位于下方,全容器宽度,内边距 48px,右侧对齐一个抽象旭日图形。
动效:手风琴答案使用 180ms 不透明度和 6px 位移过渡。结尾面板显现一次,滚动时不重复动画。
7. **落地页页脚** — 页脚左侧:[BRAND] 和 Small reflections for more intentional work.。中间:Take the quiz、The patterns 和 Questions 控件,执行其命名操作。右侧:Built for reflection, not labels.。底部行:[CREDIT]。不要添加社交链接、地址、日期或虚构的公司指标。
布局:Ink 背景配 Chalk 文字,垂直内边距 40px,容器内三栏行,版权行上方有细 Chalk/20 分隔线。移动端左对齐堆叠。
动效:悬停时链接变为 Lime,带 160ms 颜色过渡。
8. **八题测验状态** — 按此固定顺序创建恰好八道原创默认题目。每题有四张答案卡,每个答案恰好为括号中的原型加一分;评分数据保持不可见。Q1 出现一张空白页面。你首先会拿起什么?| 一支松散的铅笔草图(Spark)| 一份简短清单(Anchor)| 与某人交谈(Weaver)| 绕街区走一圈(Pathfinder)。Q2 项目截止日期临近。你会…… | 大胆写出初稿(Spark)| 将工作拆分为检查点(Anchor)| 安排一次快速沟通(Weaver)| 从新角度重读任务简报(Pathfinder)。Q3 哪种工作空间有助于你思考?| 堆满材料的桌子(Spark)| 整洁桌面与清晰计划(Anchor)| 可交谈的共享工作室(Weaver)| 窗边座位与可漫步的空间(Pathfinder)。Q4 反馈最有用的时刻是它…… | 激发三种新可能(Spark)| 指出下一个具体修正点(Anchor)| 展示他人如何回应(Weaver)| 挑战核心假设(Pathfinder)。Q5 选择一个周六创意重置方式。| 无计划地做点什么(Spark)| 完成一个令人满足的小项目(Anchor)| 主持一次随意的创作聚会(Weaver)| 去一个不熟悉的地方(Pathfinder)。Q6 你的笔记本主要是…… | 片段与快速草图(Spark)| 清单、系统与修订(Anchor)| 引语、问题与共享想法(Weaver)| 观察与意外联系(Pathfinder)。Q7 停滞的项目通常需要…… | 一个有趣的限制(Spark)| 一个明确定义的下一步(Anchor)| 一双新鲜的眼睛(Weaver)| 距离与不同的输入(Pathfinder)。Q8 关于你的作品最好的赞美是…… | 它感觉有生命力(Spark)| 它确实行得通(Anchor)| 它把人们聚在一起(Weaver)| 它改变了我看事物的方式(Pathfinder)。在 src/content.ts 中为每个答案提供一句简短支持句和合适的 Lucide 图标。对于替代值,替换每个问题、答案、支持句和图标选择,使用同样具体且主题合适的内容,同时保持每题每个原型一个答案。
布局:测验主区域使用 max-width 980px 和 min-height calc(100svh - 76px)。顶部行以类似等宽的小号 DM Sans 大写显示 Question N of 8,一个文本 Back 控件仅在第一个问题时禁用,以及八个等宽进度段。其下方,一条 4px 全宽轨道带有 N/8 的 Lime 填充。居中放置 Chalk 问题卡,内边距 36px,小图标和主题标签,Fraunces 42px 问题,以及 2×2 答案网格。答案卡是全宽语义按钮,包含图标、答案标签、一行支持文本和 ArrowUpRight 图标;移动端使用单列和 32px 问题字号。包含一个 aria-live polite 步骤播报。点击答案会记录并在选中状态后前进;Back 会回看上一个答案而不丢失其他答案。退出测验返回落地页 hero,答案仅在刷新前保留;如果存在部分测验,则在 hero CTA 上显示 Resume quiz。
动效:选中的答案显示 Lime 填充和 Check 图标 240ms 后前进。问题过渡遵循共享的 280ms 模式;进度在每次回答后动画。减少动效时立即前进,没有 240ms 延迟。
9. **评分与计算过渡** — 第八题之后,汇总 Spark、Anchor、Weaver 和 Pathfinder 的得分。最高总分为主要原型。如果多个原型并列,选择最近回答的并列原型,从第八题向前扫描答案;如果仍然并列,使用固定顺序 Spark、Anchor、Weaver、Pathfinder。保留全部四个总分用于结果的模式组合。计算期间,显示 Finding the threads in your choices… 然后 Balancing your four patterns… 然后 Preparing your [REPORT_NAME]…,并有一个小型抽象四部分徽章自行组装。
布局:居中的 Chalk 卡片,max-width 620px,上方有一个 160px 代码绘制的徽章,下方是 34px Fraunces 状态行和三个小进度点。保留共享页头。这个短暂状态期间不需要用户控制,如果组件卸载必须清理计时器。
动效:使用 1100ms 总过渡,状态变化约在 0ms、370ms 和 740ms。在减少动效下,在结果前显示一条静态 Preparing your result… 消息,不超过 100ms。
10. **个性化结果 hero** — 默认结果内容:The Spark — Idea igniter — You turn possibility into motion. A rough sketch, a surprising constraint, or a quick prototype helps you discover what an idea can become. Recommendation: Choose one idea and make a deliberately rough version in 25 minutes; stop while the next move still excites you. The Anchor — Thoughtful finisher — You create momentum by giving good ideas a dependable shape. Clear checkpoints help you protect both quality and follow-through. Recommendation: Define the smallest finishable version of your current project, then schedule one distraction-free block to complete its first checkpoint. The Weaver — Creative connector — You do your clearest thinking in relation to other people. Conversation helps you test assumptions and notice what an idea means beyond your own perspective. Recommendation: Share a rough draft with one trusted person and ask a single focused question before gathering more feedback. The Pathfinder — Curious explorer — You find direction by stepping outside the obvious route. New places and unexpected inputs help you connect ideas others might miss. Recommendation: Collect three references from outside your usual field and turn one observed connection into a concrete sketch. 对于其他主题,重写全部四个结果名称、角色、描述和建议,同时保留它们的四个评分角色。结果标题为 Your pattern is [archetype name]。包含标签 A starting point, not a fixed type 和一个次要 Retake quiz 按钮。将 Pattern mix 显示为四条水平条,标注全部四个原型,计算为 count ÷ 8 × 100 并四舍五入到最接近的整数百分比;说明 Percentages show where your eight answers landed, not a scientific score。
布局:结果视图以双列 Chalk hero 卡开始。左侧包含 eyebrow YOUR [QUIZ_TOPIC] RESULT、56px Fraunces 原型标题、角色标签、18px 描述、一个 Lime 建议框和操作按钮。右侧包含一个 280px 原创 SVG 徽章,使用原型颜色,以及四条模式组合条。移动端将徽章堆叠在描述之后、建议之前;所有文本保持可读,无需解锁内容。
动效:以 420ms 淡入/上升显示结果文案、徽章和条形。结果出现后,条形在 600ms 内从 0 动画到实际宽度;减少动效时立即显示最终宽度。
11. **邮箱门控完整报告** — 在结果之后立即放置一个 Lilac 面板,eyebrow 为 GO A LITTLE DEEPER,标题为 Your [REPORT_NAME] is ready,正文为 Enter your email to unlock the on-screen report in this static demo。使用可见的 Email address 标签、带占位符 [email protected] 的邮箱输入框、required 和 type=email,以及按钮 Unlock my field guide。隐私说明:Demo only: no email is sent, transmitted, or stored。有效提交时,不要发起网络请求;在内存中设置解锁状态,将表单替换为 Unlocked below — no email was sent,并平滑显示报告。无效提交时,使用原生邮箱验证消息。报告包含四个部分:1 Your pattern at a glance — 重复主要描述并列出最高的两个模式及其答案计数。2 Three strengths to protect — 主要原型的三个主题特定优势。3 Two friction points to watch — 两个具体风险,各带一个纠正提示。4 A seven-day experiment — 七个简短每日行动,每个不超过 20 词,基于主要建议。对于默认 Weaver,包含优势 You invite useful perspectives、You make shared progress visible 和 You help ideas land with other people;摩擦提示 When does feedback become too many voices? 和 What do you think before asking the room?;以及七天序列 Choose one rough idea、Write your own goal first、Ask one trusted person、Listen for one surprise、Revise without polling、Share the finished piece 和 Note what you learned。最后以 Print or save this report 使用 window.print() 和一个 Start over 按钮结束,该按钮清除答案和锁定状态。
布局:锁定面板使用双列行,左侧文案,右侧紧凑表单。解锁报告在下方展开为 Chalk 纸张,max-width 960px,包含四个编号部分、宽松的分隔线和七行日期网格。打印样式在打印解锁报告时隐藏页头、页脚、按钮、装饰性图形和锁定面板,以黑白打印。没有虚假发送加载动画或伪造的送达确认。
动效:Unlock 使用 300ms 不透明度与 12px 上浮显现,并将焦点移至报告标题。在减少动效模式下,Start over 无动画地返回落地状态。
## 资产
- 图像:不使用任何栅格图像文件。所有主视觉、原型、报告和装饰性图形均使用指定的几何图案和调色板,以原创内联 SVG 和 CSS 创建。不要使用图像占位符或外部图像 URL。
- 图标:仅将本地打包的 lucide-react 图标用于界面和答案卡片图标,并保持一致的 1.8px 描边。在 ASSETS.md 中记录 lucide-react、https://github.com/lucide-icons/lucide、ISC 许可证。
- 字体:通过 @fontsource-variable/fraunces 自托管 Fraunces Variable,通过 @fontsource-variable/dm-sans 自托管 DM Sans Variable,两者均为 OFL-1.1。在本地导入包 CSS,并在 ASSETS.md 中列出这两个包及其许可证;切勿请求 Google Fonts 或其他字体 CDN。
## 不要做
- 不要添加后端、无服务器函数、API 路由、数据库、身份验证、真实表单端点、第三方 API 或依赖网络的行为。邮箱表单只解锁本地内容,绝不能声称已发送邮件。
- 不要传输、持久化或跟踪测验答案或邮箱输入。不要使用 localStorage、sessionStorage、cookie、分析工具、跟踪像素或隐藏遥测。
- 不要加载任何 CDN 脚本、样式表、字体、图标、图片或其他远程资源。打包所有依赖,并使用相对资源路径,Vite base 设为 './'。
- 不要使用 Unsplash、Pexels、Pixabay、占位图服务、Google Images、可识别的人物、真实肖像、动漫或游戏角色、第三方 logo、吉祥物、品牌产品或可识别的地标。
- 不要复制现有测验的名称、问题、答案、结果类型、确切文案、插图、图标、代码或科学框架。只使用本提示词中的原创内容模型,并针对替代变量重写。
- 不要将原型呈现为诊断、临床建议、心理测量、经过验证的评估、排名或固定特质。不要编造参与者数量、评分、推荐语或科学证据。
- 不要使用商业字体、fonts.googleapis.com、fonts.gstatic.com、Adobe Fonts、受限的 UI 源码、非宽松许可的包或固定技术栈之外的依赖。
- 不要添加路由器、裸目录链接、失效锚点、死按钮、虚假加载状态、无法复现结果的分享链接或无效社交链接。将完整体验保留在 index.html 中。
- 不要生成 source map、将 src/ 复制到 dist/、使 dist/ 超过 20 MB,或要求生产输出需要超过 npm run build 的步骤。
- 不要在组件中硬编码特定主题的文案,也不要在替代变量构建中保留 Moss & Meter 创意工作内容。将所有可编辑文案和示例数据保留在 src/content.ts 中,并全程使用美式英语。
- 除了可选渲染的 [CREDIT] 页脚链接外,不要在网站任何位置提及 VibeFather、其许可证、定价、指标或会员资格。不要添加 SEO 元数据、Open Graph 标签、JSON-LD、站点地图、分析工具或日期;一个普通的 [BRAND] 标题和 favicon 就足够了。
- 不要牺牲无障碍性或响应式行为:保持可见焦点、带标签的表单控件、可用键盘操作的答案和手风琴、aria-live 更新、减少动态效果支持、44px 触摸目标、零控制台错误,以及在 390×844 或 1440×900 下无水平溢出。
---
— Prompt by VibeFather · https://vibefather.ai/t/personality-quiz-funnel-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: "Personality Quiz Funnel Page"
colors:
paper: "#F5F0E6"
ink: "#20231F"
chalk: "#FFFDF7"
coral: "#F28C78"
lime: "#CBE47A"
lilac: "#C8B9E8"
teal: "#70B8A7"
muted_ink: "#62665E"
typography:
display_headlines_and_result_archetype_names: { family: "Fraunces Variable, self-hosted with @fontsource-variable/fraunces; optical sizing enabled", weights: [600, 700] }
body_navigation_buttons_form_labels_and_small_metadata: { family: "DM Sans Variable, self-hosted with @fontsource-variable/dm-sans", weights: [400, 500, 600, 700] }
spacing: "Use an 8px base grid. Landing sections have 104px desktop and 72px mobile vertical padding. Content max-width is 1240px with 40px desktop and 20px mobile gutters. Hero copy max-width is 610px. Card padding is 28–36px desktop and 20–24px mobile; button gaps are 12px."
radius: "Use 24px for major cards and the quiz stage, 16px for answer cards and inputs, 999px for buttons and small tags. Major cards have a 2px Ink border and a 6px 6px 0 #20231F offset shadow; hover lifts reduce that shadow to 3px 3px 0."
---
# Personality Quiz Funnel Page — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Paper** `#F5F0E6` — Main page background and quiet negative space
- **Ink** `#20231F` — Headlines, body text, borders, and dark panels
- **Chalk** `#FFFDF7` — Cards, inputs, and text on Ink panels
- **Coral** `#F28C78` — Spark accents, selected states, and decorative circles
- **Lime** `#CBE47A` — Primary buttons, progress fill, and Anchor accents
- **Lilac** `#C8B9E8` — Weaver cards and report-preview accents
- **Teal** `#70B8A7` — Pathfinder accents and secondary illustrations
- **Muted Ink** `#62665E` — Secondary copy and metadata
## Typography
- **Display headlines and result archetype names** — Fraunces Variable, self-hosted with @fontsource-variable/fraunces; optical sizing enabled (OFL), weights 600/700. Self-host the font files.
- **Body, navigation, buttons, form labels, and small metadata** — DM Sans Variable, self-hosted with @fontsource-variable/dm-sans (OFL), weights 400/500/600/700. Self-host the font files.
## Spacing & shape
- Spacing: Use an 8px base grid. Landing sections have 104px desktop and 72px mobile vertical padding. Content max-width is 1240px with 40px desktop and 20px mobile gutters. Hero copy max-width is 610px. Card padding is 28–36px desktop and 20–24px mobile; button gaps are 12px.
- Radius: Use 24px for major cards and the quiz stage, 16px for answer cards and inputs, 999px for buttons and small tags. Major cards have a 2px Ink border and a 6px 6px 0 #20231F offset shadow; hover lifts reduce that shadow to 3px 3px 0.
## Motion
- Landing sections reveal with opacity 0 to 1 and translateY(18px) to 0 over 500ms using ease-out, staggered by 70ms within a grid; never hide content when IntersectionObserver is unavailable.
- Primary buttons and answer cards translate 2px upward on hover and return on press over 160ms. Selected answers fill with Lime and show a check icon before advancing.
- Starting the quiz crossfades and slides the landing view out and quiz view in over 280ms. Each answer advances after a 240ms selected state; question content exits 8px left and enters 8px right.
- The progress bar and active segment animate width or color over 240ms. The calculating interlude lasts 1100ms and cycles three status phrases; result content follows with a 420ms fade and 14px rise.
- Decorative hero shapes float no more than 8px over six seconds and an orbit label rotates slowly over 24 seconds; disable both under prefers-reduced-motion.
- Under prefers-reduced-motion, remove reveals, floating, rotation, smooth scrolling, and slide transforms; use immediate state changes or opacity-only transitions under 80ms.
## Imagery
Use no photographs, AI-generated portraits, external illustrations, or raster placeholders. The hero's visual anchor is a rich, layered quiz UI mock with original CSS/SVG geometric artwork, answer cards, progress, a paper-grid backdrop, and offset color shapes. Give each archetype a reusable original SVG emblem: radiating strokes for Spark, a precise modular grid for Anchor, interlocking loops for Weaver, and a winding contour path for Pathfinder. Keep all geometry abstract and generic.
## Tone
Warm, perceptive, energetic, and specific. Use encouraging plain language rather than vague affirmations. Treat results as flexible creative patterns, never fixed identities, diagnoses, rankings, or scientific measurements.
---
— Prompt by VibeFather · https://vibefather.ai/t/personality-quiz-funnel-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 营养教练:将 BRAND 设为你的实践名称,把 QUIZ_TOPIC 设为饮食习惯反思,并将 REPORT_NAME 重命名为膳食计划入门指南。
- 创意工作室:保留默认的创意节奏主题,将原型描述替换为你团队的工作风格,并将 PRIMARY_CTA 指向你的新闻通讯。
- 周末旅行品牌:参考冒险演示,围绕旅行偏好重写八个问题,并将目的地候选清单作为报告门槛。
- 课程创作者:将测试用作课程匹配分类器,将 AUDIENCE 设为潜在学生,并解锁课程大纲预览而非指南。
性格测试引流落地页:常见问题
如何更改测试问题和结果以适配我自己的主题?
Personality Quiz Funnel Page 将每个问题、答案选项、原型描述、建议和报告部分都放在一个带类型的内容文件中。要更改主题,请设置 QUIZ_TOPIC 和 AUDIENCE,然后重写八个问题以及四个原型名称和描述以匹配。八题结构和四模式评分模型保持不变,因此交互和布局无需更改。
Personality Quiz Funnel Page 上的邮箱收集真的会收集地址吗?
不会。Personality Quiz Funnel Page 演示中的邮箱表单是明确标注的静态演示。它不会发送或存储答案或邮箱地址,测试将所有内容保留在浏览器标签页的内存中。要收集真实线索,请在演示之外将表单替换为你的邮箱服务,并将报告揭晓与成功注册关联。
怎么用 AI 做一个性格测试引流落地页?
复制本页的提示词,或者运行 npx vibefather add personality-quiz-funnel-page,把 [BRAND]、[AUDIENCE]、[QUIZ_TOPIC]、[PRIMARY_CTA] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。