跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

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

关于这个模板

会议预约页面是一套完整的客户端排期流程,适用于独立顾问、教练、自由职业者或小型工作室。页面将沉稳的主持人介绍与实用的预约工作区结合在一起,访客无需注册账号,就能从选择会议类型一路走到下载日历事件。

三张会议卡片明确了时长和预期。日期步骤将月历与仅显示有可用时段的日期、可滚动的时间段列表以及时区选择器组合在一起。可用时间按主持人的时区生成,再针对访客渲染,包括夏令时偏移。详情步骤在验证访客姓名、邮箱和可选备注的同时,持续显示已选的会议、日期和时间。确认步骤提供真正可下载的 ICS 文件,而不是装饰性的日历按钮。

视觉方向温暖而精确:羊皮纸色背景、深松绿的主持人面板、香橼色的选中状态、衬线标题和紧凑的无衬线控件。可用的排期器就是主视觉,层叠的日历单元格、可用性圆点、进度状态和克制的过渡效果,提供了通常由产品截图呈现的细节。在移动端,主持人面板变得紧凑,进度条转为水平,日历和时间段纵向堆叠,同时不缩小点击目标。

通过变量调整品牌、主持人、受众、三个会议名称和主持人时区。会议描述和辅助文案应改写以匹配这些值,同时保持布局不变。可用性和最新确认信息仅保存在浏览器本地;不涉及后端、外部日历连接或真实消息发送。

模板提示词

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

# Meeting Scheduler Booking Page

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

## Brief
Build an original single-page personal meeting scheduler for [BRAND], hosted by the fictional [HOST_NAME]. The working booking interface is the hero: visitors choose one of three meeting types, select an available date and time in their own time zone, enter their details, and reach a confirmation with a valid add-to-calendar download. Use only client-side sample availability and localStorage; never imply a live calendar integration or sent email.

- Audience: Primary: [AUDIENCE]. Secondary: independent professionals who want a focused, approachable booking page without account creation or a complex dashboard.
- Goal: Let a visitor complete the entire booking flow with confidence, understand the meeting duration and time zone at every step, correct mistakes easily, and leave with an accurate calendar file. Keep the interface polished at 1440×900 and fully usable at 390×844.
- Tone: Warm, organized, and quietly personable. Use direct language, specific meeting outcomes, generous spacing, and no sales pressure, productivity clichés, or invented customer metrics.

## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: lucide-react (ISC), date-fns 3 (MIT), date-fns-tz 3 (MIT)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Set Vite base to './', production sourcemaps to false, and the output directory to dist; keep all runtime assets local.
  - Place every brand value, host detail, meeting definition, availability rule, form label, confirmation message, FAQ item, and alternate-case rewrite in src/content.ts; do not scatter default copy through components.
  - Model the four booking states—meeting, date and time, details, and confirmation—in one React state machine; preserve selections when moving back and reset only when Book another meeting is chosen.
  - Use date-fns and date-fns-tz for all host-to-visitor conversion and ICS UTC formatting; do not manually add fixed hour offsets. Detect the initial visitor zone with Intl.DateTimeFormat().resolvedOptions().timeZone and provide at least eight common IANA zones plus the detected zone.
  - Persist only the latest confirmed booking and selected time zone in localStorage; in-memory form fields remain editable until confirmation. No network request is needed or allowed.
  - Configure Tailwind with the exact palette and font families below; use CSS keyframes and transitions for motion rather than adding an animation library.

## Variables
- [BRAND] — Brand (default: "Moss & Minute"). An invented scheduling brand or independent practice name.
- [HOST_NAME] — Host name (default: "Mara Voss"). A fictional host name used in the introduction and confirmation.
- [HOST_ROLE] — Host role (default: "Independent product strategist"). One concise professional role.
- [AUDIENCE] — Audience (default: "Independent founders and small product teams"). The people the host wants to meet, written as a noun phrase.
- [MEETING_TYPES] — Meeting types (default: "Discovery call | Project consultation | Strategy intensive"). Three meeting names in order, mapped to 20, 45, and 60 minutes; rewrite each description to suit the names.
- [HOST_TIME_ZONE] — Host time zone (default: "America/New_York"). A valid IANA time zone used to define availability and display the host's local time.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/meeting-scheduler-booking-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
- Parchment `#F2F0E9` — Page background and quiet footer areas
- Paper `#FFFEFA` — Booking workspace, cards, and form fields
- Ink `#17231E` — Primary text and high-contrast icons
- Slate moss `#64716A` — Secondary copy, inactive dates, and metadata
- Hairline `#D8DDD5` — Borders, calendar grid separators, and dividers
- Pine `#1F4A3A` — Host panel, primary buttons, and selected calendar day
- Citron `#DDF47A` — Available-day dots, active progress, selected slots, and focus accents
- Mint wash `#E8F1E8` — Summary panels, success background, and subtle hover fills

### Typography
- Host headline and step titles: Instrument Serif (OFL), weights 400
- Interface, body, labels, buttons, and numerical time display: Inter (OFL), weights 400/500/600/700

### Layout & motion
- Spacing: Use a 4px base unit. Header height 76px; desktop page gutters 32px; workspace outer padding 0 with a 360px host rail and flexible content column. Host rail padding 40px; workspace padding 40px; card padding 20px; field gaps 16px; section gaps 24px. Maximum content width 1240px. At mobile use 16px page gutters, 24px panel padding, and minimum 44px tap targets.
- Radius: Workspace 28px, meeting cards 16px, summary panels 14px, inputs and slot buttons 10px, primary buttons 999px, availability dots 50%. Use one 1px Hairline border and a restrained 0 20px 60px rgba(23,35,30,0.08) workspace shadow; avoid nested floating cards and heavy shadows.
- Motion: On step changes, fade the outgoing content and move the incoming content 12px upward over 220ms with ease-out; preserve the workspace height where possible to avoid jumps.
- Motion: Meeting selection fills a small radio and changes the border to Pine over 160ms; selected time slots receive Citron with a 160ms scale-in check, never a large bounce.
- Motion: Month changes slide the calendar grid 10px horizontally while crossfading over 180ms; availability dots do not animate individually.
- Motion: On confirmation, draw the check stroke once over 320ms and fade the summary in after 80ms.
- Motion: Accordion answers expand with a 180ms height-and-opacity transition. Honor prefers-reduced-motion by removing transforms, sliding, stroke animation, and smooth scrolling while keeping immediate state changes.
- Imagery: No photography, portraits, generated bitmap images, or external illustration. The first-screen visual anchor is the rich, functional scheduling workspace itself: a deep Pine host rail, layered progress indicator, meeting cards, calendar grid, availability dots, time zone control, and precise selection states. Add only an original code-drawn brand mark made from two offset rounded rectangles and a small circular check motif; do not imitate a known scheduling logo.

## Pages & Sections
### Personal meeting scheduler and booking confirmation (`index.html`)
1. **Header and shared booking shell** — Header left: original two-rectangle SVG mark and [BRAND] in Inter 600. Header right: a small Mint wash dot, '[HOST_NAME]'s local time', and a live HH:MM display with the short host-zone abbreviation. Main headline in the Pine host rail: 'A good conversation starts with a time that works.' Supporting line for defaults: 'Practical conversations for independent founders and small product teams, with Mara Voss, an independent product strategist.' Rewrite the supporting line from [AUDIENCE], [HOST_NAME], and [HOST_ROLE]. Add a compact host monogram using the host's initials, 'Usually replies within one business day', and 'No account required'. The four-step indicator is Meeting, Date & time, Details, Done; show the active number in Citron, completed steps with checks, and upcoming steps in muted white. The right Paper workspace is the actual interactive product, not a static mockup.
   Layout: Center the header and main shell at max-width 1240px. Desktop shell is a 360px / minmax(0,1fr) grid, min-height 660px, overflow hidden, with the dark host rail left and workspace right. Keep the entire shell visible in the first 900px viewport. Host-rail steps sit at the bottom with vertical connectors. At ≤768px, hide the header's local-time label but retain the zone abbreviation, stack the host rail above the workspace, reduce the headline to 40px, and turn the stepper into a four-column horizontal row without connectors.
   Motion: The shell enters once with opacity 0 to 1 and translateY 8px to 0 over 320ms. Local time updates without animation. Progress checks use the same restrained stroke draw as confirmation.
2. **Step 1 — Meeting type cards** — Workspace eyebrow: 'STEP 1 OF 4'. Title: 'What would you like to talk about?' Body: 'Choose a format. You will see times in your own time zone next.' Render exactly three selectable cards from [MEETING_TYPES], mapped to 20, 45, and 60 minutes. Default card copy in order: 'Discovery call — A quick hello, your current challenge, and a useful next step.'; 'Project consultation — Scope, constraints, and whether we are the right fit.'; 'Strategy intensive — A working session with a written recap and three priorities.' Every card includes a generic Video icon, duration, 'Video call', and 'Details included with your booking'. Preselect the first card so the primary button is usable. Button: 'Choose a time'. Below it show Globe2 and 'Your time zone: [detected zone]'.
   Layout: Use a single vertical stack of three full-width rows, each with a 44px icon tile, flexible title/description group, duration metadata at right, and a 20px radio. Keep descriptions to two lines at desktop. On mobile, duration moves beneath the title, metadata stays left aligned, and rows never become three narrow columns. Place the primary button at the bottom right and time-zone note at the bottom left.
   Motion: Card hover shifts the background from Paper to Mint wash over 160ms without translating the layout. Choosing a card animates only radio, border, and a small check. Continue uses the standard step transition.
3. **Step 2 — Calendar, time zone, and slots** — Workspace eyebrow: 'STEP 2 OF 4'. Title: 'Pick a day and time.' Back button: 'Back to meeting types'. Define sample availability in [HOST_TIME_ZONE] for the next 60 days: Tuesday and Thursday 09:00–12:00 and 13:00–15:30; Wednesday 10:00–14:30; no other days. Generate start times every 30 minutes only when the entire selected meeting duration fits a window. Omit a deterministic one-third of starts using (dayOfMonth + slotIndex) mod 3 equals 0 so the calendar looks realistically open rather than uniformly packed. Disable past dates and today starts less than two hours in the future. Initialize to the current month and select the first available date, but do not preselect a time. Calendar arrows change months; disable previous navigation before the current month and next after the 60-day horizon. Available days have a Citron dot; selected day has a Pine fill. Slots display in the visitor zone, with a select menu to override it and the exact host equivalent beneath the list. Button: 'Continue to details', disabled until a slot is chosen. Changing meeting type or host zone must recompute rather than merely relabel slots.
   Layout: Desktop workspace content is a minmax(0,1fr) / 230px grid with a 28px gap. Left: month label and arrow controls, Monday-first weekday row, six-week grid with stable 44px cells and no layout shift between months. Right: time zone selector, selected long date, then a vertical slot list with max-height 340px and subtle overflow shadow. Under the grid add 'All openings are shown in your selected time zone.' At mobile stack calendar above slots, keep weekday cells at least 40px, render slots as a two-column grid without a fixed-height scroller, and place the Continue button full width.
   Motion: Use the month slide-crossfade and selected-slot check described above. Updating the time zone crossfades the slot labels over 140ms without changing scroll position.
4. **Step 3 — Visitor details** — Workspace eyebrow: 'STEP 3 OF 4'. Title: 'Add the finishing touches.' Back button: 'Back to times'. Keep a Mint wash summary at top with the selected meeting name, duration, full visitor date/time and zone, plus a smaller host-time line. Form fields: 'Your name' required, 'Email address' required with format validation, and 'What would you like to get from this conversation?' optional textarea, maximum 500 characters with a live count. Default helper text: 'A sentence or two helps Mara prepare.' Rewrite the host name from [HOST_NAME]. Show inline errors only after blur or attempted confirmation. Primary button: 'Confirm booking'. Footnote: 'Static preview: your details stay in this browser and no email is sent.' On success, store the booking locally and enter confirmation; never clear the fields with a page reload.
   Layout: Limit the form to 560px while using the remaining workspace width for breathing room. Summary is a two-row flex block with CalendarDays and Clock3 icons. Inputs are 48px high with labels above, 12px vertical label gaps, and a 120px textarea. Error text sits below its field without overlapping. Desktop actions align right; mobile summary and inputs become full width and the button spans the row.
   Motion: Invalid fields receive a brief border-color transition, not shake motion. The booking summary remains stable while fields validate. Confirmation uses the normal outgoing/incoming step transition.
5. **Step 4 — Confirmation and calendar file** — Show a 56px Mint wash circle with a Pine check, eyebrow 'BOOKING PENCILED IN', and title 'You’re on the calendar, [visitor first name].' Body: 'Your time with [HOST_NAME] is saved in this browser. Add it to your calendar so the details stay close.' Repeat meeting name, duration, visitor date/time with zone, host equivalent, and visitor email in a clean definition list. Primary button with Download icon: 'Add to calendar'. It must generate and download a valid .ics file containing DTSTART and DTEND in UTC, correct duration, SUMMARY using [BRAND] and the meeting name, DESCRIPTION using the visitor notes, and a unique UID; escape ICS text and use CRLF line endings. Secondary button: 'Book another meeting', which clears the booking state but keeps the visitor time zone. Do not claim an invitation or email was sent.
   Layout: Center the confirmation content at max-width 560px with generous top padding. Place the icon above the left-aligned title rather than making a generic centered success modal. Definition rows use 150px labels on desktop and stacked labels on mobile. Buttons sit side by side on desktop and stack full width on mobile.
   Motion: Draw the check once, fade the summary in, and keep the ICS download immediate. No confetti, modal, or looping success animation.
6. **Reassurance strip and FAQ** — Below the shell, add three compact facts: 'Time zones handled' — 'See every opening where you are, with the host time alongside.'; 'Calendar-ready' — 'Download a standard event file with the correct duration.'; 'A human pace' — 'No account, countdown, or pressure to decide.' Follow with four accordion items: 'Can I reschedule?' — 'Choose Book another meeting and confirm a new time; this preview replaces the booking saved in your browser.'; 'Where is the video link?' — 'A live version would add the joining details to the invitation. This static preview does not create a real call.'; 'Which calendar apps are supported?' — 'The downloaded ICS file can be imported by calendar apps that support the standard format.'; 'Why can’t I choose a gray date?' — 'That day is outside the host’s sample availability or has no slot long enough for the selected meeting.' Footer: [BRAND], 'Scheduling across [HOST_TIME_ZONE]', and the optional credit link.
   Layout: Facts are three equal columns separated by Hairlines within max-width 1240px, with 64px top margin. FAQ uses a single 760px column aligned to the workspace's left edge, four border-bottom rows, and chevrons. At mobile facts stack into three rows and FAQ spans full width. Footer is a quiet flex row with 32px vertical padding.
   Motion: Only the FAQ chevron and answer transition animate. The reassurance facts remain still; no scroll-jacking or reveal library.

## Assets
- font: Self-host Instrument Serif 400 through @fontsource/instrument-serif and Inter through @fontsource-variable/inter, imported from npm into the build. Both are OFL; do not use a font CDN. Record package names and licenses in ASSETS.md.
- icon: Use lucide-react (ISC) for generic interface icons: CalendarDays, Clock3, Globe2, Video, ArrowLeft, ArrowRight, Check, Download, ChevronLeft, ChevronRight, and ChevronDown. Draw the original two-rectangle [BRAND] mark and check motifs in local inline SVG/CSS. No brand icons, downloaded illustrations, or image files.

## Don'ts
- Do not add a backend, serverless function, API route, database, authentication, analytics, external form action, email service, real scheduling integration, or third-party API; all behavior must work from static files in dist/.
- Do not claim that a real invitation, video link, or email was created or sent. Label the preview's local-only behavior exactly where visitors confirm and in the relevant FAQ.
- Do not use the names, logos, proprietary visual identities, exact copy, illustrations, iconography, slogans, or copied code of existing scheduling, calendar, or video-call products.
- Do not use recognizable brand icons, real people's likenesses, real availability, or real contact details. The host and all sample content must remain fictional and variable-driven.
- Do not add photography, portraits, bitmap illustrations, placeholder-image services, or externally hosted assets; the functional scheduler is the visual anchor.
- Do not load fonts, scripts, styles, icons, or other assets from a CDN. Self-host the specified OFL fonts and list third-party packages and licenses in ASSETS.md.
- Do not hard-code Mara, the default meeting names, default audience, default host zone, or default-specific descriptions outside src/content.ts. Changing variables must rewrite all affected copy and recalculate availability.
- Do not approximate time zones with fixed offsets. Respect IANA zones, daylight-saving transitions, meeting duration, past-time filtering, and correct UTC conversion in the ICS file.
- Do not make disabled dates focusable or allow a visitor to continue without a valid meeting, available slot, name, and valid email. Use semantic buttons, labels, focus-visible rings, keyboard-operable calendar controls, and accessible accordion state.
- Do not use bare-directory links, source maps, SEO metadata blocks, Open Graph tags, JSON-LD, sitemaps, or copied src files in dist. Keep output under 20 MB with relative asset paths.
- Do not introduce gradients, glassmorphism, dark neon styling, generic blue-purple SaaS visuals, excessive floating cards, parallax, scroll-jacking, or autoplay motion.
- Do not ignore reduced motion. The finished page must have zero console errors and no horizontal overflow at 1440×900 and 390×844, with every booking step usable by keyboard and touch.

---
— Prompt by VibeFather · https://vibefather.ai/t/meeting-scheduler-booking-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 会议预约页面

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

## 简介
为 [BRAND] 构建一个原创的单页个人会议预约器,由虚构的 [HOST_NAME] 主持。可用的预约界面是核心亮点:访客从三种会议类型中选择一种,在自己所在的时区选择可用日期和时间,输入详细信息,并到达带有有效“添加到日历”下载的确认页面。仅使用客户端示例可用性和 localStorage;绝不要暗示实时日历集成或已发送电子邮件。

- 受众:主要:[AUDIENCE]。次要:希望拥有专注、平易近人的预约页面而无需创建账户或复杂仪表板的独立专业人士。
- 目标:让访客有信心地完成整个预约流程,在每一步都了解会议时长和时区,轻松纠正错误,并最终获得准确的日历文件。在 1440×900 下保持界面精致,并在 390×844 下完全可用。
- 语气:温暖、有条理,并带有安静的个人亲和力。使用直接的语言、具体的会议成果、充裕的间距,不施加销售压力,不使用生产力陈词滥调,也不编造客户指标。

## 技术栈
- 框架:Vite 5 + React 18 + TypeScript
- 样式:Tailwind CSS 3.4
- 库:lucide-react(ISC)、date-fns 3(MIT)、date-fns-tz 3(MIT)
- 构建:`npm run build` → `dist/` 中的静态文件。无后端、无服务器代码、无外部 API。
- 设置:
  - 将 Vite base 设为 './',生产 sourcemap 设为 false,输出目录设为 dist;保持所有运行时资源本地化。
  - 将每个品牌值、主机详情、会议定义、可用性规则、表单标签、确认消息、FAQ 项和备用案例重写放在 src/content.ts 中;不要将默认文案分散到各个组件中。
  - 在一个 React 状态机中建模四个预订状态——会议、日期和时间、详情和确认;在返回时保留选择,仅在选择 Book another meeting 时重置。
  - 使用 date-fns 和 date-fns-tz 进行所有主机到访客的转换和 ICS UTC 格式化;不要手动添加固定小时偏移。使用 Intl.DateTimeFormat().resolvedOptions().timeZone 检测初始访客时区,并提供至少八个常见 IANA 时区以及检测到的时区。
  - 仅在 localStorage 中持久化最新确认的预订和选定的时区;内存中的表单字段在确认前保持可编辑。不需要也不允许网络请求。
  - 使用下方精确的调色板和字体系列配置 Tailwind;使用 CSS 关键帧和过渡实现动效,而不是添加动画库。

## 变量
- [BRAND] — 品牌(默认:"Moss & Minute")。一个虚构的日程安排品牌或独立执业名称。
- [HOST_NAME] — 主持人姓名(默认:"Mara Voss")。用于介绍和确认环节的虚构主持人姓名。
- [HOST_ROLE] — 主持人角色(默认:"Independent product strategist")。一个简洁的专业角色。
- [AUDIENCE] — 受众(默认:"Independent founders and small product teams")。主持人希望会面的人群,以名词短语形式书写。
- [MEETING_TYPES] — 会议类型(默认:"Discovery call | Project consultation | Strategy intensive")。三个会议名称按顺序排列,分别对应 20、45 和 60 分钟;请根据名称改写每个描述。
- [HOST_TIME_ZONE] — 主持人时区(默认:"America/New_York")。一个有效的 IANA 时区,用于定义可用时间并显示主持人的本地时间。
- [CREDIT] — 在页脚保留一个小型 "Template by VibeFather" 链接,指向 https://vibefather.ai/t/meeting-scheduler-booking-page(默认:是;删除此行即可移除)

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

## 设计
### 颜色(Colors)
- 羊皮纸色(Parchment)`#F2F0E9` — 页面背景和安静的页脚区域
- 纸白色(Paper)`#FFFEFA` — 预约工作区、卡片和表单字段
- 墨色(Ink)`#17231E` — 主文本和高对比度图标
- 石板苔绿色(Slate moss)`#64716A` — 次要文案、非活跃日期和元数据
- 细线色(Hairline)`#D8DDD5` — 边框、日历网格分隔线和分割线
- 松绿色(Pine)`#1F4A3A` — 主持人面板、主按钮和选中的日历日期
- 香橼色(Citron)`#DDF47A` — 可用日期圆点、活跃进度、选中时段和焦点强调
- 薄荷浅色(Mint wash)`#E8F1E8` — 摘要面板、成功背景和微妙的悬停填充

### 排版(Typography)
- 主持人标题和步骤标题:Instrument Serif (OFL),字重 400
- 界面、正文、标签、按钮和数字时间显示:Inter (OFL),字重 400/500/600/700

### 布局与动效(Layout & motion)
- 间距:使用 4px 基础单位。页头高度 76px;桌面页面边距 32px;工作区外边距 0,包含 360px 主持人侧栏和弹性内容列。主持人侧栏内边距 40px;工作区内边距 40px;卡片内边距 20px;字段间距 16px;区块间距 24px。最大内容宽度 1240px。移动端使用 16px 页面边距、24px 面板内边距和最小 44px 点击目标。
- 圆角:工作区 28px,会议卡片 16px,摘要面板 14px,输入框和时段按钮 10px,主按钮 999px,可用性圆点 50%。使用一条 1px 细线色(Hairline)边框和克制的 0 20px 60px rgba(23,35,30,0.08) 工作区阴影;避免嵌套浮动卡片和厚重阴影。
- 动效:步骤切换时,淡出离开的内容,并将进入的内容向上移动 12px,持续 220ms,使用 ease-out;尽可能保持工作区高度以避免跳动。
- 动效:会议选择填充一个小单选按钮,并在 160ms 内将边框变为松绿色(Pine);选中的时间段获得香橼色(Citron),并带有 160ms 的缩放进入勾选,绝不使用大幅弹跳。
- 动效:月份切换时,日历网格水平滑动 10px,同时交叉淡入淡出,持续 180ms;可用性圆点不单独动画。
- 动效:确认时,勾选笔画绘制一次,持续 320ms,并在 80ms 后淡入摘要。
- 动效:手风琴答案以 180ms 的高度和透明度过渡展开。遵循 prefers-reduced-motion,移除变换、滑动、笔画动画和平滑滚动,同时保持即时状态变化。
- 图像:不使用摄影、肖像、生成的位图图像或外部插画。首屏视觉锚点是丰富、功能性的排程工作区本身:深松绿色(Pine)主持人侧栏、分层进度指示器、会议卡片、日历网格、可用性圆点、时区控件和精确的选择状态。仅添加一个原创的代码绘制品牌标记,由两个偏移的圆角矩形和一个小圆形勾选图案组成;不要模仿已知的排程标志。

## 页面与区块
### 个人会议调度器与预约确认(`index.html`)
1. **页头与共享预约外壳** — 页头左侧:原始双矩形 SVG 标记和 Inter 600 字体的 [BRAND]。页头右侧:一个小型 Mint wash 圆点、'[HOST_NAME] 的本地时间',以及带主持人时区缩写、实时更新的 HH:MM 显示。Pine 主持人栏中的主标题:'A good conversation starts with a time that works.' 默认支持文案:'Practical conversations for independent founders and small product teams, with Mara Voss, an independent product strategist.' 根据 [AUDIENCE]、[HOST_NAME] 和 [HOST_ROLE] 重写支持文案。添加一个使用主持人姓名首字母的紧凑主持人字母组合、'Usually replies within one business day' 和 'No account required'。四步指示器为 Meeting、Date & time、Details、Done;当前步骤编号用 Citron 显示,已完成步骤带勾选标记,即将进行的步骤用柔和白色显示。右侧 Paper 工作区是实际可交互的产品,而非静态模型。
   布局:页头和主外壳居中,最大宽度 1240px。桌面外壳为 360px / minmax(0,1fr) 网格,最小高度 660px,溢出隐藏,左侧为深色主持人栏,右侧为工作区。确保整个外壳在首个 900px 视口内可见。主持人栏步骤位于底部,带垂直连接线。在 ≤768px 时,隐藏页头的本地时间标签但保留时区缩写,将主持人栏堆叠在工作区上方,标题缩小至 40px,并将步骤指示器变为无连接线的四列水平行。
   动效:外壳以 opacity 0 到 1、translateY 8px 到 0 的动画进入一次,持续 320ms。本地时间更新无动画。进度勾选使用与确认页相同的克制描边绘制效果。
2. **步骤 1 — 会议类型卡片** — 工作区眉题:'STEP 1 OF 4'。标题:'What would you like to talk about?' 正文:'Choose a format. You will see times in your own time zone next.' 从 [MEETING_TYPES] 渲染恰好三张可选卡片,分别映射到 20、45 和 60 分钟。默认卡片文案依次为:'Discovery call — A quick hello, your current challenge, and a useful next step.';'Project consultation — Scope, constraints, and whether we are the right fit.';'Strategy intensive — A working session with a written recap and three priorities.' 每张卡片包含一个通用 Video 图标、时长、'Video call' 和 'Details included with your booking'。预选第一张卡片,使主按钮可用。按钮:'Choose a time'。下方显示 Globe2 和 'Your time zone: [detected zone]'。
   布局:使用三行全宽行的单一垂直堆叠,每行包含一个 44px 图标块、灵活的标题/描述组、右侧时长元数据和 20px 单选按钮。桌面端描述保持两行。移动端时长移至标题下方,元数据保持左对齐,行永远不会变成三个窄列。主按钮置于右下角,时区注释置于左下角。
   动效:卡片悬停时背景从 Paper 过渡到 Mint wash,持续 160ms,不移动布局。选择卡片时仅对单选按钮、边框和一个小勾选标记做动画。继续使用标准步骤过渡。
3. **步骤 2 — 日历、时区和时段** — 工作区眉题:'STEP 2 OF 4'。标题:'Pick a day and time.' 返回按钮:'Back to meeting types'。在 [HOST_TIME_ZONE] 中定义未来 60 天的示例可用时间:周二和周四 09:00–12:00 和 13:00–15:30;周三 10:00–14:30;其他日期不可用。仅当整个所选会议时长适合某个时间窗口时,才每 30 分钟生成开始时间。使用 (dayOfMonth + slotIndex) mod 3 等于 0 确定性地省略三分之一的开始时间,使日历看起来真实开放而非均匀排满。禁用过去日期和今天未来不足两小时的开始时间。初始化为当前月份并选择第一个可用日期,但不预选时间。日历箭头切换月份;在当前月份之前禁用向前导航,在 60 天范围之后禁用向后导航。可用日期有 Citron 圆点;选中日期有 Pine 填充。时段以访客时区显示,带一个选择菜单可覆盖时区,列表下方显示精确的主持人等效时间。按钮:'Continue to details',选择时段前禁用。更改会议类型或主持人时区必须重新计算,而不仅仅是重新标记时段。
   布局:桌面工作区内容为 minmax(0,1fr) / 230px 网格,间距 28px。左侧:月份标签和箭头控件、周一开头的星期行、六周网格,固定 44px 单元格,月份之间无布局偏移。右侧:时区选择器、选中的长日期,然后是一个垂直时段列表,最大高度 340px,带细微溢出阴影。网格下方添加 'All openings are shown in your selected time zone.' 移动端将日历堆叠在时段上方,星期单元格至少 40px,时段渲染为两列网格,无固定高度滚动容器,继续按钮全宽。
   动效:使用上述月份滑动交叉淡入淡出和选中时段勾选效果。更新时区时时段标签交叉淡入淡出,持续 140ms,不改变滚动位置。
4. **步骤 3 — 访客详情** — 工作区眉题:'STEP 3 OF 4'。标题:'Add the finishing touches.' 返回按钮:'Back to times'。顶部保留 Mint wash 摘要,包含所选会议名称、时长、完整访客日期/时间和时区,以及较小的主持人时间行。表单字段:'Your name' 必填,'Email address' 必填并带格式验证,'What would you like to get from this conversation?' 可选文本域,最多 500 字符并带实时计数。默认辅助文本:'A sentence or two helps Mara prepare.' 根据 [HOST_NAME] 重写主持人姓名。仅在失焦或尝试确认后显示内联错误。主按钮:'Confirm booking'。脚注:'Static preview: your details stay in this browser and no email is sent.' 成功后,将预约存储在本地并进入确认页;绝不用页面重载清空字段。
   布局:表单限制在 560px 宽,利用剩余工作区宽度留出呼吸空间。摘要为两行 flex 块,带 CalendarDays 和 Clock3 图标。输入框高 48px,标签在上方,标签垂直间距 12px,文本域高 120px。错误文本位于其字段下方,不重叠。桌面操作右对齐;移动端摘要和输入框变为全宽,按钮横跨整行。
   动效:无效字段获得短暂的边框颜色过渡,而非抖动动画。字段验证时预约摘要保持稳定。确认使用正常的退出/进入步骤过渡。
5. **步骤 4 — 确认与日历文件** — 显示一个 56px 的 Mint wash 圆形,带 Pine 勾选标记,眉题 'BOOKING PENCILED IN',标题 'You’re on the calendar, [visitor first name].' 正文:'Your time with [HOST_NAME] is saved in this browser. Add it to your calendar so the details stay close.' 在简洁的定义列表中重复会议名称、时长、访客日期/时间和时区、主持人等效时间以及访客邮箱。带 Download 图标的主按钮:'Add to calendar'。它必须生成并下载一个有效的 .ics 文件,包含 UTC 格式的 DTSTART 和 DTEND、正确的时长、使用 [BRAND] 和会议名称的 SUMMARY、使用访客备注的 DESCRIPTION,以及唯一的 UID;转义 ICS 文本并使用 CRLF 行结尾。次要按钮:'Book another meeting',清除预约状态但保留访客时区。不要声称已发送邀请或邮件。
   布局:确认内容居中,最大宽度 560px,顶部留出充足内边距。将图标置于左对齐标题上方,而非制作通用的居中成功模态框。定义行在桌面端使用 150px 标签,移动端标签堆叠。按钮在桌面端并排,移动端全宽堆叠。
   动效:勾选标记绘制一次,摘要淡入,ICS 下载保持即时。无彩带、模态框或循环成功动画。
6. **安心条与 FAQ** — 在外壳下方,添加三个紧凑事实:'Time zones handled' — 'See every opening where you are, with the host time alongside.';'Calendar-ready' — 'Download a standard event file with the correct duration.';'A human pace' — 'No account, countdown, or pressure to decide.' 随后是四个手风琴项:'Can I reschedule?' — 'Choose Book another meeting and confirm a new time; this preview replaces the booking saved in your browser.';'Where is the video link?' — 'A live version would add the joining details to the invitation. This static preview does not create a real call.';'Which calendar apps are supported?' — 'The downloaded ICS file can be imported by calendar apps that support the standard format.';'Why can’t I choose a gray date?' — 'That day is outside the host’s sample availability or has no slot long enough for the selected meeting.' 页脚:[BRAND]、'Scheduling across [HOST_TIME_ZONE]' 和可选的署名链接。
   布局:事实区为三列等宽,列间以细线分隔,位于最大宽度 1240px 内,顶部外边距 64px。FAQ 使用单个 760px 列,与工作区左边缘对齐,包含四条带下边框的行以及 chevrons。移动端事实区堆叠为三行,FAQ 占满全宽。页脚为安静的 flex 行,垂直内边距 32px。
动效:仅 FAQ 的 chevron 和答案过渡有动画。安心事实区保持静止;无滚动劫持或 reveal 库。

## 资产
- 字体:通过 @fontsource/instrument-serif 自托管 Instrument Serif 400,通过 @fontsource-variable/inter 自托管 Inter,两者均从 npm 导入构建。二者均为 OFL;不要使用字体 CDN。在 ASSETS.md 中记录包名和许可证。
- 图标:使用 lucide-react(ISC)作为通用界面图标:CalendarDays、Clock3、Globe2、Video、ArrowLeft、ArrowRight、Check、Download、ChevronLeft、ChevronRight 和 ChevronDown。用本地内联 SVG/CSS 绘制原创的双矩形 [BRAND] 标志和对勾图案。不使用品牌图标、下载的插图或图片文件。

## 不要做
- 不要添加后端、无服务器函数、API 路由、数据库、身份验证、分析、外部表单 action、邮件服务、真实排程集成或第三方 API;所有行为都必须能在 dist/ 中的静态文件上运行。
- 不要声称创建或发送了真实的邀请、视频链接或邮件。要在访客确认的位置以及相关 FAQ 中,准确标注预览的仅本地行为。
- 不要使用现有排程、日历或视频通话产品的名称、徽标、专有视觉标识、精确文案、插图、图标体系、口号或复制的代码。
- 不要使用可识别的品牌图标、真实人物肖像、真实可用时间或真实联系方式。主持人和所有示例内容都必须保持虚构并由变量驱动。
- 不要添加摄影图片、人像、位图插图、占位图服务或外部托管的资源;功能性排程器才是视觉锚点。
- 不要从 CDN 加载字体、脚本、样式、图标或其他资源。自行托管指定的 OFL 字体,并在 ASSETS.md 中列出第三方包和许可证。
- 不要在 src/content.ts 之外硬编码 Mara、默认会议名称、默认受众、默认主持人时区或默认特定描述。更改变量必须重写所有受影响的文案并重新计算可用时间。
- 不要用固定偏移量近似时区。要遵循 IANA 时区、夏令时转换、会议时长、过去时间过滤,以及 ICS 文件中正确的 UTC 转换。
- 不要让禁用日期可聚焦,也不要允许访客在没有有效会议、可用时段、姓名和有效邮箱的情况下继续。使用语义化按钮、标签、focus-visible 焦点环、键盘可操作的日历控件和可访问的手风琴状态。
- 不要在 dist 中使用裸目录链接、source map、SEO 元数据块、Open Graph 标签、JSON-LD、站点地图或复制的 src 文件。保持输出低于 20 MB,并使用相对资源路径。
- 不要引入渐变、玻璃拟态、深色霓虹风格、通用蓝紫色 SaaS 视觉、过多浮动卡片、视差、滚动劫持或自动播放动画。
- 不要忽略减少动态效果设置。完成后的页面必须零控制台错误,并且在 1440×900 和 390×844 下没有水平溢出,每个预订步骤都能通过键盘和触摸使用。

---
— Prompt by VibeFather · https://vibefather.ai/t/meeting-scheduler-booking-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: "Meeting Scheduler Booking Page"
colors:
  parchment: "#F2F0E9"
  paper: "#FFFEFA"
  ink: "#17231E"
  slate_moss: "#64716A"
  hairline: "#D8DDD5"
  pine: "#1F4A3A"
  citron: "#DDF47A"
  mint_wash: "#E8F1E8"
typography:
  host_headline_and_step_titles: { family: "Instrument Serif", weights: [400] }
  interface_body_labels_buttons_and_numerical_time_display: { family: "Inter", weights: [400, 500, 600, 700] }
spacing: "Use a 4px base unit. Header height 76px; desktop page gutters 32px; workspace outer padding 0 with a 360px host rail and flexible content column. Host rail padding 40px; workspace padding 40px; card padding 20px; field gaps 16px; section gaps 24px. Maximum content width 1240px. At mobile use 16px page gutters, 24px panel padding, and minimum 44px tap targets."
radius: "Workspace 28px, meeting cards 16px, summary panels 14px, inputs and slot buttons 10px, primary buttons 999px, availability dots 50%. Use one 1px Hairline border and a restrained 0 20px 60px rgba(23,35,30,0.08) workspace shadow; avoid nested floating cards and heavy shadows."
---

# Meeting Scheduler Booking 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
- **Parchment** `#F2F0E9` — Page background and quiet footer areas
- **Paper** `#FFFEFA` — Booking workspace, cards, and form fields
- **Ink** `#17231E` — Primary text and high-contrast icons
- **Slate moss** `#64716A` — Secondary copy, inactive dates, and metadata
- **Hairline** `#D8DDD5` — Borders, calendar grid separators, and dividers
- **Pine** `#1F4A3A` — Host panel, primary buttons, and selected calendar day
- **Citron** `#DDF47A` — Available-day dots, active progress, selected slots, and focus accents
- **Mint wash** `#E8F1E8` — Summary panels, success background, and subtle hover fills

## Typography
- **Host headline and step titles** — Instrument Serif (OFL), weights 400. Self-host the font files.
- **Interface, body, labels, buttons, and numerical time display** — Inter (OFL), weights 400/500/600/700. Self-host the font files.

## Spacing & shape
- Spacing: Use a 4px base unit. Header height 76px; desktop page gutters 32px; workspace outer padding 0 with a 360px host rail and flexible content column. Host rail padding 40px; workspace padding 40px; card padding 20px; field gaps 16px; section gaps 24px. Maximum content width 1240px. At mobile use 16px page gutters, 24px panel padding, and minimum 44px tap targets.
- Radius: Workspace 28px, meeting cards 16px, summary panels 14px, inputs and slot buttons 10px, primary buttons 999px, availability dots 50%. Use one 1px Hairline border and a restrained 0 20px 60px rgba(23,35,30,0.08) workspace shadow; avoid nested floating cards and heavy shadows.

## Motion
- On step changes, fade the outgoing content and move the incoming content 12px upward over 220ms with ease-out; preserve the workspace height where possible to avoid jumps.
- Meeting selection fills a small radio and changes the border to Pine over 160ms; selected time slots receive Citron with a 160ms scale-in check, never a large bounce.
- Month changes slide the calendar grid 10px horizontally while crossfading over 180ms; availability dots do not animate individually.
- On confirmation, draw the check stroke once over 320ms and fade the summary in after 80ms.
- Accordion answers expand with a 180ms height-and-opacity transition. Honor prefers-reduced-motion by removing transforms, sliding, stroke animation, and smooth scrolling while keeping immediate state changes.

## Imagery
No photography, portraits, generated bitmap images, or external illustration. The first-screen visual anchor is the rich, functional scheduling workspace itself: a deep Pine host rail, layered progress indicator, meeting cards, calendar grid, availability dots, time zone control, and precise selection states. Add only an original code-drawn brand mark made from two offset rounded rectangles and a small circular check motif; do not imitate a known scheduling logo.

## Tone
Warm, organized, and quietly personable. Use direct language, specific meeting outcomes, generous spacing, and no sales pressure, productivity clichés, or invented customer metrics.

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

改成你自己的

  • 独立职业教练:将 HOST_NAME 和 HOST_ROLE 设置为你自己的信息,把三个 MEETING_TYPES 重命名为初次沟通、教练会话和深度咨询,并将 HOST_TIME_ZONE 设置为你所在的城市。
  • 小型设计工作室:将 BRAND 设置为工作室名称,为你想要的客户改写 AUDIENCE,并调整会议描述以涵盖需求探索、范围界定和项目评审。
  • 自由职业开发者:保留三个时长,但重命名 MEETING_TYPES 以适配技术沟通,并更新主持人介绍,让访客了解你做什么以及帮助谁。
  • 接受顾问电话的初创公司创始人:将 HOST_TIME_ZONE 设置为你所在的基地时区,将会议描述精简为简短的成果导向语句,并将确认文案指向你自己的后续流程。

会议预约页面:常见问题

会议预约页面模板的时区是如何工作的?

会议预约页面模板通过 HOST_TIME_ZONE 设置主持人的 IANA 时区来定义可用时间,然后使用 date-fns 和 date-fns-tz 为访客转换每个时间段,包括夏令时偏移。访客可以从至少八个常见时区以及自动检测到的时区中选择,页头会显示主持人的实时本地时间。没有硬编码的固定小时偏移。

怎么用 AI 做一个会议预约页面?

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