用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
一个面向婚礼和人像摄影师的四页作品集:电影感的首页展示摄影师自述和精选婚礼,一个包含四场完整婚礼的画廊索引,每场婚礼一个故事页,以电影般的画面序列配以文字说明讲述,以及一个信息页,包含套餐、客户评价和一套会根据已预订日期列表核对日期的咨询流程。默认内容讲述一位虚构的摄影师在哈德逊河谷工作十年,但这一结构适合任何摄影师或双人工作室:更改姓名、地区、起始年份和每年婚礼数量后,每个页面依然读起来真实可信。首页主视觉是一张全出血画面,置于近黑色界面框架之下,摄影师标志采用宽大写电影衬线字体;婚礼卡片以信箱式呈现,标注地点和季节;故事页混合全出血和半出血画面,配以安静的说明文字;灯箱全屏运行,支持键盘导航和缓慢交叉淡入淡出。套餐详细列出小时数、交付画面数、第二摄影师、差旅和相册;咨询表单会将所选日期与一份虚构的已预订列表进行核对,并以客户端确认结束——没有后端。Italiana 设置电影衬线展示字体,Manrope 设置安静的正文字体,两者均自托管。摄影细节驱动——场地、后脑勺、窗边的婚纱、桌面布置、空荡的舞池——任何地方都不出现面部。要改编它,请替换变量并在一个内容文件中重写文案;婚礼、套餐、已预订日期和客户评价都从该文件读取。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Wedding Photographer Portfolio
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
A four-page portfolio for [BRAND], a wedding and portrait photographer working [REGION] since [FOUNDED], taking [YEARLY] by design. It must read like a printed film portfolio: a near-black cinematic home with the photographer's statement, a gallery index of four full weddings, one story page per wedding (opened with a query, first wedding when opened without), and an info page with three packages, testimonials and an inquiry flow whose date check answers against an invented booked list. Pages: index.html, gallery.html, story.html, info.html. A full-screen lightbox with keyboard navigation runs across the story pages. Everything runs in the browser; nothing is submitted anywhere.
- Audience: Engaged couples 26–38 scanning portfolios at midnight on a laptop, plus mothers-of-the-bride forwarded the link. They have seen fifty grid templates; they want to feel the work is scarce (a handful of weddings), the numbers are honest (hours, frames, prices) and the photographer answers email like a human.
- Goal: Book the inquiry call. Within ten seconds a visitor should feel the gallery is cinematic and the photographer is selective; within two minutes they should reach the packages and check their date.
- Tone: Quiet, specific and a little wry, like a photographer editing at 1am. Short declarative lines, concrete numbers, no SEO mush, no 'capturing your special day'.
## 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/italiana (OFL-1.1), @fontsource-variable/manrope (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. Four real HTML pages at the project root: index.html (entry src/main-home.tsx), gallery.html (src/main-gallery.tsx), story.html (src/main-story.tsx) and info.html (src/main-info.tsx).
- vite.config.ts: base './', plugins [react()], build { outDir 'dist', sourcemap false, assetsInlineLimit 0, rollupOptions { input { index: resolve(__dirname, 'index.html'), gallery: resolve(__dirname, 'gallery.html'), story: resolve(__dirname, 'story.html'), info: resolve(__dirname, 'info.html') } } }. Do not copy src/ into dist/.
- Tailwind 3.4 through PostCSS (tailwindcss + postcss + autoprefixer), content ['./index.html', './gallery.html', './story.html', './info.html', './src/**/*.{ts,tsx}']. In tailwind.config.ts add every color under Design to theme.extend.colors with kebab-case keys (ink-black, charcoal, graphite, bone, milk, smoke, brass, brass-deep, fern) and fontFamily display ['Italiana', 'Georgia', 'serif'], sans ['Manrope Variable', 'system-ui', 'sans-serif']. Set borderRadius DEFAULT to 4px — film corners are nearly square — and add maxWidth { container: '1240px' }.
- In src/fonts.ts import '@fontsource/italiana/400.css' and '@fontsource-variable/manrope'; import src/fonts.ts and src/index.css from all four entry files.
- File layout: src/content.ts (every string, number, wedding, frame, caption, package, testimonial, booked date, FAQ answer and image path, typed), src/lib/brand.ts (brandSlug = [BRAND] lowercased with every run of non-alphanumeric characters replaced by '-', emailDomain = brandSlug without hyphens + '.com', mailto = 'hello@' + emailDomain), src/lib/storage.ts (safe localStorage get/set wrapped in try/catch, keys prefixed with brandSlug + ':'), src/lib/wedding.ts (reads the story query 'story.html?w=<slug>' from location.search, returns the wedding whose slug matches, or the first wedding — never a not-found).
- State: src/store/inquiry.ts is a tiny external store (useSyncExternalStore) holding the inquiry draft { names, email, date, venue, note } and the submitted flag, persisted to localStorage key brandSlug + ':inquiry'. The lightbox is local component state lifted into src/store/lightbox.ts (shared across the story page) with { open, weddingSlug, index }.
- Components in src/components/: Header.tsx, Footer.tsx, Reveal.tsx (Motion whileInView wrapper), Eyebrow.tsx (small-caps with thin rules), Lightbox.tsx, WeddingCard.tsx, Frame.tsx (an image with letterbox chrome and caption), Marquee.tsx; home: Hero.tsx, Statement.tsx, Featured.tsx, KindWords.tsx, Approach.tsx; gallery: GalleryIndex.tsx; story: StoryHero.tsx, FrameSequence.tsx, StoryMeta.tsx, NextStory.tsx; info: Packages.tsx (TierCard.tsx), Testimonials.tsx, Inquiry.tsx (DateCheck.tsx, BriefForm.tsx, SentCard.tsx), Faq.tsx. src/pages/Home.tsx, Gallery.tsx, Story.tsx, Info.tsx compose them; every page renders Header and Footer.
- Before the first build, download every image listed under Assets into public/images/ with curl -L -o using the exact file names given. The build itself never fetches anything.
- public/favicon.svg as described under Assets. All four HTML files: lang en, <meta name='theme-color' content='#141311'>, <link rel='icon' href='./favicon.svg' type='image/svg+xml'>. Titles: index.html '<title>[BRAND] — Wedding photography in [REGION]</title>', gallery.html '<title>Full weddings — [BRAND]</title>', story.html '<title>Stories — [BRAND]</title>', info.html '<title>Packages & inquiry — [BRAND]</title>'. story.html opened with no query renders the first wedding, titled for it.
- Write ASSETS.md at the project root as described under Assets.
- dist/ holds the four HTML files, hashed JS/CSS, the woff2 fonts, favicon.svg and the six images. Keep it under 12 MB.
## Variables
- [BRAND] — Photographer name (default: "Nora Vale"). The photographer's name as it appears on the site ('Nora Vale', wordmark 'NORA VALE'). Used in the wordmark, titles, email (hello@ + brandSlug without hyphens + .com) and localStorage keys. Always an invented person; never a real photographer or studio.
- [REGION] — Region (default: "the Hudson Valley"). Where the photographer works, lowercase article style ('the Hudson Valley', 'the Pacific Northwest'). Drives the hero line, story place names, travel copy and FAQ. Real regions are fine; venues and towns in the stories stay invented.
- [FOUNDED] — First year shooting (default: "2014"). Four-digit year of the first paid wedding. Drives the statement line, the footer 'since [FOUNDED]' and the About eyebrow.
- [YEARLY] — Weddings per year (default: "18 weddings a year"). The scarcity line ('18 weddings a year, deliberately'). Drives the statement, the packages note and the inquiry copy. Keep the number 10–24.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/wedding-photographer-portfolio 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 仍然免费。
DESIGN.md
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Wedding Photographer Portfolio"
colors:
ink_black: "#141311"
charcoal: "#1D1B18"
graphite: "#2A2723"
bone: "#E9E4DA"
milk: "#F5F2EA"
smoke: "#9A938A"
brass: "#C0A268"
brass_deep: "#A08549"
fern: "#7E8F7A"
typography:
display_h1_h2_wedding_titles_the_wordmark_wide_caps_prices_in_large_sizes_frame_numbers: { family: "Italiana", weights: [400] }
text_and_ui_body_small_caps_labels_font_feature_smcp_or_uppercase_letterspaced_buttons_forms_captions_numbers_font_variant_numeric_tabular_nums: { family: "Manrope", weights: [400, 500, 700] }
spacing: "8px base unit. Container max-width 1240px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 120px desktop, 88px under 1024px, 72px under 640px — galleries breathe. Type scale: H1 clamp(52px, 8vw, 108px) Italiana 400 uppercase, letter-spacing 0.08em, line-height 1.0; H2 clamp(34px, 4.6vw, 60px) Italiana 400 uppercase letter-spacing 0.06em; H3 26px Italiana 400; lead Manrope 400 18px / 1.7 Bone at 88%; body Manrope 400 15.5px / 1.75 (max-width 62ch); small-caps label Manrope 700 11px uppercase letter-spacing 0.28em Smoke, flanked by 32px x 1px Brass rules at 50% opacity; caption Manrope 400 13px Smoke. Buttons: height 52px, padding 0 30px, Manrope 700 12px uppercase letter-spacing 0.22em. Primary: Bone fill, Ink Black text. Secondary: 1px Bone/40% border, Bone text (hover border Brass). Inputs: height 52px, 1px Bone/25% border, Charcoal fill, Bone text, focus border Brass. Focus ring everywhere: 2px Brass outline with 3px offset. Letterbox chrome: frames carry a 1px Bone/15% border and an 8px inset Milk/10% veil on hover only."
radius: "4px on cards, buttons, inputs, chips, frames and the inquiry panel — film corners. 999px only for the availability dot and the lightbox frame counter."
---
# Wedding Photographer Portfolio — 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 Black** `#141311` — Page background on all pages, lightbox chrome, footer.
- **Charcoal** `#1D1B18` — Alternate section background, cards on dark, inquiry panel.
- **Graphite** `#2A2723` — Hover surface on dark, tier card featured fill, hairline blocks.
- **Bone** `#E9E4DA` — Primary text on dark: headlines, body, buttons with dark fill.
- **Milk** `#F5F2EA` — Text on photos in letterbox bars, lightbox captions, inverse accents.
- **Smoke** `#9A938A` — Secondary text, small-caps labels, captions, disabled dates (at 50%).
- **Brass** `#C0A268` — The one accent: small-caps eyebrows, thin rules, prices, selected states, focus ring, booked-date marks.
- **Brass Deep** `#A08549` — Brass hover state, primary button pressed, link underline.
- **Fern** `#7E8F7A` — Quiet second color: open-date check mark, 'available' notes, next-story arrow hover.
## Typography
- **Display: H1, H2, wedding titles, the wordmark (wide caps), prices in large sizes, frame numbers** — Italiana (OFL), weights 400. Self-host the font files.
- **Text and UI: body, small-caps labels (font-feature 'smcp' or uppercase letterspaced), buttons, forms, captions, numbers (font-variant-numeric tabular-nums)** — Manrope (OFL), weights 400/500/700. Self-host the font files.
## Spacing & shape
- Spacing: 8px base unit. Container max-width 1240px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 120px desktop, 88px under 1024px, 72px under 640px — galleries breathe. Type scale: H1 clamp(52px, 8vw, 108px) Italiana 400 uppercase, letter-spacing 0.08em, line-height 1.0; H2 clamp(34px, 4.6vw, 60px) Italiana 400 uppercase letter-spacing 0.06em; H3 26px Italiana 400; lead Manrope 400 18px / 1.7 Bone at 88%; body Manrope 400 15.5px / 1.75 (max-width 62ch); small-caps label Manrope 700 11px uppercase letter-spacing 0.28em Smoke, flanked by 32px x 1px Brass rules at 50% opacity; caption Manrope 400 13px Smoke. Buttons: height 52px, padding 0 30px, Manrope 700 12px uppercase letter-spacing 0.22em. Primary: Bone fill, Ink Black text. Secondary: 1px Bone/40% border, Bone text (hover border Brass). Inputs: height 52px, 1px Bone/25% border, Charcoal fill, Bone text, focus border Brass. Focus ring everywhere: 2px Brass outline with 3px offset. Letterbox chrome: frames carry a 1px Bone/15% border and an 8px inset Milk/10% veil on hover only.
- Radius: 4px on cards, buttons, inputs, chips, frames and the inquiry panel — film corners. 999px only for the availability dot and the lightbox frame counter.
## Motion
- Easing: --ease-out cubic-bezier(0.22, 0.61, 0.36, 1) for reveals and the lightbox; --ease-io cubic-bezier(0.65, 0, 0.35, 1) for the inquiry steps and FAQ. Slow, weighted, cinematic — nothing bounces.
- Reveal: blocks wrapped in <Reveal> start at opacity 0, translateY(20px) and animate to rest over 900ms --ease-out when 12% visible (Motion whileInView, viewport once). Siblings stagger by 90ms (index prop).
- Hero: the full-bleed frame scales from 1.06 to 1.0 over 3000ms --ease-out while a bottom gradient rises; the wordmark letters fade in with 40ms stagger; the small-caps line draws its rules outward from center. Scrolling translates the photo 0 to 10% and fades the overlay to 55% (Motion useScroll, offset ['start start', 'end start']).
- Wedding cards: on hover the photo scales 1.03, the letterbox caption bar rises from the bottom edge, and the place/season small-caps brighten Smoke → Bone over 400ms. The card's frame number ('01') crossfades to an ArrowUpRight.
- Story frames: each frame fades from opacity 0 with a 12px rise on scroll; full-bleed frames also scale from 1.03 to 1.0 as they settle. Captions fade 200ms after their frame.
- Lightbox: opens with a 200ms fade to Ink Black at 96%; the frame crossfades between photos over 500ms --ease-io with a subtle 8px scale settle; the counter and caption fade once. Arrow keys navigate, Escape closes, focus returns to the invoking frame. Under reduced motion: instant swap.
- Packages: the featured tier lifts 8px and carries a 1px Brass border; on hover each tier's price counts nothing but the small-caps note crossfades to the deliverable list's first line.
- Inquiry: the date check runs a 600ms 'checking' state (three dots pulsing), then answers — Fern check and 'That date is open' for free dates, Brass circle and 'Already held — the week after is open' for booked ones. Submitting slides the form out and the SentCard in (16px rise, 320ms --ease-io, AnimatePresence mode 'wait').
- FAQ accordions: height 0 to auto, opacity 0 to 1, 340ms --ease-io; Plus rotates 45 degrees into an X.
- Header: transparent over the heroes with Milk text and a bottom gradient; after 40px of scroll it gets Ink Black at 88%, backdrop-filter blur(12px), Bone text, 250ms transition. The wordmark is always centered; nav small-caps at the edges.
- Links: .link-draw grows a 1px Brass underline from 0% to 100% over 300ms on hover and focus-visible.
- prefers-reduced-motion: reduce — disable the hero scale and parallax, letter stagger, frame scales, lightbox crossfade (instant), dots and count-adjacent effects. Color and border hover changes stay. Use CSS @media in index.css plus Motion's useReducedMotion in components.
## Imagery
Real photography only, cinematic and consistent, all six made for this template in one shoot's style: available light, deep shadows, warm skinless compositions, fine film grain. Faces never appear, but people do: one couple in silhouette at golden hour joins the venues, the dresses, the couples-from-far-behind, the tablescapes and empty floors — a portrait-photographer's world with the likenesses kept private. No readable text or logos anywhere. Every photo uses object-fit cover with the object-position given under Assets, 4px corners, 1px Bone/15% border; captions in Manrope 13px Smoke under the frame, frame numbers in Italiana. Drawn in code: the favicon, the wordmark (type only), frame numbers, the availability dot, the lightbox chrome, dividers. Icons: lucide-react only, stroke width 1.5.
## Tone
Quiet, specific and a little wry, like a photographer editing at 1am. Short declarative lines, concrete numbers, no SEO mush, no 'capturing your special day'.
---
— Prompt by VibeFather · https://vibefather.ai/t/wedding-photographer-portfolio · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 私奔摄影师:将 REGION 设为你的山区或沿海地区,将婚礼列表缩减为三个亲密故事,并围绕半日拍摄和差旅重写套餐。
- 人像和家庭摄影师:保留故事结构,将四场婚礼重新标记为拍摄场次,并将套餐替换为家庭、新生儿和里程碑拍摄,附带交付画面数。
- 双人工作室:将 BRAND 设为工作室名称,将第二摄影师添加到每个套餐,并在两位摄影师之间分配自述。
- 目的地婚礼摄影师:将 REGION 扩展到你旅行的地点,为每个套餐添加差旅条款,并在 FAQ 答案中注明护照和许可证详情。
婚礼摄影师作品集:常见问题
如何将婚礼摄影师作品集变成我自己的网站,使用我的名字、地区和婚礼数量?
婚礼摄影师作品集模板读取四个变量:BRAND、REGION、FOUNDED 和 YEARLY。将 BRAND 设为你的名字,REGION 设为你的拍摄地点,FOUNDED 设为你第一场付费婚礼的年份,YEARLY 设为每年 10 到 24 场婚礼。文字标识、页面标题、电子邮件地址、自述语句和页脚都遵循这些值,其余文案位于一个内容文件中,你重写以匹配。
怎么用 AI 做一个婚礼摄影师作品集?
复制本页的完整提示词(Pro),或者运行 npx vibefather add wedding-photographer-portfolio,把 [BRAND]、[REGION]、[YEARLY]、[FOUNDED] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。