作为一款真正的三断点响应式移动优先力量训练 PWA,没有任何装饰性手机边框,这款训练记录 App 在手机上提供快速、高对比度的健身房使用体验,同时能干净地扩展到平板和桌面上的多栏教练工作区。界面采用充满活力的炭灰色和抬升的石板色表面,点缀以电光霓虹 volt 高亮,让训练者在组间休息时能轻松看清当前组、重量、次数和倒计时。在 768 像素以下的手机屏幕上,固定的底部标签栏可在 Today、Programs、Exercises 和 Progress 之间干净切换;在更宽的屏幕上,常驻左侧栏将当前训练会话与实时容量遥测并排显示。应用启动时预置了真实的四天推、拉、腿和上肢分化训练,以及存储在 localStorage 中的三周已完成训练历史。在训练进行中,训练者可内联调整重量和次数,勾选组数即可触发自动浮动的休息计时器,提供 60 秒、90 秒和 120 秒预设,并可选择 Web Audio 完成提示音;每当某一组打破历史最佳预估 1RM 时,会立即收到 Personal Record toast 提示。交互式可搜索动作库可按肌肉群筛选,并显示干净的代码绘制 SVG 动作示范;Progress 视图则追踪每周训练容量和 28 天训练连续日历热力图。
在线演示就是用这份提示词原样做出来的,没有额外补充。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Workout & Gym Logger App
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
A dark, energetic, responsive mobile-first strength training & gym workout logger PWA ([BRAND]) for [ATHLETE_NAME] running '[PROGRAM_NAME]'. Mobile (<768px) uses a bottom tab bar (Today, Programs, Exercises, Progress) + floating rest timer pill; desktop adapts into a left sidebar + split workout & telemetry layout. No fake phone shell.
- Audience: Strength lifters, gym-goers, and personal training clients logging sets, rest intervals, PRs, and weekly lifting volume.
- Goal: Provide a zero-friction gym floor logger with instant set check-offs, automatic rest timers, PR detection, and visual progress tracking persisted in localStorage.
- Tone: Focused, athletic, crisp, high-contrast, no fluff or medical claims.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: lucide-react (ISC), @fontsource/space-grotesk (OFL), @fontsource/inter (OFL), @fontsource/jetbrains-mono (OFL)
- 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/space-grotesk (500, 600, 700), @fontsource/inter (400, 500, 600, 700), and @fontsource/jetbrains-mono (400, 500, 600) locally in src/main.tsx.
- Store seeded 4-day push/pull/legs routine, exercise library with SVG form specs, and 3 weeks of historical workout logs in src/data/workoutSeed.ts; persist active session, custom sets, PR records, and completed workouts in localStorage.
- Synthesize an optional Web Audio API beep tone (no external audio files) when the floating rest timer hits 00:00.
- Never draw a fake phone bezel; implement true three-breakpoint responsive layout (mobile bottom tab bar <768px, desktop left sidebar + split panels >=768px).
## Variables
- [BRAND] — Workout app name (default: "VoltRep"). Fictional strength logger PWA name
- [ATHLETE_NAME] — Lifter profile name (default: "Alex Carter"). Fictional athlete name
- [PROGRAM_NAME] — Active training split (default: "4-Day Push / Pull / Legs"). Seeded program title
- [UNIT_LABEL] — Weight unit (default: "lbs"). Default load unit (lbs or kg)
- [WEEKLY_GOAL] — Weekly consistency target (default: "4 Sessions / Week"). Displayed in Progress & Today views
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/workout-gym-logger-app 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 仍然免费。
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Workout & Gym Logger App"
colors:
energetic_charcoal: "#0D0F12"
elevated_surface: "#171A21"
neon_volt: "#C8F902"
slate_gray: "#94A3B8"
crisp_white: "#F8FAFC"
hairline_dark: "#262B36"
typography:
athletic_display_headings: { family: "Space Grotesk", weights: [500, 600, 700] }
ui_and_form_cues: { family: "Inter", weights: [400, 500, 600, 700] }
weights_reps_rest_countdowns_and_volume_stats: { family: "JetBrains Mono", weights: [400, 500, 600] }
spacing: "Mobile (<768px) uses 16px side padding with comfortable 44px+ tap targets for gym-floor logging and clearance above the bottom tab bar + floating rest timer. Desktop (>=768px) opens into a 240px left sidebar + 2-column split workout & live telemetry desk."
radius: "14px for exercise and chart cards, 10px for numeric weight/rep inputs, 999px for rest timer presets and muscle-group pills."
---
# Workout & Gym Logger App — 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
- **Energetic Charcoal** `#0D0F12` — Primary dark gym canvas
- **Elevated Surface** `#171A21` — Exercise cards, program cards, and split panels
- **Neon Volt** `#C8F902` — Completed set checks, PR badges, active tabs, and primary CTAs (always paired with #0D0F12 dark text)
- **Slate Gray** `#94A3B8` — Secondary labels, previous-set hints, and inactive icons
- **Crisp White** `#F8FAFC` — Primary headings, numbers, and input text
- **Hairline Dark** `#262B36` — Card borders and set table dividers
## Typography
- **Athletic display headings** — Space Grotesk (OFL), weights 500/600/700. Self-host the font files.
- **UI and form cues** — Inter (OFL), weights 400/500/600/700. Self-host the font files.
- **Weights, reps, rest countdowns, and volume stats** — JetBrains Mono (OFL), weights 400/500/600. Self-host the font files.
## Spacing & shape
- Spacing: Mobile (<768px) uses 16px side padding with comfortable 44px+ tap targets for gym-floor logging and clearance above the bottom tab bar + floating rest timer. Desktop (>=768px) opens into a 240px left sidebar + 2-column split workout & live telemetry desk.
- Radius: 14px for exercise and chart cards, 10px for numeric weight/rep inputs, 999px for rest timer presets and muscle-group pills.
## Motion
- Instant Neon Volt pop on checked sets and smooth slide-in PR celebration toast.
- Smooth circular SVG countdown arc inside the floating rest timer.
- Honors prefers-reduced-motion; all content visible immediately.
## Imagery
100% crisp code-drawn athletic visuals: anatomical geometric SVG exercise form diagrams, weekly volume SVG bar chart, 28-day streak heatmap grid, and Lucide icons.
## Tone
Focused, athletic, crisp, high-contrast, no fluff or medical claims.
---
— Prompt by VibeFather · https://vibefather.ai/t/workout-gym-logger-app · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
健身训练记录 App 模板自带四天推、拉、腿和上肢分化训练、三周已完成训练历史,以及可搜索的动作库和代码绘制的 SVG 动作示范。训练中可内联调整重量和次数,勾选组数即可启动浮动休息计时器,提供 60 秒、90 秒和 120 秒预设;当某一组打破最佳预估 1RM 时会收到 Personal Record toast 提示。Progress 视图追踪每周训练容量和 28 天连续热力图。
健身训练记录 App 模板将当前训练会话、自定义组、PR 记录和已完成训练保存在浏览器的 localStorage 中,预置的例行训练、动作库和三周历史则位于 App 的种子数据中。没有后端、服务器代码或外部 API,因此每台设备保存自己的记录。清除浏览器存储会将 App 重置为种子程序和训练历史。
复制本页的完整提示词(Pro),或者运行 npx vibefather add workout-gym-logger-app,把 变量 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。
演示由 Gemini 4 Neon 在 Antigravity 里完成。每次都用公开的提示词原样生成,没有额外补充。