跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

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

关于这个模板

一个面向虚构年轻赛车手的编辑风格、手势驱动的个人品牌网站。在首屏旋转由 Three.js 雕刻的 3D 全盔,滚动或切换赛季版本时,它会平滑地在三种不同的赛季涂装之间变形。探索赛季仪表盘(交互式代码绘制的全球赛道日历、逐轮结果表和累计积分图表),在 Grand Prix 赛道上拖动回放实时圈速,附带实时速度、挡位、转速和 G 力遥测,查看磁性幕后围场卡片,浏览虚构合作伙伴,将复刻头盔和周边加入本地演示商店购物车,并生成保存到 localStorage 的个性化数字 Fan Club 通行证。

模板提示词

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

# Racing Driver Personal Website

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

## Brief
Build an award-caliber interactive personal brand website for fictional young racing driver [DRIVER_NAME] ([CAR_NUMBER], driving for [TEAM_NAME] in [SERIES_NAME]). Anchor the hero with a draggable sculpted Three.js 3D racing helmet built entirely in code (no model files) that smoothly morphs across three distinct season liveries (Season I Cobalt Velocity, Season II Safety Flare, Season III Midnight Carbon) as the visitor scrolls or clicks livery chips. Follow with a Season Dashboard (interactive code-drawn globe circuit calendar across 8 fictional tracks, round results table, and SVG points chart), an 'On Track' scroll-scrubbed and slider-scrubbed lap replay on a code-drawn circuit with live Speed, Gear, RPM, and G-Force readouts, magnetic behind-the-scenes paddock cards, a strip of fictional partners, a Replica Helmet & Merch store with a working local cart drawer, and a localStorage Fan Club digital pass generator. Use Graphite (#121417), Electric Cobalt (#2F6BFF), Safety Orange (#FF6A1A), and Chalk (#F2F2EF) with condensed sporty display typography—zero neon yellow, zero real motorsport brands, and zero 4-digit years.

- Audience: Motorsport fans, prospective sponsors, and interactive-design enthusiasts.
- Goal: Deliver immediate 3D tactile presence in the hero followed by kinetic race telemetry and rich interactive sections that feel effortless on desktop and 390px mobile.
- Tone: Kinetic, precision-engineered, confident motorsport editorial.

## Stack
- Framework: Vite 6 + React 18 + TypeScript
- Styling: Tailwind CSS 4
- Libraries: three (MIT), @types/three (MIT), lucide-react (ISC), @fontsource/barlow-condensed (OFL-1.1), @fontsource/inter (OFL-1.1), @fontsource/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Set base: './' and build: { sourcemap: false } in vite.config.ts.
  - Import @fontsource/barlow-condensed (600, 700, 800), @fontsource/inter (400, 500, 600), and @fontsource/jetbrains-mono (500, 600, 700) in src/main.tsx.
  - Build the draggable procedural Three.js 3D full-face racing helmet in src/components/HelmetHero3D.tsx with dynamic CanvasTexture livery decals ([CAR_NUMBER] + racing stripes), sculpted chin spoiler, tinted reflective wrap-around visor, studio rim lighting, smooth color/livery morphing across 3 seasons, and preserveDrawingBuffer: true.
  - Store all fictional driver profile stats, 8 circuits, results, points, lap telemetry path, BTS stories, fictional partners, and store SKUs in src/data/driverData.ts (zero real teams, sponsors, or calendar dates).
  - Implement the interactive code-drawn globe circuit calendar, scroll-scrubbed circuit lap replay with live telemetry, local demo store cart drawer, and localStorage Fan Club pass card.

## Variables
- [DRIVER_NAME] — Driver Name (default: "Kaelen Vance"). Fictional racing driver full name
- [CAR_NUMBER] — Racing Number (default: "#47"). Driver race number printed on helmet and merch
- [TEAM_NAME] — Fictional Team Name (default: "Voltara Motorsport"). Fictional racing team name
- [SERIES_NAME] — Fictional Series Name (default: "Apex World Touring"). Fictional championship name
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/racing-driver-personal-website in the footer (default: yes; delete this line to remove it)

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

Pro 模板

解锁完整提示词和源码

  • 完整提示词:设计、版块、动效、素材
  • 每个在线演示的源码
  • 商用授权

在线演示和 DESIGN.md 仍然免费。

$9/月起 · 年付和终身正在上线特惠

DESIGN.md

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

---
name: "Racing Driver Personal Website"
colors:
  carbon_graphite: "#121417"
  electric_cobalt: "#2F6BFF"
  safety_orange: "#FF6A1A"
  track_chalk: "#F2F2EF"
  paddock_slate: "#1C2027"
typography:
  driver_wordmark_race_numbers_display_headlines: { family: "Barlow Condensed", weights: [600, 700, 800] }
  editorial_copy_store_details: { family: "Inter", weights: [400, 500, 600] }
  lap_times_speed_gear_points_telemetry: { family: "JetBrains Mono", weights: [500, 600, 700] }
spacing: "Full-bleed 3D helmet studio hero followed by alternating dense telemetry dashboards and crisp editorial bands inside a 1280px max-width grid with zero overflow on 390px mobile."
radius: "14px technical beveled cards with 1px subtle chalk borders; crisp pill buttons for season liveries and section anchors."
---

# Racing Driver Personal Website — Design System

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

## Colors
- **Carbon Graphite** `#121417` — Primary dark editorial backdrop and studio floor
- **Electric Cobalt** `#2F6BFF` — Primary brand accent, active telemetry, and Season I livery
- **Safety Orange** `#FF6A1A` — High-speed accents, apex kerbs, and Season II livery
- **Track Chalk** `#F2F2EF` — Crisp editorial headings, light contrast panels, and chalk accents
- **Paddock Slate** `#1C2027` — Card surfaces, dashboard borders, and telemetry instruments

## Typography
- **Driver Wordmark, Race Numbers & Display Headlines** — Barlow Condensed (OFL), weights 600/700/800. Self-host the font files.
- **Editorial Copy & Store Details** — Inter (OFL), weights 400/500/600. Self-host the font files.
- **Lap Times, Speed, Gear & Points Telemetry** — JetBrains Mono (OFL), weights 500/600/700. Self-host the font files.

## Spacing & shape
- Spacing: Full-bleed 3D helmet studio hero followed by alternating dense telemetry dashboards and crisp editorial bands inside a 1280px max-width grid with zero overflow on 390px mobile.
- Radius: 14px technical beveled cards with 1px subtle chalk borders; crisp pill buttons for season liveries and section anchors.

## Motion
- Pointer-drag 360° inertial helmet rotation with smooth livery color & rim-light morphing synced to scroll progress and livery pills.
- Scroll-scrubbed + slider-scrubbed glowing car marker lapping the code-drawn circuit with live Speed, Gear, RPM, and G-force updates.
- Subtle magnetic tilt hover on behind-the-scenes paddock cards and store replicas.
- Respect prefers-reduced-motion by disabling inertial spin and magnetic hover while keeping all controls fully interactive.

## Imagery
100% code-built Three.js 3D sculpted racing helmet with canvas-painted livery textures, interactive code-drawn globe calendar, vector circuit telemetry map, graphic paddock art cards, and SVG replica helmet store previews.

## Tone
Kinetic, precision-engineered, confident motorsport editorial.

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

改成你自己的

  • 卡丁车或初级方程式车手:设置 DRIVER_NAME、CAR_NUMBER、TEAM_NAME 和 SERIES_NAME,然后将三种头盔涂装和八赛道日历替换为你自己的赛季。
  • 模拟赛车创作者:保留 3D 头盔和圈速遥测,将结果表替换为你的联赛积分榜,并将周边商店指向你自己的复刻装备。
  • 赛车运动车队或赞助推介:使用围场卡片和合作伙伴条展示你的阵容和赞助商,并围绕车队赛季重写仪表盘文案。
  • 赛车学校或体验日:将 Fan Club 通行证重命名为预约通行证,在全球日历中列出你的赛道,并将商店设置为头盔和驾驶装备。

赛车手个人网站:常见问题

赛车手个人网站模板里可拖拽的 3D 头盔是什么,它是如何变形的?

赛车手个人网站模板完全用 Three.js 代码构建全盔,无需模型文件。访客在首屏拖拽旋转头盔,滚动或点击涂装标签时,头盔会在 Cobalt Velocity、Safety Flare 和 Midnight Carbon 三种赛季涂装之间变形。头盔带有以纹理绘制的 CAR_NUMBER 贴花和赛车条纹,因此更改号码就会改变头盔。

如何在这个赛车手模板中更改车手姓名、车队和车号?

赛车手个人网站模板提供四个变量:DRIVER_NAME、CAR_NUMBER、TEAM_NAME 和 SERIES_NAME。将它们设为你的车手、号码以及虚构的车队和系列赛,然后重写内容文件中的标题、段落和标签,使文案匹配。头盔号码、周边、结果表和 Fan Club 通行证都读取这些相同的值。

赛车手个人网站模板中的周边购物车和 Fan Club 通行证如何运作?

赛车手个人网站模板包含复刻头盔和周边商店,带有可用的本地购物车抽屉,访客无需后端即可添加商品并查看购物车。Fan Club 生成器会创建个性化数字通行证,并保存到访客浏览器的 localStorage 中。两者都是前端演示,因此上线前请将购物车接入你自己的结账系统,并将通行证接入真实的注册列表。

怎么用 AI 做一个赛车手个人网站?

复制本页的完整提示词(Pro),或者运行 npx vibefather add racing-driver-personal-website,把 [TEAM_NAME]、[CAR_NUMBER]、[DRIVER_NAME]、[SERIES_NAME] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。