跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

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

关于这个模板

一个单页幻灯片,在浏览器中运行会议演讲:七种幻灯片类型(标题、议程、陈述、要点、代码、双栏、结尾)完全由键盘驱动——方向键和空格前进,Home/End 跳转,数字键跳到第 N 张幻灯片,G 打开概览网格,S 打开演讲者备注;每张幻灯片都可深度链接(#/3),计数器和细进度条始终可见。代码幻灯片使用大号等宽字体,搭配一个微型手写分词器进行高亮和行焦点步进;美学风格是舞台黑配一个暖色聚光灯强调色和巨大的展示字体——零图片,一切用代码绘制。打印样式表每页输出一张幻灯片作为讲义。默认幻灯片展示一位虚构演讲者的虚构演讲,但结构适合任何技术或叙事演讲。所有文案都放在一个类型化文件中;替换变量即可重写整份幻灯片。

模板提示词

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

# Conference Talk Slide Deck

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

## Brief
A slide website for [TALK], a 20-minute talk by [SPEAKER]: nine slides across seven types, keyboard-driven, with an overview grid, speaker notes, deep links and a print handout. One page, index.html; everything runs in the browser.

- Audience: A speaker rehearsing at their desk and an audience reading the deck later from a link. Both need big type, obvious progress, and zero clicking.
- Goal: Present fluently. Within five seconds the deck advances with a keypress; within a minute the visitor has opened the overview and jumped to a slide.
- Tone: Stage-confident: short lines, big claims earned by the next slide. One joke per three slides.

## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: react (MIT), react-dom (MIT), motion (motion.dev, import from 'motion/react') (MIT), lucide-react (ISC), tailwindcss (MIT), postcss (MIT), autoprefixer (MIT), vite (MIT), @vitejs/plugin-react (MIT), typescript (Apache-2.0), @fontsource-variable/bricolage-grotesque (OFL-1.1), @fontsource-variable/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:
  - Scaffold with npm create vite@latest using the react-ts template (pin the version if the latest template targets newer majors), then keep one real HTML page: index.html (entry src/main.tsx).
  - vite.config.ts: base './', plugins [react()], build { outDir 'dist', sourcemap false, assetsInlineLimit 0 }. Do not copy src/ into dist/.
  - Tailwind 3.4 through PostCSS, content ['./index.html', './src/**/*.{ts,tsx}']. In tailwind.config.ts add every color under Design to theme.extend.colors with kebab-case keys (stage, stage-2, line, bone, mist, spotlight, spotlight-deep, spotlight-mist, good) and fontFamily display ['Bricolage Grotesque Variable', 'system-ui', 'sans-serif'], sans ['Inter Variable', 'system-ui', 'sans-serif'], mono ['JetBrains Mono', 'ui-monospace', 'monospace']. Set borderRadius DEFAULT to 8px and add maxWidth { deck: '1180px' }.
  - In src/fonts.ts import '@fontsource-variable/bricolage-grotesque', '@fontsource-variable/inter' and '@fontsource/jetbrains-mono/400.css' plus '500.css'; import src/fonts.ts and src/index.css from the entry file.
  - File layout: src/content.ts (the talk: speaker, title, venue line, slides — a discriminated union of the seven types with every string typed; each slide carries its own speaker note), src/lib/brand.ts (speakerSlug = [SPEAKER] lowercased with every run of non-alphanumeric characters replaced by '-', talkSlug from [TALK]), src/lib/highlight.ts (the tiny tokenizer for code slides: regex spans for strings, numbers, comments, keywords, functions — returns React-safe token arrays, no dangerouslySetInnerHTML).
  - State: src/store/deck.ts is a tiny external store (useSyncExternalStore) holding { index, overviewOpen, notesOpen } and syncing the hash (#/3) both ways (hashchange listener + replaceState on navigation).
  - Keyboard: a single window keydown handler — ArrowRight/ArrowLeft/Space/Backspace navigate (Space and Backspace never scroll: preventDefault when the deck has focus context), Home/End jump, digits 1–9 jump to that slide, G toggles overview, S toggles notes, Escape closes overlays. All buttons that mirror keys carry the key hint in mono chips.
  - Components in src/components/: Deck.tsx (SlideFrame.tsx with ProgressBar.tsx, Counter.tsx, KeyHints.tsx), slides/TitleSlide.tsx, AgendaSlide.tsx, StatementSlide.tsx, BulletsSlide.tsx (BulletRow.tsx), CodeSlide.tsx (CodeBlock.tsx, FocusHint.tsx), TwoColSlide.tsx, ClosingSlide.tsx; OverviewGrid.tsx (MiniSlide.tsx), NotesDrawer.tsx. src/pages/DeckPage.tsx composes them.
  - CodeSlide: the sample occupies the left 7 cols at JetBrains Mono 400 20px / 1.7 on Stage 2; the tokenizer colors tokens per the palette; the right 4 cols carry the slide's point and a FocusHint ('← → step lines'): pressing ArrowUp/ArrowDown (when the code slide is active and no overlay is open) moves a Spotlight 2px underline between numbered lines, dimming others to 40%. The stepping is optional decoration — the full code is always visible.
  - OverviewGrid: press G — a scrim over the deck with a 3-column grid of MiniSlides (scaled-down live renders, aria-labels with slide titles); arrow keys move a Spotlight selection ring, Enter jumps, Escape/G closes.
  - NotesDrawer: press S — a bottom drawer (240px) with the current slide's speaker note in Inter 15px Mist, a 'Notes are yours, not the audience's' caption, and next/prev mirrors.
  - Slide transitions: incoming slides fade in place (opacity + 8px scale 0.995→1, 320ms --ease-out); outgoing exit instantly. Under prefers-reduced-motion: instant swaps, no transitions anywhere.
  - Print stylesheet (@media print in index.css): one slide per page (each SlideFrame breaks to a new page, backgrounds preserved via print-color-adjust: exact), progress bar and overlays hidden; @page margin 12mm. A quiet 'Print handout' button (Printer icon) beside the counter.
  - public/favicon.svg as described under Assets. index.html: lang en, <meta name='theme-color' content='#0C0D10'>, <link rel='icon' href='./favicon.svg' type='image/svg+xml'>, <title>[TALK] — slides</title>.
  - Write ASSETS.md at the project root as described under Assets.
  - dist/ holds index.html, hashed JS/CSS, the woff2 fonts and favicon.svg. Keep it under 3 MB.

## Variables
- [SPEAKER] — Speaker name (default: "Elena Marsh"). The invented speaker's name. Used on the title slide, closing slide and footer line. Never a real speaker.
- [TALK] — Talk title (default: "Ship Small, Sleep Well"). The talk's title, title case. Drives the title slide, document.title and the deck's voice. Invented, not a real talk.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/conference-talk-slide-deck 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
- Stage `#0C0D10` — The deck's ground everywhere.
- Stage 2 `#131519` — Code panels, overview tiles, notes drawer.
- Line `#23262D` — 1px hairlines: progress bar track, code panel border, drawer border.
- Bone `#F2EFE9` — Slide text — headlines, bullets, statements.
- Mist `#8E939D` — Meta text: counters, key hints, captions, notes.
- Spotlight `#E8B44A` — The one warm accent: the progress bar fill, active rings, key-hint chips, code focus underline, links.
- Spotlight Deep `#C99633` — Pressed states.
- Spotlight Mist `#2E2712` — Selected overview tiles, code keyword tint.
- Good `#7FB069` — Code strings and the closing slide's thanks dot.

### Typography
- Display: title, statements, bullet leads — Bricolage Grotesque, big and warm: Bricolage Grotesque (OFL), weights 400/600
- Text and UI: agenda, two-column copy, notes, counters: Inter (OFL), weights 400/500/600
- Mono: code, key hints, slide numbers: JetBrains Mono (OFL), weights 400/500

### Layout & motion
- Spacing: The deck fills the viewport (100dvh) with 72px side padding desktop, 24px under 640px; slides center their content vertically. Type scale — the stage rule: if it can't be read from the back row, it's too small. Title slide title clamp(56px, 9vw, 120px) Bricolage 600; statement slides clamp(44px, 7vw, 96px); bullet leads 34px; agenda items 26px; two-column copy 20px / 1.65; code 20px / 1.7; meta and key hints 13px mono/Inter. Buttons: height 40px, Inter 600 13px; ghost 1px Line border. Focus everywhere: 2px Spotlight outline, 3px offset.
- Radius: 8px on code panels and tiles; 999px for key-hint chips and the counter pill.
- Motion: Easing: --ease-out cubic-bezier(0.22, 0.61, 0.36, 1). Projector-calm: one move per action.
- Motion: Slide transitions as specified: fade-in-place 320ms; bullets and agenda rows stagger 60ms within their slide on entry; the statement slide's word underline draws once (400ms).
- Motion: Code focus: the Spotlight underline moves between lines with a 160ms ease; non-focused lines dim 180ms.
- Motion: Overview: the scrim fades 160ms; tiles rise 8px staggered 30ms; the selection ring moves with a 160ms ease.
- Motion: Notes drawer: slides up 200ms; Escape reverses.
- Motion: Progress bar: the fill width follows the slide index with a 260ms ease; the counter crossfades on change.
- Motion: prefers-reduced-motion: reduce — instant slide swaps, no staggers, no ring easing (it jumps), no underlines drawing; everything readable and fully usable. Use CSS @media in index.css plus Motion's useReducedMotion.
- Imagery: Zero images: the deck is type on black with the Spotlight accent; code colors come from the palette (strings Good, keywords Spotlight Mist-tinted, numbers Mist-bright, comments Mist-dim). Icons: lucide-react only, stroke width 1.75. The favicon is drawn SVG. No photos, no logos, no sponsor bars.

## Pages & Sections
### Deck (`index.html`)
1. **Content file and copy rules** — All copy below is written for the defaults ([SPEAKER] = Elena Marsh, [TALK] = Ship Small, Sleep Well). Put every string and note in src/content.ts and render from it. If any variable differs, rewrite all nine slides so they present that talk believably, keeping the same structure and slide-type sequence. Slides: 1 TITLE — the talk title huge, '[SPEAKER]' and the venue line 'SampleConf · Main stage (sample)' in Mist; 2 AGENDA — 'Three honest failures' with three items ('A launch that hurt', 'The rewrite that didn't', 'What I ship now'); 3 STATEMENT — 'Small ships sleep well.'; 4 BULLETS — 'What small actually means' with four leads ('One screen', 'One dependency less', 'One honest promise', 'One rollback plan') each with a one-line sub; 5 CODE — 'The whole check, honestly' with a 12-line TypeScript snippet (a tiny deployCheck function with strings, numbers, comments) and the point 'If it fits on a slide, it fits in your head'; 6 TWO-COL — 'The launch that hurt' (left: 3 short paragraphs; right: a mono 'postmortem, abridged' list of 4 lines); 7 STATEMENT — 'Boring is a feature you ship.'; 8 BULLETS — 'Monday, at your desk' with three actions ('Delete one thing', 'Write the rollback first', 'Tell one user the truth'); 9 CLOSING — 'Thank you.' + '[SPEAKER]' + 'Slides stay at this link (sample)' + the thanks dot. Every slide carries a 1–2 sentence speaker note (sample: slide 3's note 'Pause here. Let it sit for three seconds.'). All conference names and outcomes are invented sample content; jokes land on slides 2, 6 and 9.
   Layout: n/a
   Motion: n/a
2. **Deck chrome** — SlideFrame wraps every slide: a 2px progress bar (Line track, Spotlight fill) fixed top; bottom-left the counter pill ('3 / 9' mono); bottom-right KeyHints ('← → move · G grid · S notes' with mono chips) and the Print handout ghost button. The chrome hides during print.
   Layout: Fixed chrome; the slide content area centers within.
3. **Overlays** — OverviewGrid (G): a 3-column grid of scaled MiniSlides with titles and numbers; the Spotlight ring selects via arrows; Enter jumps; Escape closes. NotesDrawer (S): the current slide's note, prev/next mirrors, and the caption 'Notes are yours, not the audience's.'
   Layout: Overview: full-viewport scrim (Stage at 88%); notes: bottom drawer 240px with Line top border.

## Assets
- image: No images at all: the deck is type, code and accent color drawn in code. Do not fetch or hotlink anything.
- image: Write ASSETS.md at the project root listing the code-drawn assets (progress bar, key-hint chips, code highlighting, favicon — 'drawn in code, original') and the npm packages: @fontsource-variable/bricolage-grotesque, @fontsource-variable/inter, @fontsource/jetbrains-mono (OFL-1.1) and lucide-react (ISC).
- icon: lucide-react only: ArrowLeft, ArrowRight, Grid3x3, NotebookPen, Printer, X. Stroke width 1.75, 14–18px, color inherits. public/favicon.svg: viewBox 0 0 32 32, a 32x32 rounded square filled #0C0D10 with a 1.5px #E8B44A border, a #E8B44A right-pointing chevron centered. No brand logos.
- font: Install @fontsource-variable/bricolage-grotesque, @fontsource-variable/inter and @fontsource/jetbrains-mono and import them in src/fonts.ts as listed in Setup. Vite bundles the woff2 files into dist/.

## Don'ts
- No backend, no form submission, no fetch to API, no keyboard-shortcut libraries: one window keydown handler does everything; the hash is the only persistence.
- Every internal link is the deck itself (./index.html#/4) — never a bare directory; opening without a hash shows slide 1.
- No real conferences, talks, speakers or their slides; the talk, venue line and outcomes are invented sample content.
- No reveal.js, Spectacle or any slide library; no highlighter library — highlighting is the hand-rolled tokenizer with no dangerouslySetInnerHTML.
- No images, photos, logos or sponsor bars; everything is code-drawn type and color.
- No dates or years; the venue line is static sample text.
- Self-host everything: fonts through Fontsource, icons as npm packages or inline SVG. No CDN <script> or <link> tags, no Google Fonts, no analytics.
- Production build: minified, no source maps, no src/ copied into dist/, single command npm run build, output in dist/ under 3 MB.
- Never mention VibeFather inside the site except a tiny chrome caption 'Built with a VibeFather template' linking https://vibefather.ai in the closing slide's corner.
- Respect prefers-reduced-motion: instant swaps, no staggers; the deck remains fully keyboard-driven.
- The deck must work at 1440x900 desktop and 390x844 mobile (touch: left/right halves of the screen tap-advance; key hints mention both) with zero console errors; every keyboard path works, focus rings are visible on all chrome buttons, and Space never scrolls the page.
- Accessibility: slides are real regions with aria-labels; the counter and progress update aria-live politely; overview tiles are buttons with slide titles.

---
— Prompt by VibeFather · https://vibefather.ai/t/conference-talk-slide-deck · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 会议演讲幻灯片

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

## 简介
一个为 [TALK] 制作的幻灯片网站,这是 [SPEAKER] 的 20 分钟演讲:七种类型共九张幻灯片,键盘驱动,带有概览网格、演讲者备注、深层链接和打印讲义。单页 index.html;一切都在浏览器中运行。

- 受众:在办公桌前排练的演讲者,以及之后通过链接阅读演示文稿的观众。两者都需要大字号、明显的进度和零点击。
- 目标:流畅地演示。五秒内,演示文稿通过按键前进;一分钟内,访客已打开概览并跳转到某张幻灯片。
- 语气:舞台自信:短句,大胆主张由下一张幻灯片兑现。每三张幻灯片一个笑话。

## 技术栈(Stack)
- 框架(Framework):Vite 5 + React 18 + TypeScript
- 样式(Styling):Tailwind CSS 3.4
- 库(Libraries):react(MIT)、react-dom(MIT)、motion(motion.dev,从 'motion/react' 导入)(MIT)、lucide-react(ISC)、tailwindcss(MIT)、postcss(MIT)、autoprefixer(MIT)、vite(MIT)、@vitejs/plugin-react(MIT)、typescript(Apache-2.0)、@fontsource-variable/bricolage-grotesque(OFL-1.1)、@fontsource-variable/inter(OFL-1.1)、@fontsource/jetbrains-mono(OFL-1.1)
- 构建(Build):`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。
- 初始化(Setup):
  - 使用 npm create vite@latest 以 react-ts 模板搭建脚手架(如果最新模板面向更新的主版本,则固定版本),然后保留一个真实的 HTML 页面:index.html(入口 src/main.tsx)。
  - vite.config.ts:base './',plugins [react()],build { outDir 'dist', sourcemap false, assetsInlineLimit 0 }。不要将 src/ 复制到 dist/。
  - 通过 PostCSS 使用 Tailwind 3.4,content ['./index.html', './src/**/*.{ts,tsx}']。在 tailwind.config.ts 中,将设计(Design)下的每种颜色以 kebab-case 键添加到 theme.extend.colors(stage、stage-2、line、bone、mist、spotlight、spotlight-deep、spotlight-mist、good),并设置 fontFamily display ['Bricolage Grotesque Variable', 'system-ui', 'sans-serif']、sans ['Inter Variable', 'system-ui', 'sans-serif']、mono ['JetBrains Mono', 'ui-monospace', 'monospace']。将 borderRadius DEFAULT 设为 8px,并添加 maxWidth { deck: '1180px' }。
  - 在 src/fonts.ts 中导入 '@fontsource-variable/bricolage-grotesque'、'@fontsource-variable/inter' 以及 '@fontsource/jetbrains-mono/400.css' 和 '500.css';从入口文件导入 src/fonts.ts 和 src/index.css。
  - 文件布局:src/content.ts(演讲内容:演讲者、标题、场地行、幻灯片——七种类型的可辨识联合,每个字符串都有类型;每张幻灯片携带自己的演讲者备注)、src/lib/brand.ts(speakerSlug = [SPEAKER] 转为小写,并将每一段非字母数字字符替换为 '-',talkSlug 来自 [TALK])、src/lib/highlight.ts(用于代码幻灯片的微型分词器:针对字符串、数字、注释、关键字、函数的正则跨度——返回 React 安全的 token 数组,不使用 dangerouslySetInnerHTML)。
  - 状态(State):src/store/deck.ts 是一个小型外部存储(useSyncExternalStore),持有 { index, overviewOpen, notesOpen },并双向同步 hash(#/3)(hashchange 监听器 + 导航时 replaceState)。
  - 键盘(Keyboard):单个 window keydown 处理器——ArrowRight/ArrowLeft/Space/Backspace 导航(Space 和 Backspace 永不滚动:当 deck 具有焦点上下文时 preventDefault),Home/End 跳转,数字 1–9 跳转到该幻灯片,G 切换概览,S 切换备注,Escape 关闭覆盖层。所有镜像按键的按钮都在 mono 芯片中携带按键提示。
  - src/components/ 中的组件:Deck.tsx(SlideFrame.tsx 搭配 ProgressBar.tsx、Counter.tsx、KeyHints.tsx)、slides/TitleSlide.tsx、AgendaSlide.tsx、StatementSlide.tsx、BulletsSlide.tsx(BulletRow.tsx)、CodeSlide.tsx(CodeBlock.tsx、FocusHint.tsx)、TwoColSlide.tsx、ClosingSlide.tsx;OverviewGrid.tsx(MiniSlide.tsx)、NotesDrawer.tsx。src/pages/DeckPage.tsx 组合它们。
  - CodeSlide:示例占据左侧 7 列,使用 JetBrains Mono 400 20px / 1.7,位于 Stage 2 上;分词器按调色板为 token 着色;右侧 4 列承载幻灯片的要点和一个 FocusHint('← → step lines'):按下 ArrowUp/ArrowDown(当代码幻灯片处于活动状态且没有覆盖层打开时)会在编号行之间移动一个 Spotlight 2px 下划线,将其他行变暗至 40%。步进是可选的装饰——完整代码始终可见。
  - OverviewGrid:按 G——在 deck 上方出现一个遮罩,带有 3 列 MiniSlides 网格(缩小的实时渲染,aria-labels 带有幻灯片标题);方向键移动 Spotlight 选择环,Enter 跳转,Escape/G 关闭。
  - NotesDrawer:按 S——一个底部抽屉(240px),以 Inter 15px Mist 显示当前幻灯片的演讲者备注,一个 'Notes are yours, not the audience's' 说明文字,以及 next/prev 镜像。
  - 幻灯片过渡(Slide transitions):进入的幻灯片原地淡入(opacity + 8px scale 0.995→1,320ms --ease-out);退出的幻灯片立即退出。在 prefers-reduced-motion 下:即时切换,任何地方都没有过渡。
  - 打印样式表(index.css 中的 @media print):每页一张幻灯片(每个 SlideFrame 分页到新页面,背景通过 print-color-adjust: exact 保留),进度条和覆盖层隐藏;@page margin 12mm。计数器旁边有一个安静的 'Print handout' 按钮(Printer 图标)。
  - public/favicon.svg 如资源(Assets)下所述。index.html:lang en,<meta name='theme-color' content='#0C0D10'>,<link rel='icon' href='./favicon.svg' type='image/svg+xml'>,<title>[TALK] — slides</title>。
  - 在项目根目录编写 ASSETS.md,如资源(Assets)下所述。
  - dist/ 包含 index.html、带哈希的 JS/CSS、woff2 字体和 favicon.svg。保持在 3 MB 以下。

## 变量
- [SPEAKER] — 演讲者姓名(默认:“Elena Marsh”)。虚构演讲者的名字。用于标题幻灯片、结束幻灯片和页脚行。绝不使用真实演讲者。
- [TALK] — 演讲标题(默认:“Ship Small, Sleep Well”)。演讲的标题,采用标题大小写。驱动标题幻灯片、document.title 和演示文稿的语气。虚构内容,并非真实演讲。
- [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接,指向 https://vibefather.ai/t/conference-talk-slide-deck(默认:是;删除此行即可移除)

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

## 设计
### 颜色(Colors)
- 舞台(Stage)`#0C0D10` — 演示文稿各处的底色。
- 舞台 2(Stage 2)`#131519` — 代码面板、概览磁贴、备注抽屉。
- 线条(Line)`#23262D` — 1px 细线:进度条轨道、代码面板边框、抽屉边框。
- 骨白(Bone)`#F2EFE9` — 幻灯片文字 — 标题、要点、陈述。
- 薄雾(Mist)`#8E939D` — 元信息文字:计数器、按键提示、说明文字、备注。
- 聚光(Spotlight)`#E8B44A` — 唯一的暖色强调:进度条填充、激活环、按键提示标签、代码焦点下划线、链接。
- 深聚光(Spotlight Deep)`#C99633` — 按下状态。
- 聚光薄雾(Spotlight Mist)`#2E2712` — 选中的概览磁贴、代码关键字着色。
- 良好(Good)`#7FB069` — 代码字符串和结束幻灯片上的感谢圆点。

### 字体排印(Typography)
- 展示字体:标题、陈述、要点引导句 — Bricolage Grotesque,大而温暖:Bricolage Grotesque (OFL),字重 400/600
- 文本与 UI:议程、双栏文案、备注、计数器:Inter (OFL),字重 400/500/600
- 等宽字体:代码、按键提示、幻灯片编号:JetBrains Mono (OFL),字重 400/500

### 布局与动效(Layout & motion)
- 间距:演示文稿填满视口(100dvh),桌面端两侧内边距 72px,640px 以下为 24px;幻灯片内容垂直居中。字号比例 — 舞台规则:如果后排看不清,就是太小了。标题幻灯片标题 clamp(56px, 9vw, 120px) Bricolage 600;陈述幻灯片 clamp(44px, 7vw, 96px);要点引导句 34px;议程项 26px;双栏文案 20px / 1.65;代码 20px / 1.7;元信息与按键提示 13px 等宽/Inter。按钮:高度 40px,Inter 600 13px;幽灵按钮 1px 线条边框。全局焦点:2px 聚光描边,3px 偏移。
- 圆角:代码面板和磁贴为 8px;按键提示标签和计数器胶囊为 999px。
- 动效:缓动:--ease-out cubic-bezier(0.22, 0.61, 0.36, 1)。投影仪般平静:每个动作只做一次移动。
- 动效:幻灯片过渡按规范:原地淡入 320ms;要点和议程行在进入时于其幻灯片内以 60ms 错开;陈述幻灯片的单词下划线绘制一次(400ms)。
- 动效:代码焦点:聚光下划线在行间以 160ms 缓动移动;非焦点行以 180ms 变暗。
- 动效:概览:遮罩淡入 160ms;磁贴上升 8px,错开 30ms;选中环以 160ms 缓动移动。
- 动效:备注抽屉:上滑 200ms;Escape 反向。
- 动效:进度条:填充宽度随幻灯片索引以 260ms 缓动变化;计数器在变化时交叉淡入淡出。
- 动效:prefers-reduced-motion: reduce — 即时幻灯片切换,无错开,无环缓动(直接跳变),无下划线绘制;一切可读且完全可用。在 index.css 中使用 CSS @media,外加 Motion 的 useReducedMotion。
- 图像:零图片:演示文稿是黑底文字加聚光强调;代码颜色来自调色板(字符串为 Good,关键字为 Spotlight Mist 着色,数字为 Mist 提亮,注释为 Mist 变暗)。图标:仅 lucide-react,描边宽度 1.75。favicon 为绘制的 SVG。无照片、无徽标、无赞助商栏。

## 页面与区块
### 幻灯片组(`index.html`)
1. **内容文件与文案规则** — 以下所有文案均按默认值编写([SPEAKER] = Elena Marsh,[TALK] = Ship Small, Sleep Well)。将每个字符串和注释放入 src/content.ts 并从中渲染。若任何变量不同,请重写全部九张幻灯片,使其可信地呈现该演讲,保持相同的结构和幻灯片类型顺序。幻灯片:1 标题 — 演讲标题巨大,'[SPEAKER]' 和场地行 'SampleConf · Main stage (sample)' 以 Mist 呈现;2 议程 — 'Three honest failures' 含三个条目('A launch that hurt'、'The rewrite that didn't'、'What I ship now');3 陈述 — 'Small ships sleep well.';4 要点 — 'What small actually means' 含四个引导项('One screen'、'One dependency less'、'One honest promise'、'One rollback plan'),每项配一行副文;5 代码 — 'The whole check, honestly' 含一段 12 行 TypeScript 代码片段(一个包含字符串、数字、注释的微型 deployCheck 函数)以及要点 'If it fits on a slide, it fits in your head';6 双栏 — 'The launch that hurt'(左侧:3 个短段落;右侧:一个等宽字体的 'postmortem, abridged' 列表,共 4 行);7 陈述 — 'Boring is a feature you ship.';8 要点 — 'Monday, at your desk' 含三个行动项('Delete one thing'、'Write the rollback first'、'Tell one user the truth');9 结尾 — 'Thank you.' + '[SPEAKER]' + 'Slides stay at this link (sample)' + 感谢圆点。每张幻灯片均附有 1–2 句演讲者备注(示例:幻灯片 3 的备注 'Pause here. Let it sit for three seconds.')。所有会议名称和结果均为虚构的示例内容;笑点落在幻灯片 2、6 和 9 上。
   布局:不适用
   动效:不适用
2. **幻灯片组框架** — SlideFrame 包裹每张幻灯片:顶部固定一条 2px 进度条(Line 轨道,Spotlight 填充);左下角为计数器胶囊('3 / 9' 等宽字体);右下角为 KeyHints('← → move · G grid · S notes',配等宽字体小标签)和 Print handout 幽灵按钮。打印时框架隐藏。
   布局:固定框架;幻灯片内容区域在其中居中。
3. **覆盖层** — OverviewGrid(G):一个 3 列网格,由缩放后的 MiniSlides 组成,带标题和编号;Spotlight 圆环通过方向键选择;Enter 跳转;Escape 关闭。NotesDrawer(S):当前幻灯片的备注、上一张/下一张镜像,以及说明文字 'Notes are yours, not the audience's.'
   布局:概览:全视口遮罩(Stage 为 88%);备注:底部抽屉 240px,顶部边框为 Line。

## 资产(Assets)
- 图片(image):完全不使用图片:整个演示文稿由文字、代码和用代码绘制的强调色构成。不要获取或热链任何资源。
- 图片(image):在项目根目录写入 ASSETS.md,列出用代码绘制的资产(进度条、按键提示标签、代码高亮、favicon——“用代码绘制,原创”)以及 npm 包:@fontsource-variable/bricolage-grotesque、@fontsource-variable/inter、@fontsource/jetbrains-mono(OFL-1.1)和 lucide-react(ISC)。
- 图标(icon):仅使用 lucide-react:ArrowLeft、ArrowRight、Grid3x3、NotebookPen、Printer、X。描边宽度 1.75,14–18px,颜色继承。public/favicon.svg:viewBox 0 0 32 32,一个 32x32 的圆角方块,填充 #0C0D10,带 1.5px 的 #E8B44A 边框,中央是一个 #E8B44A 的右向尖角符号。不使用品牌标志。
- 字体(font):安装 @fontsource-variable/bricolage-grotesque、@fontsource-variable/inter 和 @fontsource/jetbrains-mono,并按“安装(Setup)”中的说明在 src/fonts.ts 中导入它们。Vite 会将 woff2 文件打包进 dist/。

## 禁止事项
- 无后端、无表单提交、无对 API 的 fetch、无键盘快捷键库:一个 window keydown 处理器完成所有工作;hash 是唯一的持久化方式。
- 每个内部链接都是演示文稿本身(./index.html#/4)——绝不是裸目录;不带 hash 打开时显示第 1 张幻灯片。
- 不使用真实的会议、演讲、演讲者或其幻灯片;演讲、场地行和成果均为虚构的示例内容。
- 不使用 reveal.js、Spectacle 或任何幻灯片库;不使用高亮库——高亮是手写的分词器,不使用 dangerouslySetInnerHTML。
- 不使用图片、照片、徽标或赞助商栏;一切均为代码绘制的字体和颜色。
- 不使用日期或年份;场地行为静态示例文本。
- 一切自托管:字体通过 Fontsource,图标作为 npm 包或内联 SVG。不使用 CDN <script> 或 <link> 标签,不使用 Google Fonts,不使用分析工具。
- 生产构建:压缩、无 source map、不将 src/ 复制到 dist/、单条命令 npm run build、输出在 dist/ 下且小于 3 MB。
- 除结尾幻灯片角落中一个链接到 https://vibefather.ai 的微小界面说明“Built with a VibeFather template”外,绝不在站点内提及 VibeFather。
- 尊重 prefers-reduced-motion:即时切换、无错落动画;演示文稿仍完全由键盘驱动。
- 演示文稿必须在 1440x900 桌面端和 390x844 移动端(触摸:屏幕左/右半区点击前进;按键提示同时提及两者)下正常工作,且控制台零错误;每条键盘路径均可用,所有界面按钮上的焦点环均可见,且 Space 绝不滚动页面。
- 无障碍:幻灯片是带有 aria-labels 的真实区域;计数器和进度以 aria-live 礼貌更新;概览磁贴是带有幻灯片标题的按钮。

---
— Prompt by VibeFather · https://vibefather.ai/t/conference-talk-slide-deck · 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: "Conference Talk Slide Deck"
colors:
  stage: "#0C0D10"
  stage_2: "#131519"
  line: "#23262D"
  bone: "#F2EFE9"
  mist: "#8E939D"
  spotlight: "#E8B44A"
  spotlight_deep: "#C99633"
  spotlight_mist: "#2E2712"
  good: "#7FB069"
typography:
  display_title_statements_bullet_leads_bricolage_grotesque_big_and_warm: { family: "Bricolage Grotesque", weights: [400, 600] }
  text_and_ui_agenda_two_column_copy_notes_counters: { family: "Inter", weights: [400, 500, 600] }
  mono_code_key_hints_slide_numbers: { family: "JetBrains Mono", weights: [400, 500] }
spacing: "The deck fills the viewport (100dvh) with 72px side padding desktop, 24px under 640px; slides center their content vertically. Type scale — the stage rule: if it can't be read from the back row, it's too small. Title slide title clamp(56px, 9vw, 120px) Bricolage 600; statement slides clamp(44px, 7vw, 96px); bullet leads 34px; agenda items 26px; two-column copy 20px / 1.65; code 20px / 1.7; meta and key hints 13px mono/Inter. Buttons: height 40px, Inter 600 13px; ghost 1px Line border. Focus everywhere: 2px Spotlight outline, 3px offset."
radius: "8px on code panels and tiles; 999px for key-hint chips and the counter pill."
---

# Conference Talk Slide Deck — 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
- **Stage** `#0C0D10` — The deck's ground everywhere.
- **Stage 2** `#131519` — Code panels, overview tiles, notes drawer.
- **Line** `#23262D` — 1px hairlines: progress bar track, code panel border, drawer border.
- **Bone** `#F2EFE9` — Slide text — headlines, bullets, statements.
- **Mist** `#8E939D` — Meta text: counters, key hints, captions, notes.
- **Spotlight** `#E8B44A` — The one warm accent: the progress bar fill, active rings, key-hint chips, code focus underline, links.
- **Spotlight Deep** `#C99633` — Pressed states.
- **Spotlight Mist** `#2E2712` — Selected overview tiles, code keyword tint.
- **Good** `#7FB069` — Code strings and the closing slide's thanks dot.

## Typography
- **Display: title, statements, bullet leads — Bricolage Grotesque, big and warm** — Bricolage Grotesque (OFL), weights 400/600. Self-host the font files.
- **Text and UI: agenda, two-column copy, notes, counters** — Inter (OFL), weights 400/500/600. Self-host the font files.
- **Mono: code, key hints, slide numbers** — JetBrains Mono (OFL), weights 400/500. Self-host the font files.

## Spacing & shape
- Spacing: The deck fills the viewport (100dvh) with 72px side padding desktop, 24px under 640px; slides center their content vertically. Type scale — the stage rule: if it can't be read from the back row, it's too small. Title slide title clamp(56px, 9vw, 120px) Bricolage 600; statement slides clamp(44px, 7vw, 96px); bullet leads 34px; agenda items 26px; two-column copy 20px / 1.65; code 20px / 1.7; meta and key hints 13px mono/Inter. Buttons: height 40px, Inter 600 13px; ghost 1px Line border. Focus everywhere: 2px Spotlight outline, 3px offset.
- Radius: 8px on code panels and tiles; 999px for key-hint chips and the counter pill.

## Motion
- Easing: --ease-out cubic-bezier(0.22, 0.61, 0.36, 1). Projector-calm: one move per action.
- Slide transitions as specified: fade-in-place 320ms; bullets and agenda rows stagger 60ms within their slide on entry; the statement slide's word underline draws once (400ms).
- Code focus: the Spotlight underline moves between lines with a 160ms ease; non-focused lines dim 180ms.
- Overview: the scrim fades 160ms; tiles rise 8px staggered 30ms; the selection ring moves with a 160ms ease.
- Notes drawer: slides up 200ms; Escape reverses.
- Progress bar: the fill width follows the slide index with a 260ms ease; the counter crossfades on change.
- prefers-reduced-motion: reduce — instant slide swaps, no staggers, no ring easing (it jumps), no underlines drawing; everything readable and fully usable. Use CSS @media in index.css plus Motion's useReducedMotion.

## Imagery
Zero images: the deck is type on black with the Spotlight accent; code colors come from the palette (strings Good, keywords Spotlight Mist-tinted, numbers Mist-bright, comments Mist-dim). Icons: lucide-react only, stroke width 1.75. The favicon is drawn SVG. No photos, no logos, no sponsor bars.

## Tone
Stage-confident: short lines, big claims earned by the next slide. One joke per three slides.

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

改成你自己的

  • 在聚会上演讲的开发者关系:将 TALK 设为会议标题,SPEAKER 设为你的名字,然后用你自己的代码片段和演讲者备注替换代码幻灯片。
  • 主持作品集评审的设计主管:保留陈述和双栏幻灯片,将议程换成你的项目列表,并将结尾幻灯片改写为你的联系方式。
  • 构建演讲者资料包的会议组织者:将 TALK 设为活动名称,使用议程幻灯片作为当天日程,并将幻灯片打印为每页一张的讲义。
  • 教授技术主题的课程讲师:将要点和代码幻灯片变成课程步骤,添加你自己的演讲者备注,并分享每节课的深度链接。

会议演讲幻灯片:常见问题

如何更改会议演讲幻灯片模板中的演讲标题和演讲者姓名?

会议演讲幻灯片模板将所有文案放在一个类型化内容文件中,两个变量是 TALK 和 SPEAKER。将 TALK 设为你的演讲标题,SPEAKER 设为你的名字,然后重写每个标题、要点和演讲者备注以匹配,因为默认幻灯片展示的是虚构演讲。布局、颜色和键盘行为保持原样。

怎么用 AI 做一个会议演讲幻灯片?

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