用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
这个模板为独立影院搭建排片网站,所有视觉都用代码绘制:全站没有一张照片,只有天鹅绒红、黑色和奶油色的节目文字,围绕一块会亮灯的招牌。默认内容是一家虚构的三厅影院和六部虚构影片,每部影片都有手绘风格的抽象海报、按星期几排列的排片、影片详情页和影厅选座器。首屏就是招牌本身:影院名字用灯泡边框字体嵌在层叠的天鹅绒幕布渐变上,下方是缓慢滚动的正在放映信息,整页覆盖一层柔和的胶片颗粒。海报是纯 SVG 色块构图——黑色电影是雨线,惊悚片是暗色果园行列,喜剧是一架红色双翼飞机——所以网格看起来像精心策划过,却不需要任何摄影素材。选座器绘制真实的影厅地图:银幕弧线、八排带字母的座位、中央过道、固定已售座位、选中状态和实时票价合计,全部在本地完成,并附有明确的仅作演示说明,没有订票后端。会员分三档,到访信息区块包含虚构地址和营业时间。这个模板适合独立影院、艺术影院、社区剧场、话剧团以及任何按场次售票的场所。技术栈是 Vite + React + Tailwind,动效使用 Motion;字体通过 Fontsource 自托管,所有视觉元素都是 SVG 或 CSS,所以构建体积小且完全本地运行。要改造它,先修改影院名称、城市、票价和折扣日变量,然后在一个内容文件里替换影片、排片和会员档位;招牌、海报和选座器会自动调整样式。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Movie Theater Showtimes Website Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else. ## Brief A two-page site for an invented independent cinema: a bulb-lit marquee hero, six now-showing films with code-drawn abstract posters, showtimes by weekday, a film detail page with a drawn auditorium seat picker, three membership tiers and a visit footer — velvet red and black, every visual drawn in code. - Audience: Neighborhood moviegoers checking tonight's times, film-club regulars choosing between the 7:00 and the 9:30, and families picking a matinee. - Goal: Move the visitor from 'what's on' to 'these are my seats': browse films, pick a day and time, play with the seat map, and consider membership. - Tone: Warm and a little theatrical, like a well-loved usher: short marquee lines, program-note details, no corporate polish. ## Stack - Framework: Vite 5 + React 18 + TypeScript - Styling: Tailwind CSS 3.4 - Libraries: motion (MIT), lucide-react (ISC), @fontsource/bungee (MIT), @fontsource/karla (MIT), @fontsource/courier-prime (MIT) - Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs. - Setup: - vite.config.ts: base './', build.sourcemap false, nothing from src/ copied into dist/. - tailwind.config.js: extend colors house #150A0E, velvet #5E1520, ticket #C13A47, cream #F2E7CE, bulb #FFD98A, dim #6B5335, line #3A1B22; fontFamily display 'Bungee', body 'Karla', mono 'Courier Prime'. - All copy, films, poster compositions, showtime patterns, taken-seat patterns and tiers live in src/content.ts as typed objects; components never hard-code copy. - Marquee frame: src/components/Marquee.tsx renders two horizontal rows of bulb dots (18 per row, 10px circles, even gaps) around the sign; each dot cycles between bulb and dim over 2.6s with a 120ms stagger via CSS keyframes in src/index.css. - Film grain: a fixed full-page overlay div using an inline SVG feTurbulence data-URI at 5% opacity, pointer-events none, never animated. - The seat hold persists to localStorage under [BRAND_SLUG]-hold, where [BRAND_SLUG] is [BRAND] lowercased with hyphens. ## Variables - [BRAND] — Cinema name (default: "The Ruby Lantern"). Marquee headline, header, footer and the localStorage key via [BRAND_SLUG]. - [CITY] — Town (default: "Old Milltown"). Used in the address and directions copy. - [TICKET_PRICE] — Ticket price (default: "$11"). Standard adult seat price used by the seat-map tally. - [DISCOUNT_DAY] — Cheap night (default: "Tuesday"). Weekday for the discount banner under Showtimes. - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/movie-theater-showtimes-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 - house `#150A0E` — Page ground, near-black with a plum cast - velvet `#5E1520` — Curtains, sign slab, membership panels - ticket `#C13A47` — Primary buttons, active day chips, links on hover - cream `#F2E7CE` — Program text, headlines on dark - bulb `#FFD98A` — Lit marquee bulbs, selected seats, highlights - dim `#6B5335` — Unlit bulbs, sign borders, quiet rules - line `#3A1B22` — Hairlines, card borders ### Typography - Display / marquee and film titles: Bungee (OFL), weights 400 - Body / program text: Karla (OFL), weights 400/500/700 - Mono / showtimes, seats, tallies: Courier Prime (OFL), weights 400/700 ### Layout & motion - Spacing: Section padding py-24 desktop / py-16 mobile; container max-w-[1160px] px-6; poster grid gap-8; cards p-5 to p-8. - Radius: Posters and panels rounded-md (6px); membership cards rounded-xl; day chips and time pills rounded-full. - Motion: Marquee bulbs twinkle gently: each dot alternates between bulb and dim over 2.6s with a 120ms stagger around the frame; opacity only (1 to 0.45), no scale, no strobe. - Motion: The now-showing ticker under the marquee scrolls film titles left on a 40s loop (CSS translateX keyframes with duplicated content for a seamless wrap). - Motion: Scroll reveals: sections fade up 20px over 400ms with a 60ms stagger (Motion whileInView, once). - Motion: Seat interaction: hover lifts a seat 2px, press scales to 0.9, selection fills bulb over 150ms; the tally recomputes. - Motion: Film grain is static at 5% and never animates; a hover on a film card raises its border to dim and scales the poster to 1.02 over 300ms. - Motion: prefers-reduced-motion: bulbs hold a static 70%-lit pattern, the ticker stops into a wrapped static row, reveals appear instantly; seat selection still changes state without transforms. - Imagery: None photographic. Everything is drawn in code: velvet curtain gradients (layered linear-gradients with soft fold shadows), spotlight cones (low-opacity conic gradients), bulb-dot marquee frames, six geometric SVG film posters, the auditorium seat map and its screen arc, and a 5% film-grain overlay that unifies the page. ## Pages & Sections ### [BRAND] — now showing (`index.html`) 1. **Site header** — Thin 60px header, cream on house, bottom hairline in line. Left: wordmark [BRAND] in Bungee 16px cream. Center nav: Now showing, Showtimes, Membership, Visit — Karla 500 14px cream/70, hover cream. Right: pill CTA 'Tonight's shows' (ticket fill, cream text) → #showtimes. Mobile: nav collapses behind a lucide menu button opening a full-width drawer with the same links stacked. Layout: Inner container max-w-[1160px]; header is transparent over the marquee hero and gains a house tint after 60px of scroll. Motion: Tint fades in over 300ms; the drawer slides down 250ms. 2. **Marquee hero** — Full-viewport hero on layered velvet: house ground; a wide velvet curtain across the top made of three overlapping linear-gradient swags with soft fold shadows fading into house; two spotlight cones from the top corners (conic gradients in cream at 8%, mix-blend-mode screen, static). Centered marquee sign: a rounded-[24px] slab filled velvet with a 4px dim border, wrapped above and below by rows of bulbs (18 per row). Inside the sign: [BRAND] in Bungee at clamp(44px, 8vw, 96px), cream, tight leading, centered; subline Karla 500 16px cream/80: 'Now showing · six films · three screens'; CTAs: 'See showtimes' (ticket pill, cream text) → #showtimes and 'Become a member' (cream outline pill) → #membership. Under the sign, a line in Courier Prime 13px bulb: 'DOORS 30 MIN BEFORE FIRST SHOW'. Layout: min-h-[92vh], flex column centered; the sign is max-w-[880px] w-[92%] py-12 px-8; the doors line sits 24px below the sign. Motion: Bulbs twinkle in stagger; on load the sign scales from 0.97 with a 500ms ease and the headline letters fade in with a 30ms stagger; spotlights never move. 3. **Now-showing ticker** — Full-width strip between two hairlines (velvet/60 ground, dim borders) carrying a scrolling line in Courier Prime 14px cream, film titles separated by diamond glyphs: 'MIDNIGHT ORCHARD ◆ SIGNAL TO SOLACE ◆ THE FOX OF FETTER LANE ◆ IRON LULLABY ◆ AUNT MARIGOLD'S AEROPLANE ◆ BACKLOT HONEYMOON ◆ ' — content duplicated once for a seamless 40s loop. Layout: h-12, content single-line, overflow hidden, whitespace nowrap. Motion: translateX loop 40s linear infinite; under reduced motion the strip becomes a static wrapped row of the same titles. 4. **Now showing — poster grid** — H2 in Bungee 36px cream: 'Now showing'. Grid of six film cards; card: 2:3 poster SVG, film title in Bungee 20px cream, meta line Courier Prime 12px cream/70, link 'Film page →' Karla 500 bulb to ./film.html?film=<slug>. One-line blurbs and poster compositions (inline SVG, viewBox 300x450, flat color blocks, two tones plus one accent each, no letters, no numbers, no gradients): Midnight Orchard — thriller · 104 min · PG — slug midnight-orchard — blurb 'Something is taking the fruit in the dark, one circle at a time.' — poster: field #0E1F16, one pale moon circle top-right, six dark vertical trunk bars, a single brass dot #C9A227 low center. Signal to Solace — science fiction · 131 min · PG — signal-to-solace — 'A lighthouse operator answers a signal that shouldn't exist.' — field #101B33, three concentric cream arcs beaming from a bottom-left dot, one small drifting diamond top-right. The Fox of Fetter Lane — animated family · 88 min · G — fox-of-fetter-lane — 'A fox with a market habit trades favors down one long street.' — field #C25B2E, cream crescent top-left, three black leaf silhouettes, one cream curled-tail curve bottom-right. Iron Lullaby — noir · 117 min · PG-13 — iron-lullaby — 'One last fare, and the city has quietly changed hands.' — field #14161A, forty thin vertical rain lines in cream/25, one amber lamp dot with a small light cone. Aunt Marigold's Aeroplane — adventure comedy · 116 min · G — aunt-marigolds-aeroplane — 'A retired pilot and her great-niece rebuild a biplane from barn parts.' — sky #F3E3C2, red biplane built from two triangles and a circle prop, one dotted loop trail. Backlot Honeymoon — screwball romance · 91 min · PG — backlot-honeymoon — 'Two rival publicists must stage a wedding neither wants.' — field #E9C8C8, one large cream circle, one red diagonal ribbon, three bulb dots in a corner. Layout: grid md:grid-cols-2 lg:grid-cols-3 gap-8; posters w-full aspect-[2/3] rounded-md with a line border; cards p-5. Motion: Cards fade up staggered 60ms; poster scales to 1.02 on card hover (300ms). 5. **Showtimes by day** — H2 'Showtimes'. Day chips MON–SUN in Courier Prime 13px (FRI active by default, ticket fill when active). Films listed as rows: film title Karla 700 18px cream plus genre tag Courier Prime 12px cream/60, then time pills linking to ./film.html?film=<slug>&day=Fri&time=19:00 — pill Courier Prime 13px cream, 1px cream/30 border, hover ticket border. Sample pattern in content.ts: Midnight Orchard 16:15 / 19:00 / 21:30; Signal to Solace 13:45 / 17:15 / 20:30 (Sat–Sun extra 23:00); The Fox of Fetter Lane 11:00 / 14:00 (weekends only); Iron Lullaby 18:00 / 20:45; Aunt Marigold's Aeroplane 10:30 / 13:15 / 16:00; Backlot Honeymoon 15:00 / 17:45 / 20:15. Banner under the H2, Karla 14px cream/70: 'Cheap [DISCOUNT_DAY]: every screening before 17:00 is $7 at the door.' Footnote Courier Prime 12px cream/50: 'Sample week — times follow a weekday pattern, not a live calendar.' Layout: Films as rows with hairline dividers; each row grid-cols-[280px_1fr] on desktop and stacked on mobile; pills wrap. Motion: Day switch cross-fades the rows (200ms); the active chip fills ticket. 6. **Membership** — H2 'Membership'. Three tiers on velvet panels with dim borders: Matinee Member $9 / month — 'One ticket a month · Cheap [DISCOUNT_DAY] included · No booking fees.'; Double Feature $17 / month, tagged 'MOST CHOSEN' in Courier Prime 11px bulb — 'Two tickets a month · One guest pass a season · Free popcorn refills.'; Season Pass $149 / year — 'Unlimited standard shows · Four preview invitations · Your name on the lobby wall.' Note under the grid, Karla 13px cream/60: 'Memberships shown for information — this demo has no signup flow.' Layout: grid md:grid-cols-3 gap-6; the middle card sits 4px higher; prices in Bungee 32px cream. Motion: Cards fade up staggered; nothing else moves. 7. **Visit and footer** — Visit block 'Find the house': address '14 Marquee Lane, [CITY]' plus 'Night bus 12 stops at the fountain; two minutes on foot.'; hours table Courier Prime 13px cream/80: Mon–Thu 15:00–23:00, Fri 13:00–24:00, Sat–Sun 10:30–24:00, note 'Doors open 30 minutes before the first show.'; house notes Karla 14px cream/70: 'Screen One seats 96; screens Two and Three seat 48. The concession takes cards only.' Footer: wordmark, nav repeat, small print Courier Prime 12px cream/50: 'Films, showtimes and seats shown are invented sample content.' plus [CREDIT]. Layout: grid md:grid-cols-3 gap-10; footer py-10 with a line hairline top. Motion: Fade up only; the grain overlay continues over the footer. ### [BRAND] — film and seats (`film.html`) 1. **Film header** — Back link '← All films' to ./index.html#now-showing (Karla 500 cream/70). Two columns: left, the film's poster SVG exactly as drawn in the grid, w-full max-w-[380px] rounded-md with a line border; right, title in Bungee clamp(36px, 5vw, 64px) cream, meta line Courier Prime 13px cream/70 'GENRE · RUNTIME MIN · RATING', then a two-paragraph program note in Karla 15px cream/85. Program notes for all six films live in content.ts — Midnight Orchard: 'A keeper walks the orchard rows after the last bus leaves. Something has been taking the fruit in the dark, one precise circle at a time.' / 'Shot over nineteen nights in a single field, with a score for tape and bowed saw.' Signal to Solace: 'A lighthouse operator answers a signal that shouldn't exist, in a code she half remembers from childhood.' / 'Every beacon in the film was built and lit in camera.' The Fox of Fetter Lane: 'A fox with a market habit and a baker with a soft heart trade favors across one long street.' / 'Hand-inked at twelve frames a second; the smell of bread is almost visible.' Iron Lullaby: 'A night-shift driver takes one last fare and finds the city has quietly changed hands.' / 'Rain, neon and a brass score; the shadows do the talking.' Aunt Marigold's Aeroplane: 'A retired pilot and her great-niece rebuild a biplane from barn parts and borrowed afternoons.' / 'A comedy that lands softly; the loop-the-loop is real.' Backlot Honeymoon: 'Two rival studio publicists must stage a wedding neither wants, for a studio that no longer exists.' / 'Screwball pace, matinee heart; romance by way of the props department.' When ?film= is missing or unknown, show the first film (midnight-orchard) with day FRI and time 19:00 preselected — never an empty or not-found state. Layout: grid md:grid-cols-[380px_1fr] gap-10; py-16. Motion: Title and poster fade up 400ms. 2. **Screening picker and seat map** — Screening bar: day chips MON–SUN plus time pills for the selected film (the same sample pattern as index.html); the selection updates the map heading in Courier Prime 13px bulb: 'SCREEN ONE · FRI · 19:00' (built from the chosen day and time). Seat map, drawn: at top a shallow screen arc (a 70%-width bar with border-radius 50% 50% 0 0, cream/25 fill) labeled 'SCREEN' in Courier Prime 11px cream/60; below, eight rows A–H of twelve seats each — 34px squares rounded-[8px], a 28px aisle gap after seat 6 — with the row letter in Courier Prime 12px cream/50 on each side. States: available (1px cream/40 border, transparent fill), taken (cream/15 fill, disabled, cursor-not-allowed), selected (bulb fill, house text). Taken seats are a fixed sample pattern in content.ts, identical on every visit: rows D–F seats 4–9, plus singles A2, A3, B7, B8, C5, G10, H2. Legend row under the map shows the three states. Tally right-aligned in Courier Prime 14px cream: '3 SEATS · $33' with the total computed as seat count × [TICKET_PRICE]. Button 'Hold seats' (ticket fill): reveals an inline panel with a lucide check: 'Held on this device — this is a local demo. No booking was made and nothing was charged.' The hold saves under [BRAND_SLUG]-hold. Note under the map, Karla 13px cream/60: 'Row H end seats are step-free; ask an usher at the door.' Layout: Screening bar (chips and pills wrap) above the map; map centered max-w-[640px]; seats gap-1.5; tally and hold button right-aligned above the map. Motion: Hover lifts a seat 2px, press scales to 0.9; selection fills over 150ms; switching day or time resets the selection with a 200ms cross-fade. 3. **Film page footer** — Thin footer: back link '← All films' to ./index.html, wordmark [BRAND], small print Courier Prime 12px cream/50: 'Seat map is a local demo — no real booking.' plus [CREDIT]. Layout: py-10, line hairline top, inner container max-w-[1160px]. Motion: None beyond the page grain. ## Assets - image: No photographs and no downloads. Every visual is drawn in code: the six film posters as inline SVG color-block compositions (exact geometry listed per film in the Now showing section), velvet curtain gradients, spotlight cones, bulb-dot marquee frame, ticker strip, auditorium seat map and screen arc. The only raster-like element is an inline SVG feTurbulence film-grain data-URI at 5% opacity. - icon: lucide-react npm package (ISC): menu, x, ticket, clock, armchair, arrowLeft, check. No other icon sets, no brand logos. - font: Fontsource packages (MIT): @fontsource/bungee 400; @fontsource/karla 400/500/700; @fontsource/courier-prime 400/700. Imported in main.tsx; no font CDN links. ## Don'ts - No real cinemas, films, studios, distributors or film titles — every film, showtime and price is invented sample content. - Posters are code-drawn abstractions: no photographs, no real film art, and no readable letters or numbers inside the poster SVGs; typography lives only in the HTML around them. - Showtimes follow a fixed weekday pattern; no dates or times computed from the real clock and no JavaScript Date-based logic; the page labels times as samples. - No booking backend or payment: the seat picker is a local demo that saves to localStorage only and says so in the hold panel and the footer. - No photographs of people; no photographs at all — every visual is SVG or CSS. - Self-host everything (Fontsource fonts, inline SVG art); no CDN script or link tags, no Google Fonts, no analytics. - Vite base './' with relative paths; internal links point to real file names (./index.html, ./film.html), never bare directories; film.html without a valid ?film= shows the first film, never an error state. - Production build minified, no source maps, dist/ under 20 MB. - prefers-reduced-motion: bulbs static at a 70%-lit pattern, ticker paused into a wrapped static row, reveals instant; seat selection still works without transforms. - Bulbs twinkle gently (opacity only, 2.6s, no strobing); film grain is static at 5% and never animates. - No SEO scaffolding beyond a plain <title> with [BRAND] and a favicon. - No copied code, copy, lettering or artwork from any real cinema site, film poster or film material. --- — Prompt by VibeFather · https://vibefather.ai/t/movie-theater-showtimes-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 电影院放映时间网站 完全按照以下描述构建此网站。将 [VARIABLES] 替换为您自己的值;其余内容保持不变。 ## 简介 为一个虚构的独立影院制作一个两页网站:一个灯泡点亮的招牌式主视觉区、六部正在上映的影片(配有代码绘制的抽象海报)、按星期排列的放映时间、一个带有手绘礼堂座位选择器的影片详情页、三档会员等级,以及一个到访信息页脚——天鹅绒红与黑色,所有视觉元素均以代码绘制。 - 受众:查看今晚场次的社区观影者、在7:00和9:30之间做选择的影迷俱乐部常客,以及挑选日间场的家庭观众。 - 目标:引导访客从“有什么在上映”走向“这些是我的座位”:浏览影片、选择日期和时间、体验座位图,并考虑加入会员。 - 基调:温暖而略带戏剧感,像一位深受喜爱的引座员:简短的招牌式文案、节目单式的细节,没有企业化的精致感。 ## 技术栈 - 框架:Vite 5 + React 18 + TypeScript - 样式:Tailwind CSS 3.4 - 库:motion(MIT)、lucide-react(ISC)、@fontsource/bungee(MIT)、@fontsource/karla(MIT)、@fontsource/courier-prime(MIT) - 构建:`npm run build` → 静态文件输出到 `dist/`。无后端、无服务器代码、无外部 API。 - 配置: - vite.config.ts:base 设为 './',build.sourcemap 设为 false,src/ 中的任何内容都不会被复制到 dist/。 - tailwind.config.js:扩展颜色 house #150A0E、velvet #5E1520、ticket #C13A47、cream #F2E7CE、bulb #FFD98A、dim #6B5335、line #3A1B22;fontFamily 中 display 为 'Bungee'、body 为 'Karla'、mono 为 'Courier Prime'。 - 所有文案、影片、海报构图、场次模式、已占座位模式和票档都作为带类型的对象存放在 src/content.ts 中;组件绝不硬编码文案。 - 跑马灯边框:src/components/Marquee.tsx 在招牌周围渲染两行水平排列的灯泡圆点(每行 18 个,10px 圆形,间距均匀);每个圆点在 2.6s 内于 bulb 与 dim 之间循环,并通过 src/index.css 中的 CSS keyframes 实现 120ms 的错峰。 - 胶片颗粒:一个固定的全页面覆盖层 div,使用内联 SVG feTurbulence data-URI,不透明度 5%,pointer-events 为 none,从不播放动画。 - 座位保留状态持久化到 localStorage,键为 [BRAND_SLUG]-hold,其中 [BRAND_SLUG] 是 [BRAND] 转为小写并用连字符连接后的形式。 ## 变量 - [BRAND] — 影院名称(默认:“The Ruby Lantern”)。用于跑马灯标题、页眉、页脚,以及通过 [BRAND_SLUG] 生成的 localStorage 键。 - [CITY] — 城镇(默认:“Old Milltown”)。用于地址和路线文案。 - [TICKET_PRICE] — 票价(默认:“$11”)。标准成人座位价格,用于座位图统计。 - [DISCOUNT_DAY] — 优惠夜(默认:“Tuesday”)。Showtimes 下方折扣横幅所用的星期几。 - [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接,指向 https://vibefather.ai/t/movie-theater-showtimes-website(默认:是;删除此行即可移除) Pages & Sections 下的文案是按默认值编写的。如果你的值不同,请为它们重写每个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。 将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按 section 作为键,以便之后无需改动组件即可替换内容。 ## 设计 ### 颜色 - house `#150A0E` — 页面底色,接近黑色,带李子色调 - velvet `#5E1520` — 幕布、招牌板、会员面板 - ticket `#C13A47` — 主按钮、激活的日期标签、悬停链接 - cream `#F2E7CE` — 节目单文字、深色背景上的标题 - bulb `#FFD98A` — 点亮的跑马灯灯泡、已选座位、高亮 - dim `#6B5335` — 未点亮的灯泡、招牌边框、低调的分隔线 - line `#3A1B22` — 细线、卡片边框 ### 字体排印 - 展示 / 跑马灯和影片标题:Bungee(OFL),字重 400 - 正文 / 节目单文字:Karla(OFL),字重 400/500/700 - 等宽 / 放映时间、座位、计数:Courier Prime(OFL),字重 400/700 ### 布局与动效 - 间距:区块内边距桌面端 py-24 / 移动端 py-16;容器 max-w-[1160px] px-6;海报网格 gap-8;卡片 p-5 至 p-8。 - 圆角:海报和面板 rounded-md(6px);会员卡 rounded-xl;日期标签和时间胶囊 rounded-full。 - 动效:跑马灯灯泡轻柔闪烁:每个圆点在 bulb 和 dim 之间交替,周期 2.6s,沿边框错开 120ms;仅改变不透明度(1 到 0.45),不缩放,不频闪。 - 动效:跑马灯下方的 now-showing 滚动条以 40s 循环向左滚动影片标题(CSS translateX 关键帧,复制内容实现无缝衔接)。 - 动效:滚动显现:区块在 400ms 内上浮 20px 淡入,错开 60ms(Motion whileInView,仅一次)。 - 动效:座位交互:悬停时座位抬升 2px,按下时缩放至 0.9,选中时在 150ms 内填充 bulb;计数重新计算。 - 动效:胶片颗粒为静态 5%,从不播放动画;悬停影片卡片时边框提升至 dim,海报在 300ms 内缩放至 1.02。 - 动效:prefers-reduced-motion:灯泡保持静态 70% 点亮图案,滚动条停止为换行静态行,显现立即出现;座位选择仍改变状态但不使用变换。 - 图像:无摄影图像。一切皆由代码绘制:天鹅绒幕布渐变(分层 linear-gradients 带柔和褶皱阴影)、聚光灯锥(低不透明度 conic gradients)、灯泡点跑马灯边框、六张几何 SVG 电影海报、观众厅座位图及其屏幕弧线,以及统一页面的 5% 胶片颗粒叠加层。 ## 页面与区块 ### [BRAND] — 正在放映(`index.html`) 1. **站点页眉** — 60px 细页眉,house 底色上覆奶油色,底部细线用 line 色。左侧:字标 [BRAND],Bungee 16px 奶油色。中间导航:正在放映、放映时间、会员、到访 — Karla 500 14px 奶油色/70,悬停变奶油色。右侧:胶囊 CTA“今晚放映”(ticket 填充,奶油色文字)→ #showtimes。移动端:导航收起于 lucide 菜单按钮之后,点击打开全宽抽屉,相同链接纵向堆叠。 布局:内部容器 max-w-[1160px];页眉在跑马灯主视觉上透明,滚动 60px 后获得 house 色调。 动效:色调在 300ms 内淡入;抽屉下滑 250ms。 2. **跑马灯主视觉** — 全视口主视觉,置于分层 velvet 之上:house 地面;顶部横贯一幅宽 velvet 幕布,由三段重叠的 linear-gradient 垂花饰构成,柔和褶皱阴影渐隐入 house;顶部两角各有一束聚光灯锥(奶油色 conic 渐变,8%,mix-blend-mode screen,静态)。居中跑马灯招牌:rounded-[24px] 板面,velvet 填充,4px 暗色边框,上下各环绕一排灯泡(每排 18 个)。招牌内:[BRAND] 用 Bungee,字号 clamp(44px, 8vw, 96px),奶油色,紧行距,居中;副行 Karla 500 16px 奶油色/80:“正在放映 · 六部影片 · 三块银幕”;CTA:“查看放映时间”(ticket 胶囊,奶油色文字)→ #showtimes 和“成为会员”(奶油色描边胶囊)→ #membership。招牌下方一行 Courier Prime 13px 灯泡色:“首场开演前 30 分钟开门”。 布局:min-h-[92vh],flex 纵向居中;招牌 max-w-[880px] w-[92%] py-12 px-8;开门提示行位于招牌下方 24px。 动效:灯泡错峰闪烁;加载时招牌从 0.97 缩放,500ms ease,标题字母以 30ms 错峰淡入;聚光灯始终不动。 3. **正在放映滚动条** — 两条细线之间的全宽条带(velvet/60 地面,暗色边框),承载一行滚动文字,Courier Prime 14px 奶油色,片名以菱形符号分隔:“MIDNIGHT ORCHARD ◆ SIGNAL TO SOLACE ◆ THE FOX OF FETTER LANE ◆ IRON LULLABY ◆ AUNT MARIGOLD'S AEROPLANE ◆ BACKLOT HONEYMOON ◆ ” — 内容复制一次以实现无缝 40s 循环。 布局:h-12,内容单行,overflow hidden,whitespace nowrap。 动效:translateX 循环 40s linear infinite;在减少动态偏好下,条带变为相同片名的静态换行行。 4. **正在放映 — 海报网格** — H2 用 Bungee 36px 奶油色:“正在放映”。六张影片卡片网格;卡片:2:3 海报 SVG,片名 Bungee 20px 奶油色,元信息行 Courier Prime 12px 奶油色/70,链接“影片页面 →” Karla 500 灯泡色至 ./film.html?film=<slug>。一句话简介与海报构图(内联 SVG,viewBox 300x450,平涂色块,每张两种色调加一个强调色,无字母、无数字、无渐变):Midnight Orchard — 惊悚 · 104 分钟 · PG — slug midnight-orchard — 简介“黑暗中有东西在摘走果实,一次一个圆圈。” — 海报:底色 #0E1F16,右上角一个淡色月亮圆,六条深色垂直树干条,低处中央一个黄铜点 #C9A227。Signal to Solace — 科幻 · 131 分钟 · PG — signal-to-solace — “一位灯塔操作员回应了一个本不该存在的信号。” — 底色 #101B33,三道同心奶油色弧线从左下点射出,右上角一个小漂移菱形。The Fox of Fetter Lane — 动画家庭 · 88 分钟 · G — fox-of-fetter-lane — “一只习惯逛市场的狐狸在一条长街上以物易物。” — 底色 #C25B2E,左上角奶油色新月,三片黑色叶子剪影,右下角一条奶油色卷尾曲线。Iron Lullaby — 黑色电影 · 117 分钟 · PG-13 — iron-lullaby — “最后一趟车费,城市已悄然易主。” — 底色 #14161A,四十条细垂直雨线,奶油色/25,一个琥珀色灯点带小光锥。Aunt Marigold's Aeroplane — 冒险喜剧 · 116 分钟 · G — aunt-marigolds-aeroplane — “一位退休飞行员和她的侄孙女用谷仓零件重造一架双翼飞机。” — 天空 #F3E3C2,红色双翼飞机由两个三角形和一个圆形螺旋桨构成,一条点状环形尾迹。Backlot Honeymoon — 神经喜剧爱情 · 91 分钟 · PG — backlot-honeymoon — “两位互为对手的公关必须筹办一场双方都不想要的婚礼。” — 底色 #E9C8C8,一个大奶油色圆,一条红色斜丝带,角落三个灯泡点。 布局:grid md:grid-cols-2 lg:grid-cols-3 gap-8;海报 w-full aspect-[2/3] rounded-md 带 line 边框;卡片 p-5。 动效:卡片以 60ms 错峰淡入上移;卡片悬停时海报缩放至 1.02(300ms)。 5. **按日放映时间** — H2“放映时间”。星期芯片 MON–SUN 用 Courier Prime 13px(默认 FRI 激活,激活时 ticket 填充)。影片以行列出:片名 Karla 700 18px 奶油色加类型标签 Courier Prime 12px 奶油色/60,然后时间胶囊链接至 ./film.html?film=<slug>&day=Fri&time=19:00 — 胶囊 Courier Prime 13px 奶油色,1px 奶油色/30 边框,悬停 ticket 边框。content.ts 中的示例模式:Midnight Orchard 16:15 / 19:00 / 21:30;Signal to Solace 13:45 / 17:15 / 20:30(周六–周日加映 23:00);The Fox of Fetter Lane 11:00 / 14:00(仅周末);Iron Lullaby 18:00 / 20:45;Aunt Marigold's Aeroplane 10:30 / 13:15 / 16:00;Backlot Honeymoon 15:00 / 17:45 / 20:15。H2 下方横幅,Karla 14px 奶油色/70:“[DISCOUNT_DAY] 优惠:17:00 前所有场次现场购票 $7。”脚注 Courier Prime 12px 奶油色/50:“示例周 — 时间遵循工作日模式,非实时日历。” 布局:影片为行,细线分隔;桌面端每行 grid-cols-[280px_1fr],移动端堆叠;胶囊换行。 动效:切换日期时行交叉淡入淡出(200ms);激活芯片填充 ticket。 6. **会员** — H2“会员”。velvet 面板上三档,暗色边框:Matinee Member $9 / 月 — “每月一张票 · 含 [DISCOUNT_DAY] 优惠 · 无订票费。”;Double Feature $17 / 月,标签“MOST CHOSEN” Courier Prime 11px 灯泡色 — “每月两张票 · 每季一张嘉宾通行证 · 免费爆米花续杯。”;Season Pass $149 / 年 — “标准场次无限看 · 四次预映邀请 · 大堂墙上留名。”网格下方注释,Karla 13px 奶油色/60:“会员信息仅供参考 — 此演示无注册流程。” 布局:grid md:grid-cols-3 gap-6;中间卡片高出 4px;价格 Bungee 32px 奶油色。 动效:卡片错峰淡入上移;其余不动。 7. **到访与页脚** — 到访区块“找到影院”:地址“14 Marquee Lane, [CITY]”加“夜班 12 路公交停靠喷泉;步行两分钟。”;营业时间表 Courier Prime 13px 奶油色/80:周一–周四 15:00–23:00,周五 13:00–24:00,周六–周日 10:30–24:00,注释“首场开演前 30 分钟开门。”;影院须知 Karla 14px 奶油色/70:“一号厅 96 座;二号厅和三号厅各 48 座。小卖部仅收银行卡。”页脚:字标、导航重复、小字 Courier Prime 12px 奶油色/50:“所示影片、放映时间和座位均为虚构示例内容。”加 [CREDIT]。 布局:grid md:grid-cols-3 gap-10;页脚 py-10,顶部细线。 动效:仅淡入上移;颗粒叠加层延续至页脚。 ### [BRAND] — 影片与座位(`film.html`) 1. **影片页头部** — 返回链接“← All films”指向 ./index.html#now-showing(Karla 500 cream/70)。两栏布局:左栏为影片海报 SVG,与网格中所绘完全一致,w-full max-w-[380px] rounded-md,带细线边框;右栏为标题,Bungee clamp(36px, 5vw, 64px) cream,元信息行 Courier Prime 13px cream/70“GENRE · RUNTIME MIN · RATING”,随后是两段节目简介,Karla 15px cream/85。全部六部影片的节目简介位于 content.ts — Midnight Orchard:“A keeper walks the orchard rows after the last bus leaves. Something has been taking the fruit in the dark, one precise circle at a time.” / “Shot over nineteen nights in a single field, with a score for tape and bowed saw.” Signal to Solace:“A lighthouse operator answers a signal that shouldn't exist, in a code she half remembers from childhood.” / “Every beacon in the film was built and lit in camera.” The Fox of Fetter Lane:“A fox with a market habit and a baker with a soft heart trade favors across one long street.” / “Hand-inked at twelve frames a second; the smell of bread is almost visible.” Iron Lullaby:“A night-shift driver takes one last fare and finds the city has quietly changed hands.” / “Rain, neon and a brass score; the shadows do the talking.” Aunt Marigold's Aeroplane:“A retired pilot and her great-niece rebuild a biplane from barn parts and borrowed afternoons.” / “A comedy that lands softly; the loop-the-loop is real.” Backlot Honeymoon:“Two rival studio publicists must stage a wedding neither wants, for a studio that no longer exists.” / “Screwball pace, matinee heart; romance by way of the props department.” 当 ?film= 缺失或未知时,显示第一部影片(midnight-orchard),并预选 FRI 日 19:00 场次 — 绝不出现空白或未找到状态。 布局:grid md:grid-cols-[380px_1fr] gap-10;py-16。 动效:标题和海报淡入上移 400ms。 2. **场次选择器与座位图** — 场次栏:MON–SUN 日期芯片,加上所选影片的时间胶囊(与 index.html 相同的示例模式);选择会更新座位图标题,Courier Prime 13px bulb:“SCREEN ONE · FRI · 19:00”(由所选日期和时间构建)。座位图绘制:顶部为浅弧形银幕(70% 宽度条,border-radius 50% 50% 0 0,cream/25 填充),标注“SCREEN”,Courier Prime 11px cream/60;下方为八排 A–H,每排十二个座位 — 34px 方块 rounded-[8px],第 6 座后留 28px 过道间隙 — 每侧排字母为 Courier Prime 12px cream/50。状态:可选(1px cream/40 边框,透明填充)、已占(cream/15 填充,禁用,cursor-not-allowed)、已选(bulb 填充,house 文字)。已占座位为 content.ts 中的固定示例模式,每次访问均相同:D–F 排 4–9 座,外加 A2、A3、B7、B8、C5、G10、H2 单座。座位图下方图例行展示三种状态。计数右对齐,Courier Prime 14px cream:“3 SEATS · $33”,总额按座位数 × [TICKET_PRICE] 计算。按钮“Hold seats”(ticket 填充):展开内联面板,带 lucide 对勾:“Held on this device — this is a local demo. No booking was made and nothing was charged.” 保留信息保存在 [BRAND_SLUG]-hold 下。座位图下方注释,Karla 13px cream/60:“Row H end seats are step-free; ask an usher at the door.” 布局:场次栏(芯片和胶囊换行)位于座位图上方;座位图居中 max-w-[640px];座位 gap-1.5;计数和保留按钮右对齐于座位图上方。 动效:悬停时座位抬升 2px,按下缩放至 0.9;选中填充过渡 150ms;切换日期或时间时以 200ms 交叉淡入重置选择。 3. **影片页页脚** — 细页脚:返回链接“← All films”指向 ./index.html,字标 [BRAND],小字 Courier Prime 12px cream/50:“Seat map is a local demo — no real booking.” 外加 [CREDIT]。 布局:py-10,顶部细线,内部容器 max-w-[1160px]。 动效:除页面颗粒外无其他动效。 ## 资产 - 图像:不使用照片,也不进行下载。所有视觉元素均以代码绘制:六张电影海报为内联 SVG 色块构图(每部电影的确切几何形状列于“正在上映”部分),天鹅绒幕布渐变、聚光灯锥形光束、灯泡点阵招牌边框、滚动字幕条、观众席座位图与银幕弧线。唯一类似位图的元素是内联 SVG feTurbulence 胶片颗粒 data-URI,不透明度为 5%。 - 图标:lucide-react npm 包(ISC):menu、x、ticket、clock、armchair、arrowLeft、check。不使用其他图标集,不使用品牌标志。 - 字体:Fontsource 包(MIT):@fontsource/bungee 400;@fontsource/karla 400/500/700;@fontsource/courier-prime 400/700。在 main.tsx 中导入;不使用字体 CDN 链接。 ## 禁止事项 - 不得出现真实的影院、影片、制片厂、发行方或电影片名——每一部影片、每一场放映时间和每一个价格都是虚构的示例内容。 - 海报是代码绘制的抽象图形:不得使用照片,不得使用真实电影艺术图,海报 SVG 内部不得出现可读的字母或数字;文字排版只存在于海报周围的 HTML 中。 - 放映时间遵循固定的工作日模式;不得根据真实时钟计算日期或时间,不得使用基于 JavaScript Date 的逻辑;页面须将时间标注为示例。 - 不得有订票后端或支付功能:选座器是本地演示,仅保存到 localStorage,并在保留面板和页脚中说明这一点。 - 不得出现人物照片;完全不得出现任何照片——所有视觉元素均为 SVG 或 CSS。 - 一切资源自托管(Fontsource 字体、内联 SVG 图形);不得使用 CDN script 或 link 标签,不得使用 Google Fonts,不得使用分析工具。 - Vite base 设为 './' 并使用相对路径;内部链接指向真实文件名(./index.html、./film.html),绝不指向裸目录;film.html 在没有有效 ?film= 时显示第一部影片,绝不显示错误状态。 - 生产构建须压缩,不得生成 source map,dist/ 小于 20 MB。 - prefers-reduced-motion:灯泡以 70% 点亮的图案保持静态,滚动条暂停为换行后的静态行,显现效果即时完成;选座功能在没有 transform 的情况下仍可正常工作。 - 灯泡轻柔闪烁(仅透明度变化,2.6s,不得频闪);胶片颗粒为 5% 的静态效果,绝不播放动画。 - 除带有 [BRAND] 的普通 <title> 和 favicon 外,不得添加任何 SEO 脚手架。 - 不得复制任何真实影院网站、电影海报或电影材料中的代码、文案、字体设计或艺术图。 --- — Prompt by VibeFather · https://vibefather.ai/t/movie-theater-showtimes-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: "Movie Theater Showtimes Website"
colors:
house: "#150A0E"
velvet: "#5E1520"
ticket: "#C13A47"
cream: "#F2E7CE"
bulb: "#FFD98A"
dim: "#6B5335"
line: "#3A1B22"
typography:
display_marquee_and_film_titles: { family: "Bungee", weights: [400] }
body_program_text: { family: "Karla", weights: [400, 500, 700] }
mono_showtimes_seats_tallies: { family: "Courier Prime", weights: [400, 700] }
spacing: "Section padding py-24 desktop / py-16 mobile; container max-w-[1160px] px-6; poster grid gap-8; cards p-5 to p-8."
radius: "Posters and panels rounded-md (6px); membership cards rounded-xl; day chips and time pills rounded-full."
---
# Movie Theater Showtimes 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
- **house** `#150A0E` — Page ground, near-black with a plum cast
- **velvet** `#5E1520` — Curtains, sign slab, membership panels
- **ticket** `#C13A47` — Primary buttons, active day chips, links on hover
- **cream** `#F2E7CE` — Program text, headlines on dark
- **bulb** `#FFD98A` — Lit marquee bulbs, selected seats, highlights
- **dim** `#6B5335` — Unlit bulbs, sign borders, quiet rules
- **line** `#3A1B22` — Hairlines, card borders
## Typography
- **Display / marquee and film titles** — Bungee (OFL), weights 400. Self-host the font files.
- **Body / program text** — Karla (OFL), weights 400/500/700. Self-host the font files.
- **Mono / showtimes, seats, tallies** — Courier Prime (OFL), weights 400/700. Self-host the font files.
## Spacing & shape
- Spacing: Section padding py-24 desktop / py-16 mobile; container max-w-[1160px] px-6; poster grid gap-8; cards p-5 to p-8.
- Radius: Posters and panels rounded-md (6px); membership cards rounded-xl; day chips and time pills rounded-full.
## Motion
- Marquee bulbs twinkle gently: each dot alternates between bulb and dim over 2.6s with a 120ms stagger around the frame; opacity only (1 to 0.45), no scale, no strobe.
- The now-showing ticker under the marquee scrolls film titles left on a 40s loop (CSS translateX keyframes with duplicated content for a seamless wrap).
- Scroll reveals: sections fade up 20px over 400ms with a 60ms stagger (Motion whileInView, once).
- Seat interaction: hover lifts a seat 2px, press scales to 0.9, selection fills bulb over 150ms; the tally recomputes.
- Film grain is static at 5% and never animates; a hover on a film card raises its border to dim and scales the poster to 1.02 over 300ms.
- prefers-reduced-motion: bulbs hold a static 70%-lit pattern, the ticker stops into a wrapped static row, reveals appear instantly; seat selection still changes state without transforms.
## Imagery
None photographic. Everything is drawn in code: velvet curtain gradients (layered linear-gradients with soft fold shadows), spotlight cones (low-opacity conic gradients), bulb-dot marquee frames, six geometric SVG film posters, the auditorium seat map and its screen arc, and a 5% film-grain overlay that unifies the page.
## Tone
Warm and a little theatrical, like a well-loved usher: short marquee lines, program-note details, no corporate polish.
---
— Prompt by VibeFather · https://vibefather.ai/t/movie-theater-showtimes-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 艺术影院:把 BRAND 设为你的影院名称,用你的放映季替换六部影片,并围绕影迷通票重写会员档位。
- 社区剧场:保留招牌和选座器,把影片网格换成舞台剧目,并把 DISCOUNT_DAY 设为你的特价预演夜。
- 电影节:把按星期几的排片模式用于单个周末,把每场放映列为影片卡片,并让滚动条指向你的节目单。
- 小镇单厅影院:设置 CITY 和到访地址,为日场调低 TICKET_PRICE,并把会员区块精简为一档。
电影院排片网站:常见问题
电影院排片网站怎么改影院名称、城市、票价和折扣日?
电影院排片网站模板提供四个变量:BRAND 是影院名称,CITY 是地址和路线中出现的城市,TICKET_PRICE 是选座图计价所用的成人票价,DISCOUNT_DAY 是排片下方显示的特价夜。可以在构建前在提示词中设置,也可以之后编辑内容文件。招牌主标题、页眉、页脚和选座合计都跟随 BRAND 和 TICKET_PRICE,所以先改这两个。
怎么用 AI 做一个电影院排片网站?
复制本页的提示词,或者运行 npx vibefather add movie-theater-showtimes-website,把 [CITY]、[BRAND]、[DISCOUNT_DAY]、[TICKET_PRICE] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。