用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
Martial Arts Dojo Website 是一个面向武术学校的单页网站,采用墨黑、绯红和宣纸白配色,笔触点缀全部由代码绘制——纪律本身就是设计。核心亮点是腰带进阶路径:一条从白带到黑带的路径会随着滚动逐渐填充,每个段位都标注了典型所需时间和要求。围绕这个核心,页面还包括:三条课程线(儿童、青少年、成人),文案从购买者视角撰写;一张可按日期和课程筛选的课程表;教练简介,配以穿着素色道服的肖像;家庭会员价格,附家庭人数计算;可内联完成的免费体验预约;以及面向家长的、语气平和的防霸凌板块,内容涵盖体态、发声、何时走开、何时告诉大人。照片是氛围感的训练馆场景,学生背对镜头、身穿素色道服——没有面部特写,没有门派徽章。适合任何规模的空手道、跆拳道和格斗学校。五个变量可替换学校名称、所在城镇、主教练、电话和教龄;所有段位时间、价格和评价均为虚构示例数据。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Martial Arts Dojo Website
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
Build a one-page site for [BRAND], the martial arts school led by head instructor [FOUNDER] in [CITY], [EXPERIENCE] of teaching behind it. The page is disciplined — black, crimson, rice-paper white, brush strokes drawn in code — with three program tracks, an animating belt progression path, a day-filterable schedule, two instructor bios, family pricing, an anti-bullying section for parents and a free trial booking. Photography is moody training-hall work with students in plain uniforms from behind. All rank timings, prices and reviews are invented sample data.
- Audience: Primary: parents of kids 6–15 (the anti-bullying and confidence angle) and adults 16+ who keep meaning to start. Secondary: grappling and fitness schools re-pointing programs and ranks.
- Goal: Move a visitor from 'maybe for my kid' to a booked free trial: show the path (belts), the schedule (fits our week), the people (instructors), the price (family math), then make the trial form the shortest step on the page.
- Tone: Calm, respectful dojo English — short sentences, earned confidence, zero machismo. The school sounds like a place that teaches restraint first.
## Stack
- Framework: Vite 6 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: react (MIT), react-dom (MIT), vite (MIT), typescript (Apache-2.0), tailwindcss (MIT), motion (MIT), lucide-react (ISC), @fontsource/big-shoulders-display (OFL-1.1), @fontsource/figtree (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Create a Vite 6 + React 18 + TypeScript project with base './', build.outDir 'dist', build.sourcemap: false. No router, no backend, no server code.
- Install Tailwind CSS 3.4 with PostCSS and Autoprefixer. Extend the theme with the exact palette below, fontFamily.display 'Big Shoulders Display' and fontFamily.body 'Figtree'.
- Self-host Big Shoulders Display weights 600 and 700 and Figtree weights 400, 500, 600, 700 through @fontsource/big-shoulders-display and @fontsource/figtree, imported in src/main.tsx. Never load fonts from a CDN.
- Use Motion from 'motion/react' (motion, useScroll, useTransform, useInView, useReducedMotion) for the belt-path scroll fill and reveals; gate every animation on useReducedMotion().
- Keep all copy and data in src/content.ts: brand strings, hero copy, programs, the six ranks with typical months and requirements, the weekly schedule (day, time, program, level), instructors, pricing, anti-bullying points, reviews, trial form options. When variable values change, rewrite the dependent copy there and derive storage keys and the tel: link from [BRAND] and [PHONE] so no default-brand remnants remain.
- The belt path, exactly six ranks on an SVG path that climbs left-to-right across the section (each node a wrapped-belt glyph drawn in code in its color): White — 0 months — 'shows up, bows in'; Yellow — 3–5 months — 'stances hold, first form learned'; Green — 8–12 months — 'controlled partner drills'; Blue — 14–20 months — 'sparring with control'; Brown — 24–30 months — 'assists in kids' classes'; Black — 36–48 months — 'teaches a class, lives the courtesy'. The path stroke fills with scroll progress via useScroll + useTransform (a crimson stroke drawing over a hairline track); each node's card fades in as the stroke reaches it; under prefers-reduced-motion the full path renders instantly with all cards visible. A footnote reads 'Typical times, not promises — the path adjusts to the student.'
- The schedule is a data-driven table: rows = time slots, columns = days Mon–Sat; filters = day chips (All + each day) and program chips (All / Kids / Teens / Adults / Family); matching cells highlight crimson-tint while others dim to 40% (never hide, so the week stays legible); each cell shows time, program, level ('Beginner friendly' / 'All levels' / 'Advanced').
- Draw brush-stroke accents as inline SVG in code: one horizontal stroke under each section title (single crimson path with slight taper and rough edge via 2–3 overlapping paths), and a large translucent stroke behind the hero title. No calligraphy fonts, no third-party art.
- Use only these lucide-react icons: Phone, Users, CalendarCheck, Clock, Shield, Heart, Star, MapPin, ChevronRight, ArrowRight, Menu, X, CheckCircle2, GraduationCap, Hand, Eye, Footprints, Medal.
- Persist the schedule filter choice and the trial booking to localStorage, namespaced with [BRAND_SLUG]; validate restored JSON and recover silently from malformed data.
- Download the six generated photos to the exact public paths listed in Assets before building. Create ASSETS.md at the project root listing every file's path, source URL, author or generator, and license.
- A plain <title> of [BRAND] and a favicon (the ink square with a crimson belt knot) are enough; no meta descriptions, Open Graph tags, JSON-LD, or sitemaps.
## Variables
- [BRAND] — School name (default: "Blackpine Martial Academy"). Invented school name; a belt-knot logomark is derived from it in code.
- [CITY] — City (default: "Eastgate"). Where the dojo is; appears in hero, schedule and footer.
- [FOUNDER] — Head instructor (default: "Marcus Ito"). Invented head instructor, named in hero and the first bio card.
- [PHONE] — Phone (default: "(555) 913-7742"). School line; links as tel: with digits only.
- [EXPERIENCE] — Years teaching (default: "18 years"). Plain phrase like '18 years'; used in hero and instructor copy.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/martial-arts-dojo-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.
## Design
### Colors
- Ink `#14151A` — Hero ground, dark bands, headings on light
- Ink deep `#0D0E12` — Footer ground and darkest panels
- Crimson `#C8102E` — The single accent: CTAs, belt path stroke, schedule highlights
- Crimson tint `#F9E4E7` — Highlight chips and note panels on light
- Rice paper `#F5F1E8` — Page ground
- White `#FFFFFF` — Cards on paper
- Steel `#5D5F66` — Secondary text on light; #9BA0AB on dark
- Hairline `#E4DFD4` — Hairline rules and card borders
- Belt white `#FFFFFF` — Belt glyph fills where needed (outlined on paper)
### Typography
- Display: headlines, rank names, prices: Big Shoulders Display (OFL), weights 600/700
- Body: paragraphs, schedule cells, forms: Figtree (OFL), weights 400/500/600/700
### Layout & motion
- Spacing: Sections separated by 88px desktop / 60px mobile; section headers sit over a code-drawn crimson brush stroke with a 13px letter-spaced crimson eyebrow and a Big Shoulders Display 700 title at clamp(30px, 3.4vw, 48px); cards 24px padding, 20px gaps.
- Radius: Restrained: 4px cards and chips, 0 on buttons — the discipline is in square edges; photos 4px with a 1px ink border.
- Motion: Fade-rise reveals (12px, 450ms, 50ms stagger) via useInView, once — quick and settled.
- Motion: The belt path stroke fills with scroll progress (useScroll + useTransform on the section); rank cards fade in as the stroke reaches them.
- Motion: Schedule filter changes crossfade cell opacity 150ms; the trial success check pops 1.15×.
- Motion: All motion disables instantly under prefers-reduced-motion (the belt path renders complete); no parallax beyond the path, no scroll-jacking, no autoplay media.
- Imagery: Moody training-hall photography from one shoot: wide shots of students in plain white uniforms seen from behind under warm spots, a kids' class lined up, adults drilling, a still life of colored belts hanging on a rack, and two plain-uniform instructor portraits — no close-up faces, no crests or emblems, no readable text.
## Pages & Sections
### [BRAND] — Martial arts in [CITY] (`index.html`)
1. **Header and hero** — Header (ink at 94% with backdrop blur, 68px, sticky): belt-knot logomark (ink square with a crimson knot glyph) + [BRAND] in Big Shoulders Display 700 uppercase rice-white 17px; nav anchors Programs, The path, Schedule, Pricing, Free trial; right: phone chip Phone icon + [PHONE] (tel:) in rice-white and a crimson pill 'Book a free trial'. At 390px: logomark + name, phone icon button, menu button on one line; anchors in an ink dropdown. Hero: full-bleed training-hall photo (wide shot, students from behind under warm spots, 82vh desktop / 560px mobile) with a bottom-up ink gradient 95%→transparent and a large translucent crimson brush stroke behind the title; content bottom-left: eyebrow crimson 'MARTIAL ARTS — KIDS · TEENS · ADULTS'; H1 Big Shoulders Display 700 uppercase rice-white 'COURTESY FIRST. TECHNIQUE SECOND.'; paragraph '#C9CCC4' 'Head instructor [FOUNDER] has taught [CITY] for [EXPERIENCE] — a blended striking-and-grappling foundation taught the traditional way: quiet bows, patient drills, no shortcuts.'; crimson pill 'Two weeks, $29, uniform included' (anchor to trial) and rice-outline pill 'See the schedule' (anchor); chips in 12px rice-white on translucent ink: 'Free trial week for families' · '6 days a week' · 'Parents watch every class'.
Layout: Copy columns 1–7; chips wrap two rows max at 390px; scrim guarantees AA contrast.
Motion: Photo scales 1.04→1 over 800ms; copy rises 12px staggered 60ms.
2. **Programs** — Rice-paper band. Eyebrow 'PROGRAMS' (crimson); title 'Three tracks, one standard.' Three cards (white, hairline, 4px radius): 'Kids · 6–9' — 'Focus games, falling safely, and the two words parents love: yes, instructor. Stranger-awareness folded into every unit.'; 'Teens · 10–15' — 'Real technique with real partners: striking, clinch, ground — plus the leadership ladder of assisting lower belts.'; 'Adults · 16+' — 'Beginner-friendly fundamentals through advanced sparring. The 7 p.m. class is the quietest hour of your week.' Each card: age chip, the class photo for kids/adults respectively, a 'first class is free' line, and a crimson link 'Try this track →' anchoring the trial with the program preselected.
Layout: Three cards in a row (1-column under 900px); photos 4:3 tops.
Motion: Cards rise 12px staggered 70ms.
3. **The belt path** — Ink band, the signature section. Eyebrow 'THE PATH' (crimson); title 'White to black, drawn honestly.' The SVG path climbs left-to-right across the section — a hairline rice-white track with a crimson stroke filling by scroll progress — through six nodes, each a wrapped-belt glyph drawn in code in the rank color (white outlined, yellow, green, blue, brown, black) with a rank card: rank name in Big Shoulders Display 700, typical time in Figtree 600, requirement line in #9BA0AB — White '0 months · shows up, bows in'; Yellow '3–5 months · stances hold, first form learned'; Green '8–12 months · controlled partner drills'; Blue '14–20 months · sparring with control'; Brown '24–30 months · assists in kids' classes'; Black '36–48 months · teaches a class, lives the courtesy'. Footnote 12px '#9BA0AB': 'Typical times, not promises — the path adjusts to the student.' The belts-rack photo sits as a quiet 4:3 panel at the band's right edge.
Layout: Path spans full width (min-height 420px), rank cards alternate above/below the line (all below on mobile in a vertical path); photo absolute-right on desktop, hidden-band-bottom on mobile.
Motion: Stroke fills with scroll; cards fade in as the stroke reaches them; reduced-motion renders the complete path instantly.
4. **Schedule** — Rice-paper band. Eyebrow 'SCHEDULE' (crimson); title 'Six days, filtered your way.' Filter chips: days (All, Mon–Sat) and programs (All / Kids / Teens / Adults / Family); matching cells highlight crimson-tint with ink text, non-matching dim to 40% opacity (never hidden). Table (white panel, hairline grid; columns Mon–Sat): Mon — 4:00 Kids beginner · 5:15 Teens all levels · 7:00 Adults beginner; Tue — 4:00 Kids all · 6:30 Adults advanced sparring; Wed — 4:00 Kids beginner · 5:15 Teens advanced · 7:00 Adults all; Thu — 5:15 Family class · 6:30 Adults beginner; Fri — 4:00 Kids all · 6:30 Teens all; Sat — 9:00 Family class · 10:15 Adults all levels. Each cell: time Figtree 700, program, level chip ('Beginner friendly' / 'All levels' / 'Advanced'). Filter choice persists. Note 12px steel: 'Sample weekly rhythm — holiday schedules post at the door.'
Layout: Table scrolls horizontally under 800px with the time column sticky-left; chips scroll horizontally on mobile.
Motion: Cell opacity crossfades 150ms on filter change.
5. **Instructors** — White band. Eyebrow 'INSTRUCTORS' (crimson); title 'Two teachers, zero egos.' Two cards with 3:4 portraits (plain white uniforms, no crests): '[FOUNDER] — Head instructor' — '[EXPERIENCE] teaching; rank held quietly' — 'Teaches the way he was taught: small class, sharp eye, patient hands.' — line: 'The best students ask the boring questions.'; 'Sena Okafor — Senior instructor' — 'Runs the teens and family classes' — 'A former reluctant kid who stayed 14 years; she remembers exactly why.' — line: 'Confidence is a skill, not a mood.' Ranks appear as plain text only.
Layout: Two cards side by side (1-column under 800px); portraits crop 3:4.
Motion: Cards rise 12px staggered 80ms.
6. **Family pricing** — Rice-paper band. Eyebrow 'PRICING' (crimson); title 'The family math, published.' Three cards: 'Trial — two weeks' — '$29' — 'unlimited classes in your track, uniform included' tagged 'START HERE' crimson chip; 'Individual' — '$129 / mo' — 'one member, all classes in their track, belt testing included'; 'Family Path' — '$229 / mo' — 'up to three household members, each additional $39, family classes included' tagged 'MOST CHOSEN'. Note panel (crimson tint, 13px): 'A family of three on Family Path pays $76 per member — and the 6 p.m. drives home together. Sample prices; no contracts, month to month.'
Layout: Three cards in a row (1-column under 900px); middle card lifts 12px.
Motion: Cards rise 12px staggered 70ms; tags pop 1.1×.
7. **For parents: anti-bullying** — Ink band. Eyebrow 'FOR PARENTS' (crimson); title 'What we actually teach about bullies.' Four cards on translucent panels: 'Posture before punches' — Eye icon — 'How a child carries themselves changes who gets picked. We drill it like technique, because it is.'; 'The voice' — Hand icon — 'A loud, calm 'stop' practiced until it's automatic — most situations end right there.'; 'When to walk' — Footprints icon — 'Leaving is a skill with a name in our curriculum, not a retreat.'; 'When to tell' — Shield icon — 'Adults are told every time. Our rule: the physical answer is the last resort, and it's taught as one.' Footer line '#9BA0AB': 'No child is taught to solve words with fists. Parents sit ringside whenever they like.'
Layout: Four cards 2×2 (1-column under 800px); icons in crimson circles.
Motion: Cards rise 12px staggered 80ms.
8. **Reviews** — Rice-paper band. Eyebrow 'FROM FAMILIES'; title 'The quiet confidence reviews.' Three cards (white, crimson quote mark): five crimson stars; 16px ink quote; 13px steel footer. 'Six months in, my daughter walks into rooms differently. The belts matter to her; the posture matters to us.' — Rosa M., parent, kids track. 'I'm 44 and terrified of gyms. The 7 p.m. adults class meets you exactly where you are. I've made the walk every Tuesday.' — Gerald T., adults track. 'Two kids on Family Path, one car, one schedule. The family class is the best hour of our week.' — the Okonjo family. Disclaimer 12px steel: 'Sample reviews for this template demo.'
Layout: Three cards in a row (1-column under 900px); middle lifts 12px.
Motion: Cards rise 12px staggered 80ms.
9. **Free trial booking** — White band. Eyebrow 'FREE TRIAL' (crimson); title 'Two weeks. Bring water.' Form (ink panel, max-width 720px, rice-white fields): track select (Kids 6–9 / Teens 10–15 / Adults 16+ / Family); student name (required; 'your name if the trial is yours'); age (required); guardian name + phone (required, 'we text the confirmation'); preferred start chips (This week / Next week / Just asking first). Crimson pill submit 'Reserve the trial'. Validation inline (2px crimson borders, 13px notes), no native popups. Success: CheckCircle2 crimson, 'Welcome in, [student].' Big Shoulders Display 700 rice-white, 'We text your first-class time within a day — uniform waits at the desk. This demo stores the booking in this browser only.' and an outline pill 'Book another'. Persists to localStorage.
Layout: Two-column field rows desktop, 1-column mobile with 96px bottom padding clear of the sticky bar.
Motion: Success crossfades with a 12px rise; check pops 1.15×.
10. **Footer** — Ink-deep band. Column 1: knot logomark + [BRAND] Big Shoulders Display 700 uppercase rice-white; 13px #9BA0AB lines '88 Forge Street, Second Floor, [CITY]', '[PHONE] (tel:)', 'Mon–Sat, mornings and evenings'. Column 2 'School': anchors Programs, The path, Schedule, Pricing. Column 3 'Small print': 'Sample site for a template — ranks, times, prices and reviews invented', 'Curriculum described generically; no lineage claimed', optional [CREDIT] link in crimson. Mobile sticky bar (under 768px): fixed bottom ink 96% + blur; crimson pill 'Call' (tel:) and rice-outline pill 'Free trial' (anchor), safe-area padding.
Layout: Footer grid 4/4/4 to 1-column mobile; body padding-bottom 80px under 768px.
Motion: None.
## Assets
- image: Training hall hero. Download https://media.vibefather.ai/assets/bf5a81ed-bcd2-45cd-8456-5a9ad2172f1c/hero-dojo.webp to public/images/hero-dojo.webp. Alt: 'A wide shot of students in plain white uniforms training under warm spots.' The hero anchor. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template; record that exact credit in ASSETS.md.
- image: Kids class. Download https://media.vibefather.ai/assets/bf5a81ed-bcd2-45cd-8456-5a9ad2172f1c/class-kids.webp to public/images/class-kids.webp. Alt: 'A kids' class lined up on the mat, seen from behind.' The kids program card. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template; record that exact credit in ASSETS.md.
- image: Adults class. Download https://media.vibefather.ai/assets/bf5a81ed-bcd2-45cd-8456-5a9ad2172f1c/class-adults.webp to public/images/class-adults.webp. Alt: 'Adults drilling technique in a dim hall, seen from behind.' The adults program card. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template; record that exact credit in ASSETS.md.
- image: Belts rack. Download https://media.vibefather.ai/assets/bf5a81ed-bcd2-45cd-8456-5a9ad2172f1c/belts-rack.webp to public/images/belts-rack.webp. Alt: 'Colored martial-arts belts hanging on a wooden rack.' The belt-path band's quiet panel. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template; record that exact credit in ASSETS.md.
- image: Instructor portrait one. Download https://media.vibefather.ai/assets/bf5a81ed-bcd2-45cd-8456-5a9ad2172f1c/instructor-1.webp to public/images/instructor-1.webp. Alt: 'Portrait of a fictional head instructor in a plain white uniform.' The [FOUNDER] card. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template; record that exact credit in ASSETS.md.
- image: Instructor portrait two. Download https://media.vibefather.ai/assets/bf5a81ed-bcd2-45cd-8456-5a9ad2172f1c/instructor-2.webp to public/images/instructor-2.webp. Alt: 'Portrait of a fictional senior instructor in a plain white uniform.' The Sena Okafor card. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template; record that exact credit in ASSETS.md.
- icon: Lucide (ISC) via the lucide-react package, restricted to the icon list in setup, plus original code-drawn brush-stroke SVGs, belt glyphs and the knot logomark. No other icon source.
- font: Big Shoulders Display (OFL) and Figtree (OFL) self-hosted through @fontsource/big-shoulders-display and @fontsource/figtree; no CDN font loading.
## Don'ts
- No real martial-arts organizations, federations, lineage claims, style trademarks, crests or emblems; the curriculum is described generically as a blended foundation and ranks are plain text.
- No real dojos, instructors or tournament records; [BRAND], ranks, times, prices and reviews are invented sample data.
- No close-up faces anywhere: photos show students from behind, in wide shots, or still-life halls — instructor portraits are composed but not dramatic.
- Anti-bullying copy stays calm and practical: posture, voice, walking away, telling adults; the physical answer is explicitly the last resort, and no self-defense outcome is promised.
- No machismo or fear-based marketing: no 'fight like a champion', no scare copy about streets or predators.
- Rank timings are 'typical, not promises' and labeled so; no guaranteed-black-belt language.
- No dates tied to the real clock: the schedule is a weekly rhythm on weekday anchors, no calendar dates, no copyright year.
- Forms are local-only samples: no submit to any server, no APIs, no analytics. Persist to localStorage only and validate restored data.
- No backend, server code, databases or auth. Static output in dist/ from the single build command, under 20 MB, with Vite's base relative.
- Self-host fonts through the Fontsource packages only; never load Google Fonts, Adobe Fonts or any CDN stylesheet or script.
- No source maps in production and no src/ copied into dist/.
- No Unsplash, Pexels, Pixabay, Google Images, placeholder-image services or hotlinked files; use only the six generated photos and code-drawn SVG art.
- No SEO work: no meta descriptions, Open Graph tags, JSON-LD, sitemaps or keyword-stuffed headings. A plain title with [BRAND] and a favicon are enough.
- Schedule filters dim rather than hide non-matching cells, so the week is always legible.
- No scroll-jacking: the belt path fills with scroll but never traps or hijacks it; motion limited to the specified reveals, the path fill, crossfades and pops, all respecting prefers-reduced-motion.
- Keep the mobile header on one line at 390px and never let the sticky bottom bar cover the trial form's submit button.
- Build brand-derived strings (storage keys, tel: link) from [BRAND] and [PHONE] so alternate variable values never leave default-brand remnants.
- Every internal link is a file name or in-page anchor, never a bare directory; the site stays one index.html.
---
— Prompt by VibeFather · https://vibefather.ai/t/martial-arts-dojo-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 武术道馆网站 完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。 ## 简介 为 [BRAND] 构建一个单页网站,这是一家由首席教练 [FOUNDER] 领导的武术学校,位于 [CITY],拥有 [EXPERIENCE] 的教学经验。页面风格严谨——黑色、深红色、宣纸白、以代码绘制的笔触——包含三条课程路径、一条动态腰带晋级路径、可按天筛选的课程表、两位教练简介、家庭定价、面向家长的防霸凌板块以及免费试课预约。摄影风格为情绪化的训练馆作品,学员身着素色道服,从背后拍摄。所有段位时间、价格和评价均为虚构的示例数据。 - 受众:主要:6–15 岁孩子的家长(防霸凌与自信心角度)以及一直想开始的 16 岁以上成年人。次要:重新定位课程和段位的格斗与健身学校。 - 目标:推动访客从“也许适合我家孩子”转变为预约免费试课:展示路径(腰带)、课程表(契合我们的一周)、人物(教练)、价格(家庭账),然后让试课表单成为页面上最短的一步。 - 语调:平静、尊重的道场英语——短句、有底气的自信、零大男子主义。这所学校听起来像是一个先教克制的地方。 ## 技术栈 - 框架:Vite 6 + React 18 + TypeScript - 样式:Tailwind CSS 3.4 - 库:react(MIT)、react-dom(MIT)、vite(MIT)、typescript(Apache-2.0)、tailwindcss(MIT)、motion(MIT)、lucide-react(ISC)、@fontsource/big-shoulders-display(OFL-1.1)、@fontsource/figtree(OFL-1.1) - 构建:`npm run build` → `dist/` 中的静态文件。无后端、无服务器代码、无外部 API。 - 设置: - 创建一个 Vite 6 + React 18 + TypeScript 项目,base 为 './',build.outDir 为 'dist',build.sourcemap: false。无路由、无后端、无服务器代码。 - 安装 Tailwind CSS 3.4 及 PostCSS 和 Autoprefixer。使用下方精确的调色板扩展主题,fontFamily.display 为 'Big Shoulders Display',fontFamily.body 为 'Figtree'。 - 通过 @fontsource/big-shoulders-display 和 @fontsource/figtree 自托管 Big Shoulders Display 字重 600 和 700 以及 Figtree 字重 400、500、600、700,在 src/main.tsx 中导入。绝不从 CDN 加载字体。 - 使用来自 'motion/react' 的 Motion(motion、useScroll、useTransform、useInView、useReducedMotion)实现腰带路径的滚动填充和显现;每个动画都以 useReducedMotion() 为条件。 - 将所有文案和数据保留在 src/content.ts 中:品牌字符串、主视觉文案、课程项目、六个段位及其典型月数和要求、每周课程表(星期、时间、课程、级别)、教练、定价、反霸凌要点、评价、试课表单选项。当变量值变化时,在那里重写依赖的文案,并从 [BRAND] 和 [PHONE] 派生存储键和 tel: 链接,确保不残留默认品牌痕迹。 - 腰带路径,在一条从左到右攀升穿过该区域的 SVG 路径上恰好有六个段位(每个节点是一个用代码绘制的、以其颜色呈现的缠绕腰带图标):White — 0 months — 'shows up, bows in';Yellow — 3–5 months — 'stances hold, first form learned';Green — 8–12 months — 'controlled partner drills';Blue — 14–20 months — 'sparring with control';Brown — 24–30 months — 'assists in kids' classes';Black — 36–48 months — 'teaches a class, lives the courtesy'。路径描边通过 useScroll + useTransform 随滚动进度填充(一条深红色描边绘制在细线轨道上);当描边到达每个节点时,该节点的卡片淡入;在 prefers-reduced-motion 下,完整路径立即渲染,所有卡片可见。脚注为 'Typical times, not promises — the path adjusts to the student.' - 课程表是一个数据驱动的表格:行 = 时间段,列 = 周一至周六;筛选器 = 星期标签(All + 每天)和课程标签(All / Kids / Teens / Adults / Family);匹配的单元格以深红色调高亮,其他单元格变暗至 40%(绝不隐藏,以保持一周清晰可读);每个单元格显示时间、课程、级别('Beginner friendly' / 'All levels' / 'Advanced')。 - 用代码内联 SVG 绘制笔触点缀:每个区域标题下方一条水平笔触(单条深红色路径,通过 2–3 条重叠路径实现轻微收窄和粗糙边缘),主视觉标题后方一条大的半透明笔触。无书法字体,无第三方艺术素材。 - 仅使用这些 lucide-react 图标:Phone、Users、CalendarCheck、Clock、Shield、Heart、Star、MapPin、ChevronRight、ArrowRight、Menu、X、CheckCircle2、GraduationCap、Hand、Eye、Footprints、Medal。 - 将课程表筛选选择和试课预约持久化到 localStorage,以 [BRAND_SLUG] 为命名空间;验证恢复的 JSON,并从格式错误的数据中静默恢复。 - 在构建前将六张生成的图片下载到 Assets 中列出的确切公共路径。在项目根目录创建 ASSETS.md,列出每个文件的路径、来源 URL、作者或生成器以及许可证。 - 一个纯 <title> 为 [BRAND] 和一个 favicon(带深红色腰带结的墨色方块)就足够了;无需 meta 描述、Open Graph 标签、JSON-LD 或站点地图。 ## 变量 - [BRAND] — 学校名称(默认:“Blackpine Martial Academy”)。虚构的学校名称;代码中会据此生成一个腰带结标志图形。 - [CITY] — 城市(默认:“Eastgate”)。道馆所在地;出现在 hero、课程表和页脚中。 - [FOUNDER] — 首席教练(默认:“Marcus Ito”)。虚构的首席教练,在 hero 和第一张简介卡片中署名。 - [PHONE] — 电话(默认:“(555) 913-7742”)。学校电话;以 tel: 链接形式呈现,仅使用数字。 - [EXPERIENCE] — 教学年限(默认:“18 years”)。类似 '18 years' 的普通短语;用于 hero 和教练文案。 - [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接,指向 https://vibefather.ai/t/martial-arts-dojo-website(默认:是;删除此行即可移除) Pages & Sections 下的文案是按默认值撰写的。如果你的取值不同,请为它们重写每一个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。 将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便之后无需改动组件即可替换内容。 ## 设计 ### 颜色 - 墨色(Ink)`#14151A` — Hero 区底色、深色区块、浅色背景上的标题 - 深墨色(Ink deep)`#0D0E12` — 页脚底色和最暗的面板 - 绯红色(Crimson)`#C8102E` — 唯一强调色:CTA、腰带路径描边、日程高亮 - 绯红浅色调(Crimson tint)`#F9E4E7` — 浅色背景上的高亮标签和注释面板 - 宣纸色(Rice paper)`#F5F1E8` — 页面底色 - 白色(White)`#FFFFFF` — 纸色背景上的卡片 - 钢灰色(Steel)`#5D5F66` — 浅色背景上的次要文本;深色背景上为 #9BA0AB - 细线色(Hairline)`#E4DFD4` — 细线分隔线和卡片边框 - 腰带白色(Belt white)`#FFFFFF` — 需要时用于腰带图标的填充(在纸色背景上为描边) ### 字体排印 - 展示字体:标题、段位名称、价格:Big Shoulders Display(OFL),字重 600/700 - 正文字体:段落、日程单元格、表单:Figtree(OFL),字重 400/500/600/700 ### 布局与动效 - 间距:桌面端区块间距 88px / 移动端 60px;区块标题位于代码绘制的绯红笔触之上,配 13px 字距的绯红眉题和 Big Shoulders Display 700 标题,字号为 clamp(30px, 3.4vw, 48px);卡片内边距 24px,间距 20px。 - 圆角:克制使用:卡片和标签 4px,按钮 0 — 纪律感体现在直角边缘;照片 4px 并带 1px 墨色边框。 - 动效:淡入上升显现(12px,450ms,50ms 错峰)通过 useInView 实现,仅一次 — 快速且稳定。 - 动效:腰带路径描边随滚动进度填充(在该区块上使用 useScroll + useTransform);段位卡片在描边到达时淡入。 - 动效:日程筛选变化时单元格透明度交叉淡化 150ms;试课成功勾选弹出 1.15×。 - 动效:所有动效在 prefers-reduced-motion 下立即禁用(腰带路径渲染为完整状态);除路径外无视差,无滚动劫持,无自动播放媒体。 - 图像:来自一次拍摄的情绪化训练馆摄影:身穿纯白道服的学生背影在暖色聚光灯下的广角镜头、排成一队的儿童班、正在训练的成年人、挂在架子上彩色腰带的静物,以及两张纯色道服教练肖像 — 无面部特写,无徽章或纹章,无可读文字。 ## 页面与区块 ### [BRAND] — [CITY] 的武术 (`index.html`) 1. **页眉与首屏** — 页眉(墨色 94% 不透明度带背景模糊,68px,粘性定位):腰带结标志(墨色方块配深红色结形符号)+ [BRAND],使用 Big Shoulders Display 700 大写、米白色 17px;导航锚点:Programs、The path、Schedule、Pricing、Free trial;右侧:电话胶囊 Phone 图标 + [PHONE](tel:)米白色,以及深红色胶囊按钮 'Book a free trial'。在 390px 宽度下:标志 + 名称、电话图标按钮、菜单按钮排成一行;锚点收进墨色下拉菜单。首屏:全出血训练馆照片(广角镜头,学生背影处于暖色聚光灯下,桌面端 82vh / 移动端 560px),底部向上墨色渐变 95%→透明,标题后方有一道大型半透明深红色笔刷痕迹;内容位于左下角:眉题深红色 'MARTIAL ARTS — KIDS · TEENS · ADULTS';H1 使用 Big Shoulders Display 700 大写、米白色 'COURTESY FIRST. TECHNIQUE SECOND.';段落 '#C9CCC4' 'Head instructor [FOUNDER] has taught [CITY] for [EXPERIENCE] — a blended striking-and-grappling foundation taught the traditional way: quiet bows, patient drills, no shortcuts.';深红色胶囊按钮 'Two weeks, $29, uniform included'(锚定到试课)和米色描边胶囊按钮 'See the schedule'(锚点);12px 米白色标签置于半透明墨色底上:'Free trial week for families' · '6 days a week' · 'Parents watch every class'。 布局:文案列 1–7;标签在 390px 下最多换行两行;遮罩保证 AA 对比度。 动效:照片从 1.04→1 缩放,历时 800ms;文案上移 12px,错开 60ms。 2. **课程项目** — 米纸色带。眉题 'PROGRAMS'(深红色);标题 'Three tracks, one standard.' 三张卡片(白色、细线边框、4px 圆角):'Kids · 6–9' — 'Focus games, falling safely, and the two words parents love: yes, instructor. Stranger-awareness folded into every unit.';'Teens · 10–15' — 'Real technique with real partners: striking, clinch, ground — plus the leadership ladder of assisting lower belts.';'Adults · 16+' — 'Beginner-friendly fundamentals through advanced sparring. The 7 p.m. class is the quietest hour of your week.' 每张卡片:年龄标签、儿童/成人各自的课程照片、一行 'first class is free',以及深红色链接 'Try this track →',锚定到试课并预选该课程。 布局:三张卡片一行(900px 以下单列);照片 4:3 置于顶部。 动效:卡片上移 12px,错开 70ms。 3. **腰带之路** — 墨色带,标志性区块。眉题 'THE PATH'(深红色);标题 'White to black, drawn honestly.' SVG 路径从左到右攀升贯穿整个区块——一条细线米白色轨道,深红色描边随滚动进度填充——穿过六个节点,每个节点是一个用代码绘制的缠带符号,使用对应段位颜色(白色描边、黄色、绿色、蓝色、棕色、黑色),并配一张段位卡片:段位名称使用 Big Shoulders Display 700,典型时长使用 Figtree 600,要求行使用 #9BA0AB——White '0 months · shows up, bows in';Yellow '3–5 months · stances hold, first form learned';Green '8–12 months · controlled partner drills';Blue '14–20 months · sparring with control';Brown '24–30 months · assists in kids' classes';Black '36–48 months · teaches a class, lives the courtesy'。脚注 12px '#9BA0AB':'Typical times, not promises — the path adjusts to the student.' 腰带架照片作为安静的 4:3 面板置于色带右边缘。 布局:路径横跨全宽(最小高度 420px),段位卡片在线条上下交替(移动端全部在下方,呈垂直路径);照片在桌面端绝对定位右侧,移动端隐藏于色带底部。 动效:描边随滚动填充;卡片在描边到达时淡入;减少动效模式下立即渲染完整路径。 4. **课程表** — 米纸色带。眉题 'SCHEDULE'(深红色);标题 'Six days, filtered your way.' 筛选标签:星期(All、Mon–Sat)和课程(All / Kids / Teens / Adults / Family);匹配单元格高亮为深红色调配墨色文字,不匹配的降至 40% 不透明度(从不隐藏)。表格(白色面板、细线网格;列 Mon–Sat):Mon — 4:00 Kids beginner · 5:15 Teens all levels · 7:00 Adults beginner;Tue — 4:00 Kids all · 6:30 Adults advanced sparring;Wed — 4:00 Kids beginner · 5:15 Teens advanced · 7:00 Adults all;Thu — 5:15 Family class · 6:30 Adults beginner;Fri — 4:00 Kids all · 6:30 Teens all;Sat — 9:00 Family class · 10:15 Adults all levels。每个单元格:时间 Figtree 700、课程、级别标签('Beginner friendly' / 'All levels' / 'Advanced')。筛选选择持久保存。注释 12px 钢色:'Sample weekly rhythm — holiday schedules post at the door.' 布局:表格在 800px 以下水平滚动,时间列左侧粘性;标签在移动端水平滚动。 动效:筛选变化时单元格不透明度交叉淡入淡出 150ms。 5. **教练** — 白色带。眉题 'INSTRUCTORS'(深红色);标题 'Two teachers, zero egos.' 两张卡片配 3:4 肖像(纯白道服,无徽章):'[FOUNDER] — Head instructor' — '[EXPERIENCE] teaching; rank held quietly' — 'Teaches the way he was taught: small class, sharp eye, patient hands.' — 一行:'The best students ask the boring questions.';'Sena Okafor — Senior instructor' — 'Runs the teens and family classes' — 'A former reluctant kid who stayed 14 years; she remembers exactly why.' — 一行:'Confidence is a skill, not a mood.' 段位仅以纯文本出现。 布局:两张卡片并排(800px 以下单列);肖像裁剪 3:4。 动效:卡片上移 12px,错开 80ms。 6. **家庭定价** — 米纸色带。眉题 'PRICING'(深红色);标题 'The family math, published.' 三张卡片:'Trial — two weeks' — '$29' — 'unlimited classes in your track, uniform included',标记深红色标签 'START HERE';'Individual' — '$129 / mo' — 'one member, all classes in their track, belt testing included';'Family Path' — '$229 / mo' — 'up to three household members, each additional $39, family classes included',标记 'MOST CHOSEN'。注释面板(深红色调,13px):'A family of three on Family Path pays $76 per member — and the 6 p.m. drives home together. Sample prices; no contracts, month to month.' 布局:三张卡片一行(900px 以下单列);中间卡片上移 12px。 动效:卡片上移 12px,错开 70ms;标签弹出 1.1×。 7. **致家长:反霸凌** — 墨色带。眉题 'FOR PARENTS'(深红色);标题 'What we actually teach about bullies.' 四张卡片置于半透明面板上:'Posture before punches' — 眼睛图标 — 'How a child carries themselves changes who gets picked. We drill it like technique, because it is.';'The voice' — 手图标 — 'A loud, calm 'stop' practiced until it's automatic — most situations end right there.';'When to walk' — 脚印图标 — 'Leaving is a skill with a name in our curriculum, not a retreat.';'When to tell' — 盾牌图标 — 'Adults are told every time. Our rule: the physical answer is the last resort, and it's taught as one.' 页脚行 '#9BA0AB':'No child is taught to solve words with fists. Parents sit ringside whenever they like.' 布局:四张卡片 2×2(800px 以下单列);图标置于深红色圆圈中。 动效:卡片上移 12px,错开 80ms。 8. **评价** — 米纸色带。眉题 'FROM FAMILIES';标题 'The quiet confidence reviews.' 三张卡片(白色、深红色引号):五颗深红色星;16px 墨色引文;13px 钢色页脚。'Six months in, my daughter walks into rooms differently. The belts matter to her; the posture matters to us.' — Rosa M., parent, kids track. 'I'm 44 and terrified of gyms. The 7 p.m. adults class meets you exactly where you are. I've made the walk every Tuesday.' — Gerald T., adults track. 'Two kids on Family Path, one car, one schedule. The family class is the best hour of our week.' — the Okonjo family. 免责声明 12px 钢色:'Sample reviews for this template demo.' 布局:三张卡片一行(900px 以下单列);中间上移 12px。 动效:卡片上移 12px,错开 80ms。 9. **免费试课预约** — 白色带。眉题 'FREE TRIAL'(深红色);标题 'Two weeks. Bring water.' 表单(墨色面板,最大宽度 720px,米白色字段):课程选择(Kids 6–9 / Teens 10–15 / Adults 16+ / Family);学生姓名(必填;'your name if the trial is yours');年龄(必填);监护人姓名 + 电话(必填,'we text the confirmation');首选开始标签(This week / Next week / Just asking first)。深红色胶囊提交按钮 'Reserve the trial'。内联验证(2px 深红色边框,13px 注释),无原生弹窗。成功:CheckCircle2 深红色,'Welcome in, [student].' Big Shoulders Display 700 米白色,'We text your first-class time within a day — uniform waits at the desk. This demo stores the booking in this browser only.' 以及描边胶囊按钮 'Book another'。持久化到 localStorage。 布局:桌面端双列字段行,移动端单列,底部内边距 96px 以避开粘性栏。 动效:成功交叉淡入并上移 12px;对勾弹出 1.15×。 10. **页脚(Footer)** — 墨深色带。第 1 列:结形标志 + [BRAND] Big Shoulders Display 700 大写米白色;13px #9BA0AB 行 '88 Forge Street, Second Floor, [CITY]'、'[PHONE] (tel:)'、'Mon–Sat, mornings and evenings'。第 2 列 'School':锚点 Programs、The path、Schedule、Pricing。第 3 列 'Small print':'Sample site for a template — ranks, times, prices and reviews invented'、'Curriculum described generically; no lineage claimed',可选 [CREDIT] 链接为绯红色。移动端粘性栏(768px 以下):固定底部墨色 96% + 模糊;绯红色胶囊按钮 'Call'(tel:)和米白描边胶囊按钮 'Free trial'(锚点),安全区内边距。 布局:页脚网格 4/4/4 至移动端单列;768px 以下 body 底部内边距 80px。 动效:无。 ## 资产 - image:训练馆主视觉图。将 https://media.vibefather.ai/assets/bf5a81ed-bcd2-45cd-8456-5a9ad2172f1c/hero-dojo.webp 下载到 public/images/hero-dojo.webp。Alt:'A wide shot of students in plain white uniforms training under warm spots.' 主视觉锚点图。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发;请在 ASSETS.md 中记录该确切署名。 - image:儿童班。将 https://media.vibefather.ai/assets/bf5a81ed-bcd2-45cd-8456-5a9ad2172f1c/class-kids.webp 下载到 public/images/class-kids.webp。Alt:'A kids' class lined up on the mat, seen from behind.' 儿童课程卡片。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发;请在 ASSETS.md 中记录该确切署名。 - image:成人班。将 https://media.vibefather.ai/assets/bf5a81ed-bcd2-45cd-8456-5a9ad2172f1c/class-adults.webp 下载到 public/images/class-adults.webp。Alt:'Adults drilling technique in a dim hall, seen from behind.' 成人课程卡片。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发;请在 ASSETS.md 中记录该确切署名。 - image:腰带架。将 https://media.vibefather.ai/assets/bf5a81ed-bcd2-45cd-8456-5a9ad2172f1c/belts-rack.webp 下载到 public/images/belts-rack.webp。Alt:'Colored martial-arts belts hanging on a wooden rack.' 腰带进阶区块的静默面板。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发;请在 ASSETS.md 中记录该确切署名。 - image:教练肖像一。将 https://media.vibefather.ai/assets/bf5a81ed-bcd2-45cd-8456-5a9ad2172f1c/instructor-1.webp 下载到 public/images/instructor-1.webp。Alt:'Portrait of a fictional head instructor in a plain white uniform.' [FOUNDER] 卡片。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发;请在 ASSETS.md 中记录该确切署名。 - image:教练肖像二。将 https://media.vibefather.ai/assets/bf5a81ed-bcd2-45cd-8456-5a9ad2172f1c/instructor-2.webp 下载到 public/images/instructor-2.webp。Alt:'Portrait of a fictional senior instructor in a plain white uniform.' Sena Okafor 卡片。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发;请在 ASSETS.md 中记录该确切署名。 - icon:Lucide(ISC),通过 lucide-react 包引入,仅限 setup 中的图标列表,另加原创代码绘制的笔触 SVG、腰带字形和绳结标志。不使用其他图标来源。 - font:Big Shoulders Display(OFL)和 Figtree(OFL),通过 @fontsource/big-shoulders-display 和 @fontsource/figtree 自托管;不通过 CDN 加载字体。 ## 不要做 - 不使用任何真实的武术组织、联合会、门派传承声明、流派商标、徽章或纹章;课程内容以通用方式描述为融合基础,段位以纯文本呈现。 - 不使用真实的道场、教练或比赛记录;[BRAND]、段位、时间、价格和评价均为虚构的示例数据。 - 任何地方都不出现面部特写:照片从背后拍摄学生、采用广角镜头,或为静物式场馆照——教练肖像经过构图设计,但不追求戏剧化。 - 反霸凌文案保持冷静务实:姿态、声音、走开、告诉成年人;身体反击被明确列为最后手段,且不承诺任何自卫结果。 - 不搞大男子主义或恐惧营销:不出现“像冠军一样战斗”,不出现关于街头或侵害者的恐吓文案。 - 段位时间标注为“典型情况,非承诺”并明确标示;不使用保证黑带的措辞。 - 不出现与真实时钟绑定的日期:课程表是以工作日为锚点的每周节奏,无日历日期,无版权年份。 - 表单仅为本地示例:不向任何服务器提交,无 API,无分析。仅持久化到 localStorage,并对恢复的数据进行校验。 - 无后端、服务器代码、数据库或认证。通过单一构建命令输出静态文件到 dist/,小于 20 MB,Vite 的 base 使用相对路径。 - 仅通过 Fontsource 包自托管字体;绝不加载 Google Fonts、Adobe Fonts 或任何 CDN 样式表或脚本。 - 生产环境不生成 source map,不将 src/ 复制到 dist/。 - 不使用 Unsplash、Pexels、Pixabay、Google Images、占位图服务或热链接文件;仅使用六张生成的图片和代码绘制的 SVG 图形。 - 不做 SEO 工作:无 meta 描述、Open Graph 标签、JSON-LD、站点地图或关键词堆砌的标题。一个包含 [BRAND] 的普通标题和一个 favicon 就足够了。 - 课程表筛选器对不匹配的单元格进行变暗而非隐藏,因此一周始终清晰可读。 - 不劫持滚动:腰带路径随滚动填充,但绝不困住或劫持滚动;动效仅限于指定的显现效果、路径填充、交叉淡入淡出和弹出效果,全部遵循 prefers-reduced-motion。 - 在 390px 宽度下移动端页眉保持单行,且绝不让粘性底栏遮挡试课表单的提交按钮。 - 从 [BRAND] 和 [PHONE] 构建品牌派生字符串(存储键、tel: 链接),以便替换变量值后不会残留默认品牌痕迹。 - 每个内部链接都是文件名或页内锚点,绝不是裸目录;网站保持为单个 index.html。 --- — Prompt by VibeFather · https://vibefather.ai/t/martial-arts-dojo-website · 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: "Martial Arts Dojo Website"
colors:
ink: "#14151A"
ink_deep: "#0D0E12"
crimson: "#C8102E"
crimson_tint: "#F9E4E7"
rice_paper: "#F5F1E8"
white: "#FFFFFF"
steel: "#5D5F66"
hairline: "#E4DFD4"
belt_white: "#FFFFFF"
typography:
display_headlines_rank_names_prices: { family: "Big Shoulders Display", weights: [600, 700] }
body_paragraphs_schedule_cells_forms: { family: "Figtree", weights: [400, 500, 600, 700] }
spacing: "Sections separated by 88px desktop / 60px mobile; section headers sit over a code-drawn crimson brush stroke with a 13px letter-spaced crimson eyebrow and a Big Shoulders Display 700 title at clamp(30px, 3.4vw, 48px); cards 24px padding, 20px gaps."
radius: "Restrained: 4px cards and chips, 0 on buttons — the discipline is in square edges; photos 4px with a 1px ink border."
---
# Martial Arts Dojo 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
- **Ink** `#14151A` — Hero ground, dark bands, headings on light
- **Ink deep** `#0D0E12` — Footer ground and darkest panels
- **Crimson** `#C8102E` — The single accent: CTAs, belt path stroke, schedule highlights
- **Crimson tint** `#F9E4E7` — Highlight chips and note panels on light
- **Rice paper** `#F5F1E8` — Page ground
- **White** `#FFFFFF` — Cards on paper
- **Steel** `#5D5F66` — Secondary text on light; #9BA0AB on dark
- **Hairline** `#E4DFD4` — Hairline rules and card borders
- **Belt white** `#FFFFFF` — Belt glyph fills where needed (outlined on paper)
## Typography
- **Display: headlines, rank names, prices** — Big Shoulders Display (OFL), weights 600/700. Self-host the font files.
- **Body: paragraphs, schedule cells, forms** — Figtree (OFL), weights 400/500/600/700. Self-host the font files.
## Spacing & shape
- Spacing: Sections separated by 88px desktop / 60px mobile; section headers sit over a code-drawn crimson brush stroke with a 13px letter-spaced crimson eyebrow and a Big Shoulders Display 700 title at clamp(30px, 3.4vw, 48px); cards 24px padding, 20px gaps.
- Radius: Restrained: 4px cards and chips, 0 on buttons — the discipline is in square edges; photos 4px with a 1px ink border.
## Motion
- Fade-rise reveals (12px, 450ms, 50ms stagger) via useInView, once — quick and settled.
- The belt path stroke fills with scroll progress (useScroll + useTransform on the section); rank cards fade in as the stroke reaches them.
- Schedule filter changes crossfade cell opacity 150ms; the trial success check pops 1.15×.
- All motion disables instantly under prefers-reduced-motion (the belt path renders complete); no parallax beyond the path, no scroll-jacking, no autoplay media.
## Imagery
Moody training-hall photography from one shoot: wide shots of students in plain white uniforms seen from behind under warm spots, a kids' class lined up, adults drilling, a still life of colored belts hanging on a rack, and two plain-uniform instructor portraits — no close-up faces, no crests or emblems, no readable text.
## Tone
Calm, respectful dojo English — short sentences, earned confidence, zero machismo. The school sounds like a place that teaches restraint first.
---
— Prompt by VibeFather · https://vibefather.ai/t/martial-arts-dojo-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 格斗学院:保留腰带路径,但将段位改名为条纹和腰带,并将儿童、青少年和成人课程重新指向道服和无道服课程。
- 面向家庭的跆拳道学校:设置 [BRAND] 和 [CITY],然后围绕你的家庭费率和兄弟姐妹折扣重写家庭价格板块。
- 由一位教练运营的空手道俱乐部:在首屏设置 [FOUNDER] 和 [EXPERIENCE],去掉第二张简介卡,保留面向家长的防霸凌板块。
- 儿童自信课程:以防霸凌要点为主,将课程表缩短为课后时段,并把免费体验表单作为首要行动号召。
武术道馆网站:常见问题
如何修改 Martial Arts Dojo Website 上的腰带段位和时间?
Martial Arts Dojo Website 的腰带路径默认提供六个段位——白、黄、绿、蓝、棕、黑——每个段位都有典型时间范围和简短的要求说明,全部存放在内容文件中。打开该文件,按你的武术种类改写段位名称、月数和要求即可;滚动填充和卡片显现会自动跟随。模板将这些描述为典型时间,而非承诺。
我能让课程表按日期和课程筛选,以适配我自己的学校吗?
可以。Martial Arts Dojo Website 的课程表是一个由数据驱动的表格,时间槽为行,周一到周六为列,另外还有日期标签和课程标签(全部、儿童、青少年、成人、家庭)。在内容文件中编辑课程表条目以匹配你的真实课程,筛选、绯红高亮和变暗单元格会自动更新,无需改动布局。
Martial Arts Dojo Website 免费吗?Pro 能获得什么?
Martial Arts Dojo Website 是免费模板。其提示词和 DESIGN.md 在 CC BY-NC 4.0 下可免费用于个人非商业用途。商业和客户项目需要 Pro,Pro 还会提供完整提示词(模板中只展示简要说明),以及演示的源代码。两个在线演示分别由 GLM-5.3 在 ZCode 中、Kimi K3.1 Pro 在 Kimi Code 中构建,展示了最终效果。
怎么用 AI 做一个武术道馆网站?
复制本页的提示词,或者运行 npx vibefather add martial-arts-dojo-website,把 [CITY]、[BRAND]、[PHONE]、[FOUNDER] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。