用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
夜市美食节是一个霓虹夜景单页模板,面向一个虚构的街头美食市集。首屏全是氛围:暮色之后、深靛蓝天空下一张灯笼照亮的摊位照片,一个带琥珀色光晕词的标题,以及用标签写明的市集营业时间和场地。从这里开始,页面承担起一个美食节的真实工作——帮游客规划一晚,也帮摊主申请摊位。
核心是一个用代码绘制的摊位地图:场地的风格化俯视图,有两个舞台和十八个编号摊位,可按八个菜系标签筛选。筛选变化时,图钉变暗或亮起,点按其中一个会打开卡片,显示摊主的招牌菜和代币价格。两段式时间表以工作日模式的时间块列出典型周末,门票部分说明三种通行证档位和代币经济,摊位申请表会在本地校验并保存,并附有诚实的演示说明。
整体外观是六张照片统一的暮色色调:深靛蓝底色、灯笼琥珀色、克制的霓虹粉、奶油色文字,CSS 光晕只少量用于强调。Bricolage Grotesque 标题搭配 Plus Jakarta Sans 正文,让夜晚显得友好而非赛博朋克。
这个模板适合夜市、餐车集会、灯会和文化街头集市。替换品牌、城市、场地和营业时间即可重新调校;摊主、摊位和时间表都是一个内容文件中的记录。技术栈是 Vite、React、Tailwind 和 Motion,字体自托管,静态输出,无支付、无提交,也不绑定任何真实日历。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Night Market Food Festival
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], an invented night market food festival held at [VENUE] in [CITY], open [HOURS]. The identity is neon night: deep indigo ground, lantern amber as the working accent, restrained neon pink highlights, cream type, and one consistent dusk grade across the photography, with CSS glow used only on accent words and active states. The hero anchors on a lantern-lit stall photograph; below it sit a code-drawn filterable vendor map with eighteen stalls across eight cuisines and two stages, a weekday-pattern schedule for both stages, a tickets-and-tokens explainer with three pass tiers, a vendor application form that saves locally, and a festival FAQ.
- Audience: Hungry locals planning a night out in [CITY], families choosing a weekend, and food vendors applying for a stall — plus market organizers, food-truck rally crews, and cultural festival teams adapting the page.
- Goal: Get a visitor from craving to plan in one scroll: set the night's mood with the lantern hero, answer 'what's there and where' with the map and its cuisine filters, answer 'when' with the schedule pattern, price the night honestly with passes and tokens, and give cooks a real-feeling application that stays local.
- Tone: Warm night-out energy — a friend waving you down a lantern-lit lane. Short lines, honest demo notes in plain sight, glow used like lantern light, not like a nightclub.
## 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-variable/bricolage-grotesque (OFL-1.1), @fontsource/plus-jakarta-sans (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', and 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 and fontFamily.display 'Bricolage Grotesque Variable' and fontFamily.body 'Plus Jakarta Sans'; enable tabular numerals for schedule times in CSS.
- Self-host Bricolage Grotesque variable (or weights 700/800) and Plus Jakarta Sans 400/500/600/700 through @fontsource packages imported in src/main.tsx. Never load fonts from a CDN.
- Use Motion from 'motion/react' (useReducedMotion, AnimatePresence) for pin filters, the info card, and section reveals; gate every animation on useReducedMotion().
- Keep all copy and data in src/content.ts: festival strings, cuisines list, eighteen vendors (name, cuisine, signature dish, token price, stall number), schedule blocks for both stages, ticket tiers, token rules, FAQ, application-form labels. When variable values change, rewrite the dependent copy there and derive the application storage key from [BRAND_SLUG].
- Draw the market map in code as src/components/MarketMap.tsx: a 900x520 viewBox SVG with a rounded irregular yard outline, lane paths in hairline indigo, two labeled stage blocks (Lantern Stage top-left, Backyard Stage bottom-right), twenty stall rectangles laid out along three lanes, and one numbered circular pin per vendor plus two utility stalls (tokens booth, first aid). Pins render from the vendor records; no map image file.
- Implement cuisine filtering as chip state: matching pins keep full opacity with an amber glow ring, non-matching pins drop to 25% opacity with no glow, stage blocks and lanes stay constant; clicking a pin opens the vendor card next to the map on desktop and as a bottom sheet on mobile.
- Implement the glow as CSS text-shadow (amber, two soft stops) on accent words and box-shadow on active chips only — restrained, never animated by default.
- Persist the vendor application to localStorage under the key [BRAND_SLUG] + '-vendor-application'; validate restored JSON and recover silently; never submit anywhere.
- 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.
- Use only these lucide-react icons: MapPin, Ticket, Coins, Clock, Music2, ChevronDown, Check, X, ArrowRight, UtensilsCrossed, Sparkles.
- A plain <title> of '[BRAND] — [CITY]' and a favicon (an indigo rounded square with a glowing amber lantern dot) are enough; no meta descriptions, Open Graph tags, JSON-LD, or sitemaps.
## Variables
- [BRAND] — Festival name (default: "Lantern Row Night Market"). Invented market name; the logomark wordmark, hero copy, footer and storage key derive from it.
- [CITY] — City (default: "Ashport"). The city the market lives in; appears in the hero chip, schedule note, FAQ and footer.
- [VENUE] — Venue (default: "the Old Cannery Yard"). The market's physical home in plain words; appears in the hero chip, map intro and footer.
- [HOURS] — Hours pattern (default: "Fridays & Saturdays, 5 PM till late"). A weekday-pattern hours phrase — never a real calendar date or year.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/night-market-food-festival 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
- Indigo night `#131233` — Page ground
- Raised indigo `#1B1A42` — Cards, panels, the map plate, form fields
- Lantern amber `#FFB25E` — Working accent: CTAs, active chips, glowing pins, accent words
- Neon pink `#FF5FA2` — Highlight accent: badges, links, one glow word, stage markers
- Warm cream `#FFF4E2` — Primary text on indigo
- Soft lilac `#AFA9D8` — Secondary text, metadata, inactive chips
- Hairline indigo `#2E2C5E` — Dividers, card borders, lane lines
### Typography
- Display: headline, section titles, tier names: Bricolage Grotesque Variable (OFL), weights 700/800
- Body: paragraphs, chips, schedule, forms: Plus Jakarta Sans (OFL), weights 400/500/600/700
### Layout & motion
- Spacing: 8px base grid. Shell max-width 1120px with 32px desktop and 20px mobile side padding. Header 72px. Sections 96px vertical padding on desktop, 64px on mobile. Map chips wrap at 12px gaps; schedule rows 16px vertical padding; prose max 62 characters per line.
- Radius: 16px on cards, panels, photos and the map plate; 999px pills for chips, buttons and badges; 12px on inputs and the info card's inner elements.
- Motion: Cuisine filter changes crossfade pin states over 240ms: matches gain an amber glow ring and scale 1.05 once, non-matches fade to 25% opacity; stages and lanes never move.
- Motion: The vendor info card slides in beside the map over 240ms on desktop and rises as a bottom sheet over 280ms on mobile; it closes with an X.
- Motion: Schedule rows reveal in a 60ms stagger; hovering a row slides a 2px amber underline under the time block.
- Motion: The hero scrims and headline rise 16px in an 80ms stagger on load; photos settle from scale 1.03 over 600ms.
- Motion: Sections reveal once on scroll with a 14px rise and a 420ms fade, staggered 60ms.
- Motion: Under prefers-reduced-motion every animation becomes an instant state change; pin filters and the info card stay fully functional.
- Imagery: Six photographs from one market shoot after dusk: deep indigo sky, strings of warm amber paper lanterns, out-of-focus neon glows, steam drifting through lantern light, 35mm lens, gentle film grain, one consistent dusk grade with rich shadows and warm highlights. People appear only as distant backs or silhouettes — no identifiable faces — and no shot contains readable signage, text, or logos.
## Pages & Sections
### [BRAND] — night market in [CITY] (`index.html`)
1. **Header and hero** — Header (72px, raised indigo at 85% with backdrop blur, hairline bottom border): a code-drawn logomark — a small rounded-rectangle lantern with an inner amber glow dot — beside [BRAND] in Bricolage Grotesque 800; nav anchors Map, Schedule, Tickets, Vendors; right-aligned amber pill 'Get tickets'. Hero: full-bleed lantern-lit stall photograph cropped 16:9 from the top, an indigo-to-transparent gradient scrim from the left; a glass chip row — 'Every [HOURS]' with a Clock icon, '[VENUE], [CITY]' with a MapPin; H1 'Follow the lanterns.' with the word 'lanterns' carrying the restrained amber CSS glow; sub line 'Eighteen food stalls, two stages, and one long lane strung with light — [CITY]'s night market for people who eat late.'; buttons: amber solid 'Get night passes' and cream-outline 'Browse the vendor map'. A stat chip row under the buttons: '18 food stalls', '8 cuisines', '2 stages'. A thin decorative string of code-drawn lantern dots hangs across the hero's top edge.
Layout: Copy sits in the left 7 columns of a 12-column grid over the photo, vertically centered below the header; stat chips wrap at 12px gaps; buttons 48px tall. Mobile: photo fills the viewport height minus the header, copy stacks with buttons full-width, and every tap target is at least 44px.
Motion: The headline, chip row and buttons rise 16px in an 80ms stagger; the photo settles from scale 1.03 over 600ms; the lantern string sways ±2 degrees on a 6s ease loop, static under reduced motion.
2. **Vendor map** — Eyebrow 'THE LANE' in pink; title 'Find your flavor.'; intro 'Eighteen stalls around the yard at [VENUE] — filter by what you're craving, tap a pin for the dish.' Filter chips: All, Taiwanese, Korean, Japanese, Vietnamese, Mexican, Turkish, Sweets, Vegan. The code-drawn map: a stylized top-down yard with the Lantern Stage top-left and Backyard Stage bottom-right, three lanes of stalls, a tokens booth and first aid marked plainly. The eighteen vendors with stall numbers, signature dishes and token prices: Ah-Ma's Table — Taiwanese — pork belly bao — 2 tokens (B2); Golden Cricket — Taiwanese — popcorn chicken — 1 (B5); Two Suns BBQ — Korean — short-rib skewers — 3 (B8); Haemill Kitchen — Korean — gochujang tteok — 2 (B11); Ember Lane — Japanese — yakitori thigh — 2 (A3); Shaved Moon — Japanese — matcha shaved ice — 1 (A7); Lemongrass Cart — Vietnamese — bún bowls — 2 (A10); Noodle & Nest — Vietnamese — pho cups — 2 (A14); Comal Rojo — Mexican — blue-corn quesadillas — 2 (C4); Siete Salsas — Mexican — tacos al pastor — 2 (C8); Copper Kebab — Turkish — adana wraps — 3 (C12); Pide Post — Turkish — flatbread boats — 2 (C15); Sugar Lantern — Sweets — hot cinnamon donuts — 1 (A1); Mochi Monthly — Sweets — toasted mochi — 1 (A18); Green Griddle — Vegan — mushroom anticuchos — 2 (B14); Tofu Tower — Vegan — loaded mapo fries — 2 (B17); Nightcap Noodles — Taiwanese — midnight sesame noodles — 2 (B20); Canela Churros — Sweets — churros con cajeta — 1 (C18). Tapping a pin opens the vendor card: name, cuisine chip, 'Signature: {dish}', '{n} tokens', stall number, and a pink link 'See the map legend'.
Layout: Chips row above the map, wrapping; the map SVG fills the shell at a 900x520 aspect, its plate on raised indigo at 16px radius; the vendor card sits in a 320px column beside the map on desktop and as a bottom sheet on mobile. Non-matching pins dim to 25% opacity; stage blocks stay full. A small legend bottom-right maps pin colors: amber for active vendors, pink for stages, lilac for utilities.
Motion: Filter changes crossfade pin states over 240ms with a one-time 1.05 scale on matches; the vendor card slides in 240ms (desktop) or rises 280ms (mobile); pins hover-grow 1.1 with an amber glow ring.
3. **Stage schedule** — Eyebrow 'TWO STAGES'; title 'The weekend, hour by hour.' Two stage cards side by side. Lantern Stage (Music2 icon): 'Fri 17:30 — Lantern lighting & welcome pours'; 'Fri 19:00 — Warm Static (house DJ)'; 'Fri 21:00 — [CITY] Brass Collective'; 'Sat 18:00 — Dumpling speed-eating contest'; 'Sat 20:00 — Neon karaoke hour'; 'Sat 22:30 — Late set: The Moonworms'. Backyard Stage: 'Fri 18:00 — Vinyl-only selector series'; 'Fri 20:30 — Student jazz combos'; 'Sat 17:30 — Kids' lantern parade'; 'Sat 19:00 — Folk trio: Harrow & Reed'; 'Sat 21:30 — DJ Cassetta'. Footnote: 'A typical weekend pattern, not a real calendar — this demo posts no dates.'
Layout: Two equal cards on raised indigo (16px radius), each with a stage header row and time rows at 16px vertical padding split by hairline dividers; times in tabular numerals with the act name after an em dash. Below 800px the cards stack.
Motion: Rows reveal in a 60ms stagger; hover slides a 2px amber underline under the time; no other movement.
4. **Market moments strip** — A four-photo strip between schedule and tickets: the lantern strings overhead, skewers smoking on a stall grill, the steaming noodle bowl, and the crowd lane seen from behind — each 4:3 at 16px radius, no captions beyond alt text, carrying the dusk grade across the page.
Layout: 4 columns at 16px gap on desktop, a horizontal scroll-snap row on mobile with 78vw cards.
Motion: Photos reveal with the standard rise; the mobile strip scrolls with snap points and no autoplay.
5. **Tickets and tokens** — Eyebrow 'AT THE GATE'; title 'Passes, tokens, no mystery.' Three tier cards: 'Night Pass — $12 — entry for one, all night.'; 'Feast Pass — $35 — entry plus 10 tokens (best value).'; 'Family Pack — $28 — two adults, two kids, 6 tokens.' Each with an amber 'Get the pass' demo anchor to '#tickets' plus the small-print line 'Demo — passes aren't sold here.' Token explainer strip beneath, three steps with Coins icons: 'One token = $2.50 at the booth.'; 'Dishes cost 1–3 tokens — each stall's price is on its pin.'; 'Leftover tokens keep for the next market — in this demo, at least.'
Layout: 3 equal cards on raised indigo with the Feast Pass carrying a pink 'BEST VALUE' badge and sitting 8px higher; the explainer is a 3-column strip split by hairlines. Mobile: cards stack, explainer rows stack.
Motion: Cards reveal in a 60ms stagger; the badge pops in after the reveal; hover lifts a card 4px with a soft amber edge glow (restrained).
6. **Vendor application** — Split section. Left: the dessert-stall photograph at 4:3. Right: a form card titled 'Cook with us.' with copy 'Stalls are 3×2 m, power on request, tokens-only sales. Tell us what you'd bring to the lane.' Fields: contact name, business name, cuisine select (the eight cuisines plus 'Other'), signature dish, email, weekday chips 'Fridays / Saturdays / Both', and a short message. Validate locally — name, dish and email required — and on submit swap to a success panel: Check icon, 'Application saved in your browser — a live market would reply by email; this demo keeps it local.', and a 'Start over' link. Side bullets under the photo: 'We look for dishes that survive a queue.'; 'One signature dish beats a long menu.'; 'Tokens settle weekly — demo terms.'
Layout: 5/7 split: photo column left, form card right on raised indigo (16px radius, 12px inputs). Errors render inline in pink under fields, never alerts; the success panel is aria-live='polite'. Mobile: photo first at 4:3, then the form; chips wrap at 44px targets.
Motion: Chips pop to 1.06 on selection (180ms); the success panel crossfades in 240ms; nothing else moves.
7. **FAQ and footer** — FAQ 'Before you come.' as five details/summary items: 'Is it really outside?' — 'Yes — the whole lane is open air under awnings; the market runs rain or shine, and the lanes drain fast.'; 'How do tokens work?' — 'Buy at the booth or with a Feast Pass — $2.50 each, dishes cost 1–3. Leftovers keep for next time in this demo's story.'; 'Can I bring the kids?' — 'Please do — the Family Pack covers two little eaters, and the lantern parade is theirs on Saturdays.'; 'Pets?' — 'Leashed dogs are welcome on the lane ends, not in the food rows — hot grills and curious noses don't mix.'; 'Allergens?' — 'Ask at each stall; vendors cook their own food and we don't track ingredients centrally, so come ask rather than assume.' Footer on indigo night with a hairline top rule: logomark and [BRAND], the line '[VENUE], [CITY] · [HOURS]', nav anchors (Map, Schedule, Tickets, Vendors), 'A fictional night market built as a website template.', '© [BRAND]' with no year, and the optional [CREDIT] link.
Layout: FAQ single column max-width 760px with hairline dividers and a rotating ChevronDown; footer in two rows — brand block left, nav right — stacking on mobile.
Motion: A 160ms chevron rotation on toggle with no height animation that could clip text; footer static.
## Assets
- image: Hero photograph. Download https://media.vibefather.ai/assets/c7bea4f5-3b6f-4c3d-8b07-8f9187be5d04/hero-market.webp to public/images/hero-market.webp. Alt: 'A lane of food stalls glowing under strings of paper lanterns at night.' Used full-bleed behind the hero. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template; record that exact credit in ASSETS.md.
- image: Lantern detail. Download https://media.vibefather.ai/assets/c7bea4f5-3b6f-4c3d-8b07-8f9187be5d04/lantern-string.webp to public/images/lantern-string.webp. Alt: 'Strings of warm amber paper lanterns crossing the market lane overhead.' First card in the market-moments strip. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template; record that exact credit in ASSETS.md.
- image: Stall grill. Download https://media.vibefather.ai/assets/c7bea4f5-3b6f-4c3d-8b07-8f9187be5d04/stall-grill.webp to public/images/stall-grill.webp. Alt: 'Skewers smoking on a market stall grill with a vendor's hands turning them.' Second card in the market-moments strip. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template; record that exact credit in ASSETS.md.
- image: Noodle bowl. Download https://media.vibefather.ai/assets/c7bea4f5-3b6f-4c3d-8b07-8f9187be5d04/noodle-bowl.webp to public/images/noodle-bowl.webp. Alt: 'A steaming bowl of noodles on a stall counter with lantern light behind.' Third card in the market-moments strip. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template; record that exact credit in ASSETS.md.
- image: Crowd lane. Download https://media.vibefather.ai/assets/c7bea4f5-3b6f-4c3d-8b07-8f9187be5d04/crowd-lane.webp to public/images/crowd-lane.webp. Alt: 'Visitors strolling away from the camera down a lantern-lit market lane.' Fourth card in the market-moments strip. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template; record that exact credit in ASSETS.md.
- image: Dessert stall. Download https://media.vibefather.ai/assets/c7bea4f5-3b6f-4c3d-8b07-8f9187be5d04/dessert-stall.webp to public/images/dessert-stall.webp. Alt: 'A dessert stall counter with stacked sweets under a warm lantern glow.' Used beside the vendor application form. Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template; record that exact credit in ASSETS.md.
- image: Draw the entire vendor map in code as an SVG component (src/components/MarketMap.tsx): yard outline, lanes, stage blocks, stall rectangles and numbered pins — no map image, tiles, or external map service.
- icon: Install lucide-react (ISC) and use only MapPin, Ticket, Coins, Clock, Music2, ChevronDown, Check, X, ArrowRight, UtensilsCrossed, and Sparkles. Draw no brand logos; the lantern logomark is original code. Record the package and license in ASSETS.md.
- font: Self-host Bricolage Grotesque (variable or weights 700/800) through @fontsource-variable/bricolage-grotesque (OFL-1.1). Record the package and license in ASSETS.md; do not use a font CDN.
- font: Self-host Plus Jakarta Sans 400/500/600/700 through @fontsource/plus-jakarta-sans (OFL-1.1). Record the package and license in ASSETS.md; do not use a font CDN.
## Don'ts
- No real festivals, city events, vendor brands, bands or venues: the market, vendors, stages, acts and prices are invented, and the footer says so.
- Photographs contain no identifiable faces (distant backs and silhouettes only), no readable signage, text, letters or logos — every sign in frame stays an unreadable glow.
- The schedule is a weekday-pattern sample with HH:MM times only: never render real dates, years, countdowns, or anything computed from the visitor's clock, and no copyright year in the footer.
- Tickets and the vendor application are local demos and say so: no payment, no checkout, no form submission, no email services, no APIs, no analytics; persistence is localStorage only with validation on restore.
- Neon glow is restrained CSS (text-shadow on accent words, box-shadow on active states) — no glow animations, no glow on body text, no strobe or flashing effects.
- The vendor map is code-drawn SVG — no map tiles, no external map services, no screenshots of real maps.
- No backend, server code, databases, auth, or third-party scripts. Static output in dist/ from the single build command with relative paths.
- Self-host fonts through the listed Fontsource packages only; never load Google Fonts, Adobe Fonts, or any CDN stylesheet or script.
- No source maps in production, no src/ copied into dist/, keep dist/ under 20 MB, and keep Vite's base relative.
- No Unsplash, Pexels, Pixabay, Google Images, placeholder-image services, or hotlinked files; use only the six generated photos.
- Every internal link is an in-page anchor or file name, never a bare directory; the single page must render at 1440×900 and 390×844 with zero console errors.
- Keep cuisine filters, pins and the vendor card fully keyboard-operable: chips are buttons with aria-pressed, pins are focusable, and the info card closes with Escape.
- Respect prefers-reduced-motion: pin fades, card slides and reveals become instant; the lantern string sway stops; every interaction stays functional.
- Keep all copy in US English and derive the application storage key from [BRAND] and [BRAND_SLUG] so alternate variable values never leave default-brand remnants.
- 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.
---
— Prompt by VibeFather · https://vibefather.ai/t/night-market-food-festival · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 夜市美食节
完全按照下面的描述构建这个网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。
## 简介
为 [BRAND] 打造一个单页网站,[BRAND] 是一个虚构的夜市美食节,举办地点为 [CITY] 的 [VENUE],开放时间为 [HOURS]。品牌识别是霓虹之夜:深靛蓝底色,灯笼琥珀色作为主强调色,克制的霓虹粉点缀,奶油色字体,所有摄影图片统一采用一致的黄昏色调,CSS 发光效果仅用于强调词和激活状态。主视觉锚定在一张灯笼照亮的摊位照片上;其下方依次是:一个用代码绘制的可筛选摊主地图,涵盖八大菜系、十八个摊位和两个舞台;一份按工作日模式编排的双舞台时间表;一份门票与代币说明,包含三档通行证;一份在本地保存的摊主申请表;以及一份节日常见问题解答。
- 受众:计划在 [CITY] 夜晚外出觅食的本地人、挑选周末活动的家庭、申请摊位的食品摊主——以及正在改编此页面的市集组织者、餐车集会团队和文化节庆团队。
- 目标:让访客在一次滚动中从嘴馋到规划:用灯笼主视觉定下夜晚氛围,用地图及其菜系筛选回答“有什么、在哪里”,用时间表模式回答“什么时候”,用通行证和代币诚实地为这一晚定价,并给厨师们一份真实感十足、数据留在本地的申请表。
- 语调:温暖的夜出活力——像朋友在灯笼照亮的小巷里朝你招手。短句,诚实的演示说明明明白白放在眼前,发光效果像灯笼光,而不是夜店灯。
## 技术栈
- 框架: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-variable/bricolage-grotesque(OFL-1.1)、@fontsource/plus-jakarta-sans(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 为 'Bricolage Grotesque Variable'、fontFamily.body 为 'Plus Jakarta Sans';在 CSS 中为日程时间启用等宽数字(tabular numerals)。
- 通过 @fontsource 包在 src/main.tsx 中导入,自托管 Bricolage Grotesque 可变字体(或 700/800 字重)和 Plus Jakarta Sans 400/500/600/700。绝不从 CDN 加载字体。
- 使用来自 'motion/react' 的 Motion(useReducedMotion、AnimatePresence)实现摊位筛选、信息卡片和区块显现;所有动画都要以 useReducedMotion() 为条件。
- 将所有文案和数据放在 src/content.ts 中:节日字符串、菜系列表、十八个摊位(名称、菜系、招牌菜、代币价格、摊位号)、两个舞台的日程区块、门票档位、代币规则、FAQ、申请表标签。当变量值变化时,在那里重写依赖的文案,并从 [BRAND_SLUG] 派生申请存储键。
- 在代码中绘制市集地图,即 src/components/MarketMap.tsx:一个 900x520 viewBox 的 SVG,包含圆角不规则场地轮廓、发丝靛蓝色的通道路径、两个带标签的舞台区块(Lantern Stage 左上、Backyard Stage 右下)、沿三条通道布置的二十个摊位矩形,以及每个摊位一个编号圆形图钉,外加两个功能摊位(代币亭、急救站)。图钉从摊位记录渲染;不使用地图图片文件。
- 将菜系筛选实现为 chip 状态:匹配的图钉保持完全不透明并带琥珀色光晕环,不匹配的图钉降至 25% 不透明度且无光晕,舞台区块和通道保持不变;点击图钉在桌面端于地图旁打开摊位卡片,在移动端以底部抽屉形式打开。
- 将光晕实现为强调词上的 CSS text-shadow(琥珀色,两个柔和色标)以及仅活动 chip 上的 box-shadow——克制,默认从不做动画。
- 将摊位申请持久化到 localStorage,键为 [BRAND_SLUG] + '-vendor-application';验证恢复的 JSON 并静默恢复;绝不提交到任何地方。
- 在构建前将六张生成的图片下载到 Assets 中列出的确切公共路径。在项目根目录创建 ASSETS.md,列出每个文件的路径、来源 URL、作者或生成器以及许可证。
- 仅使用这些 lucide-react 图标:MapPin、Ticket、Coins、Clock、Music2、ChevronDown、Check、X、ArrowRight、UtensilsCrossed、Sparkles。
- 一个纯 <title> 为 '[BRAND] — [CITY]' 以及一个 favicon(一个靛蓝色圆角方块,带一个发光的琥珀色灯笼点)就足够了;不需要 meta 描述、Open Graph 标签、JSON-LD 或站点地图。
## 变量
- [BRAND] — 市集名称(默认:“Lantern Row Night Market”)。虚构的市集名称;标志字标、主视觉文案、页脚和存储键均由此派生。
- [CITY] — 城市(默认:“Ashport”)。市集所在的城市;出现在主视觉标签、日程说明、FAQ 和页脚中。
- [VENUE] — 场地(默认:“the Old Cannery Yard”)。市集实体所在地的通俗表述;出现在主视觉标签、地图介绍和页脚中。
- [HOURS] — 营业时间模式(默认:“Fridays & Saturdays, 5 PM till late”)。以星期为模式的营业时间短语——绝不能是真实日历日期或年份。
- [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接,指向 https://vibefather.ai/t/night-market-food-festival(默认:是;删除此行即可移除)
页面与区块下的文案按默认值撰写。如果你的取值不同,请为它们重写每一个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。
将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便日后无需改动组件即可替换内容。
## 设计
### 颜色
- 靛蓝夜色(Indigo night)`#131233` — 页面底色
- 浮起靛蓝(Raised indigo)`#1B1A42` — 卡片、面板、地图底板、表单字段
- 灯笼琥珀(Lantern amber)`#FFB25E` — 工作强调色:CTA、激活标签、发光图钉、强调词
- 霓虹粉(Neon pink)`#FF5FA2` — 高亮强调色:徽章、链接、一个发光词、舞台标记
- 暖奶油(Warm cream)`#FFF4E2` — 靛蓝底色上的主文本
- 柔丁香(Soft lilac)`#AFA9D8` — 次要文本、元数据、非激活标签
- 细线靛蓝(Hairline indigo)`#2E2C5E` — 分隔线、卡片边框、泳道线
### 字体排印
- 展示字体:标题、区块标题、层级名称:Bricolage Grotesque Variable(OFL),字重 700/800
- 正文字体:段落、标签、日程、表单:Plus Jakarta Sans(OFL),字重 400/500/600/700
### 布局与动效
- 间距:8px 基础网格。外壳最大宽度 1120px,桌面端 32px、移动端 20px 侧边内边距。页头 72px。区块在桌面端 96px 垂直内边距,移动端 64px。地图标签以 12px 间隙换行;日程行 16px 垂直内边距;正文每行最多 62 个字符。
- 圆角:卡片、面板、照片和地图底板 16px;标签、按钮和徽章使用 999px 胶囊形;输入框和信息卡内部元素 12px。
- 动效:菜系筛选变化时,图钉状态在 240ms 内交叉淡入淡出:匹配项获得琥珀色发光环并一次性缩放至 1.05,非匹配项淡至 25% 不透明度;舞台和泳道从不移动。
- 动效:供应商信息卡在桌面端于地图旁滑入,历时 240ms;在移动端作为底部抽屉升起,历时 280ms;通过 X 关闭。
- 动效:日程行以 60ms 错峰显现;悬停某行时,在时间块下方滑入一条 2px 琥珀色下划线。
- 动效:首屏遮罩和标题在加载时以 80ms 错峰上升 16px;照片从 1.03 缩放稳定下来,历时 600ms。
- 动效:区块在滚动时一次性显现,上升 14px 并淡入,历时 420ms,错峰 60ms。
- 动效:在 prefers-reduced-motion 下,所有动画变为即时状态变化;图钉筛选和信息卡保持完全可用。
- 图像:六张来自同一场黄昏后市集拍摄的照片:深靛蓝天空、成串的暖琥珀色纸灯笼、失焦的霓虹光晕、灯笼光中飘动的蒸汽、35mm 镜头、柔和胶片颗粒、统一一致的黄昏色调,阴影浓郁、高光温暖。人物仅以远处的背影或剪影出现——没有可识别的面孔——且任何照片都不包含可读的招牌、文字或标志。
## 页面与区块
### [BRAND] — [CITY] 夜市(`index.html`)
1. **页眉与首屏** — 页眉(72px,85% 不透明度的抬升靛蓝(raised indigo)配背景模糊,底部细线边框):一个代码绘制的标志图形——一盏小圆角矩形灯笼,内含琥珀色光点——旁边是 Bricolage Grotesque 800 字重的 [BRAND];导航锚点 Map、Schedule、Tickets、Vendors;右对齐的琥珀色胶囊按钮 'Get tickets'。首屏:一张灯笼照明的摊位照片,从顶部按 16:9 裁切、满幅出血,左侧覆盖一层靛蓝到透明的渐变遮罩;一行玻璃质感标签——带 Clock 图标的 'Every [HOURS]'、带 MapPin 的 '[VENUE], [CITY]';H1 'Follow the lanterns.',其中 'lanterns' 一词带有克制的琥珀色 CSS 辉光;副标题行 'Eighteen food stalls, two stages, and one long lane strung with light — [CITY]'s night market for people who eat late.';按钮:琥珀色实心 'Get night passes' 和奶油色描边 'Browse the vendor map'。按钮下方一行数据标签:'18 food stalls'、'8 cuisines'、'2 stages'。首屏顶部边缘横挂一串细长的装饰性代码绘制灯笼圆点。
布局:文案位于 12 列网格中覆盖在照片上的左侧 7 列,在页眉下方垂直居中;数据标签以 12px 间距换行;按钮高 48px。移动端:照片填满视口高度减去页眉,文案堆叠,按钮全宽,每个点击目标至少 44px。
动效:标题、标签行和按钮以 80ms 错峰上升 16px;照片从 1.03 缩放用 600ms 稳定下来;灯笼串以 6s ease 循环摆动 ±2 度,在减少动态效果下静止。
2. **摊主地图** — 眉题 'THE LANE' 为粉色;标题 'Find your flavor.';引言 'Eighteen stalls around the yard at [VENUE] — filter by what you're craving, tap a pin for the dish.' 筛选标签:All、Taiwanese、Korean、Japanese、Vietnamese、Mexican、Turkish、Sweets、Vegan。代码绘制的地图:一个风格化的俯视庭院,Lantern Stage 在左上、Backyard Stage 在右下,三条摊位小巷,一个代币亭和急救点以朴素方式标出。十八位摊主及其摊位号、招牌菜和代币价格:Ah-Ma's Table — Taiwanese — pork belly bao — 2 tokens (B2);Golden Cricket — Taiwanese — popcorn chicken — 1 (B5);Two Suns BBQ — Korean — short-rib skewers — 3 (B8);Haemill Kitchen — Korean — gochujang tteok — 2 (B11);Ember Lane — Japanese — yakitori thigh — 2 (A3);Shaved Moon — Japanese — matcha shaved ice — 1 (A7);Lemongrass Cart — Vietnamese — bún bowls — 2 (A10);Noodle & Nest — Vietnamese — pho cups — 2 (A14);Comal Rojo — Mexican — blue-corn quesadillas — 2 (C4);Siete Salsas — Mexican — tacos al pastor — 2 (C8);Copper Kebab — Turkish — adana wraps — 3 (C12);Pide Post — Turkish — flatbread boats — 2 (C15);Sugar Lantern — Sweets — hot cinnamon donuts — 1 (A1);Mochi Monthly — Sweets — toasted mochi — 1 (A18);Green Griddle — Vegan — mushroom anticuchos — 2 (B14);Tofu Tower — Vegan — loaded mapo fries — 2 (B17);Nightcap Noodles — Taiwanese — midnight sesame noodles — 2 (B20);Canela Churros — Sweets — churros con cajeta — 1 (C18)。点击图钉打开摊主卡片:名称、菜系标签、'Signature: {dish}'、'{n} tokens'、摊位号,以及粉色链接 'See the map legend'。
布局:标签行在地图上方,可换行;地图 SVG 以 900x520 宽高比填满外壳,其底板为 16px 圆角的抬升靛蓝;摊主卡片在桌面端位于地图旁的 320px 列中,在移动端作为底部抽屉。不匹配的图钉淡化至 25% 不透明度;舞台区块保持全显。右下角一个小图例映射图钉颜色:琥珀色为活跃摊主,粉色为舞台,淡紫色为公用设施。
动效:筛选变化时图钉状态以 240ms 交叉淡入淡出,匹配项一次性 1.05 缩放;摊主卡片滑入 240ms(桌面端)或上升 280ms(移动端);图钉悬停放大 1.1 并带琥珀色辉光环。
3. **舞台时间表** — 眉题 'TWO STAGES';标题 'The weekend, hour by hour.' 两张舞台卡片并排。Lantern Stage(Music2 图标):'Fri 17:30 — Lantern lighting & welcome pours';'Fri 19:00 — Warm Static (house DJ)';'Fri 21:00 — [CITY] Brass Collective';'Sat 18:00 — Dumpling speed-eating contest';'Sat 20:00 — Neon karaoke hour';'Sat 22:30 — Late set: The Moonworms'。Backyard Stage:'Fri 18:00 — Vinyl-only selector series';'Fri 20:30 — Student jazz combos';'Sat 17:30 — Kids' lantern parade';'Sat 19:00 — Folk trio: Harrow & Reed';'Sat 21:30 — DJ Cassetta'。脚注:'A typical weekend pattern, not a real calendar — this demo posts no dates.'
布局:两张等宽卡片位于抬升靛蓝上(16px 圆角),每张有一个舞台标题行和时间行,时间行垂直内边距 16px,由细线分隔;时间使用表格数字,演出名称在破折号之后。低于 800px 时卡片堆叠。
动效:行以 60ms 错峰显现;悬停时在时间下方滑入 2px 琥珀色下划线;无其他移动。
4. **市集瞬间条带** — 时间表与门票之间的四张照片条带:头顶的灯笼串、摊位烤架上冒烟的串、热气腾腾的面碗,以及从后方看到的拥挤小巷——每张 4:3、16px 圆角,除 alt 文本外无说明文字,将黄昏色调贯穿页面。
布局:桌面端 4 列、16px 间距,移动端为水平滚动吸附行,卡片宽 78vw。
动效:照片以标准上升效果显现;移动端条带以吸附点滚动,无自动播放。
5. **门票与代币** — 眉题 'AT THE GATE';标题 'Passes, tokens, no mystery.' 三张档位卡片:'Night Pass — $12 — entry for one, all night.';'Feast Pass — $35 — entry plus 10 tokens (best value).';'Family Pack — $28 — two adults, two kids, 6 tokens.' 每张带一个琥珀色 'Get the pass' 演示锚点指向 '#tickets',外加小字行 'Demo — passes aren't sold here.' 下方代币说明条带,三个步骤配 Coins 图标:'One token = $2.50 at the booth.';'Dishes cost 1–3 tokens — each stall's price is on its pin.';'Leftover tokens keep for the next market — in this demo, at least.'
布局:3 张等宽卡片位于抬升靛蓝上,Feast Pass 带粉色 'BEST VALUE' 徽章并高出 8px;说明条带为 3 列,由细线分隔。移动端:卡片堆叠,说明行堆叠。
动效:卡片以 60ms 错峰显现;徽章在显现后弹出;悬停时卡片上浮 4px,带柔和琥珀色边缘辉光(克制)。
6. **摊主申请** — 分栏区块。左侧:甜品摊照片,4:3。右侧:表单卡片,标题 'Cook with us.',文案 'Stalls are 3×2 m, power on request, tokens-only sales. Tell us what you'd bring to the lane.' 字段:联系人姓名、商户名称、菜系选择(八种菜系加 'Other')、招牌菜、邮箱、工作日标签 'Fridays / Saturdays / Both',以及简短留言。本地验证——姓名、菜品和邮箱必填——提交后切换为成功面板:Check 图标、'Application saved in your browser — a live market would reply by email; this demo keeps it local.',以及 'Start over' 链接。照片下方侧边要点:'We look for dishes that survive a queue.';'One signature dish beats a long menu.';'Tokens settle weekly — demo terms.'
布局:5/7 分栏:照片列在左,表单卡片在右位于抬升靛蓝上(16px 圆角,12px 输入框)。错误以内联粉色显示在字段下方,绝不使用弹窗;成功面板为 aria-live='polite'。移动端:照片在前 4:3,然后是表单;标签以 44px 目标换行。
动效:标签选中时弹至 1.06(180ms);成功面板以 240ms 交叉淡入;无其他移动。
7. **FAQ 与页脚** — FAQ 'Before you come.' 为五个 details/summary 项:'Is it really outside?' — 'Yes — the whole lane is open air under awnings; the market runs rain or shine, and the lanes drain fast.';'How do tokens work?' — 'Buy at the booth or with a Feast Pass — $2.50 each, dishes cost 1–3. Leftovers keep for next time in this demo's story.';'Can I bring the kids?' — 'Please do — the Family Pack covers two little eaters, and the lantern parade is theirs on Saturdays.';'Pets?' — 'Leashed dogs are welcome on the lane ends, not in the food rows — hot grills and curious noses don't mix.';'Allergens?' — 'Ask at each stall; vendors cook their own food and we don't track ingredients centrally, so come ask rather than assume.' 页脚位于靛蓝夜色上,顶部细线规则:标志图形和 [BRAND],行 '[VENUE], [CITY] · [HOURS]',导航锚点(Map、Schedule、Tickets、Vendors),'A fictional night market built as a website template.','© [BRAND]' 不带年份,以及可选的 [CREDIT] 链接。
布局:FAQ 单列最大宽度 760px,带细线分隔和旋转的 ChevronDown;页脚两行——品牌块在左,导航在右——移动端堆叠。
动效:切换时 160ms 的箭头旋转,无可能裁切文字的高度动画;页脚静止。
## 资源
- 图片:主视觉照片。将 https://media.vibefather.ai/assets/c7bea4f5-3b6f-4c3d-8b07-8f9187be5d04/hero-market.webp 下载到 public/images/hero-market.webp。替代文本:'A lane of food stalls glowing under strings of paper lanterns at night.' 用作主视觉背后的全出血背景。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发;请在 ASSETS.md 中记录该确切署名。
- 图片:灯笼细节。将 https://media.vibefather.ai/assets/c7bea4f5-3b6f-4c3d-8b07-8f9187be5d04/lantern-string.webp 下载到 public/images/lantern-string.webp。替代文本:'Strings of warm amber paper lanterns crossing the market lane overhead.' 市集瞬间横条中的第一张卡片。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发;请在 ASSETS.md 中记录该确切署名。
- 图片:摊位烤架。将 https://media.vibefather.ai/assets/c7bea4f5-3b6f-4c3d-8b07-8f9187be5d04/stall-grill.webp 下载到 public/images/stall-grill.webp。替代文本:'Skewers smoking on a market stall grill with a vendor's hands turning them.' 市集瞬间横条中的第二张卡片。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发;请在 ASSETS.md 中记录该确切署名。
- 图片:面碗。将 https://media.vibefather.ai/assets/c7bea4f5-3b6f-4c3d-8b07-8f9187be5d04/noodle-bowl.webp 下载到 public/images/noodle-bowl.webp。替代文本:'A steaming bowl of noodles on a stall counter with lantern light behind.' 市集瞬间横条中的第三张卡片。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发;请在 ASSETS.md 中记录该确切署名。
- 图片:人群巷道。将 https://media.vibefather.ai/assets/c7bea4f5-3b6f-4c3d-8b07-8f9187be5d04/crowd-lane.webp 下载到 public/images/crowd-lane.webp。替代文本:'Visitors strolling away from the camera down a lantern-lit market lane.' 市集瞬间横条中的第四张卡片。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发;请在 ASSETS.md 中记录该确切署名。
- 图片:甜品摊。将 https://media.vibefather.ai/assets/c7bea4f5-3b6f-4c3d-8b07-8f9187be5d04/dessert-stall.webp 下载到 public/images/dessert-stall.webp。替代文本:'A dessert stall counter with stacked sweets under a warm lantern glow.' 用于摊主申请表旁边。由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发;请在 ASSETS.md 中记录该确切署名。
- 图片:在代码中将整个摊主地图绘制为 SVG 组件(src/components/MarketMap.tsx):场地轮廓、巷道、舞台区块、摊位矩形和编号图钉——不使用地图图片、瓦片或外部地图服务。
- 图标:安装 lucide-react(ISC),并且仅使用 MapPin、Ticket、Coins、Clock、Music2、ChevronDown、Check、X、ArrowRight、UtensilsCrossed 和 Sparkles。不要绘制任何品牌标志;灯笼标志是原创代码。请在 ASSETS.md 中记录该包和许可证。
- 字体:通过 @fontsource-variable/bricolage-grotesque(OFL-1.1)自托管 Bricolage Grotesque(可变字体或字重 700/800)。请在 ASSETS.md 中记录该包和许可证;不要使用字体 CDN。
- 字体:通过 @fontsource/plus-jakarta-sans(OFL-1.1)自托管 Plus Jakarta Sans 400/500/600/700。请在 ASSETS.md 中记录该包和许可证;不要使用字体 CDN。
## 禁止事项
- 不得使用真实的节庆、城市活动、摊主品牌、乐队或场地:市集、摊主、舞台、演出和价格均为虚构,页脚需对此作出说明。
- 照片中不得包含可辨认的面孔(仅限远景背影和剪影),不得出现可读的标牌、文字、字母或标志——画面中的每一块标牌都保持为不可读的光晕。
- 日程为按工作日模式编排的示例,仅使用 HH:MM 时间:绝不渲染真实日期、年份、倒计时或任何根据访客时钟计算的内容,页脚也不得出现版权年份。
- 门票和摊主申请表均为本地演示,并需对此作出说明:无支付、无结账、无表单提交、无电子邮件服务、无 API、无分析;持久化仅使用 localStorage,并在恢复时进行校验。
- 霓虹光晕为克制的 CSS 效果(强调文字使用 text-shadow,激活状态使用 box-shadow)——不得有光晕动画,不得对正文文字添加光晕,不得有频闪或闪烁效果。
- 摊主地图为代码绘制的 SVG——不得使用地图瓦片、外部地图服务或真实地图的截图。
- 不得有后端、服务器代码、数据库、认证或第三方脚本。通过单一构建命令输出到 dist/ 的静态产物,使用相对路径。
- 仅通过所列的 Fontsource 包自托管字体;绝不加载 Google Fonts、Adobe Fonts 或任何 CDN 样式表或脚本。
- 生产环境不得有 source map,不得将 src/ 复制到 dist/,dist/ 保持在 20 MB 以下,并保持 Vite 的 base 为相对路径。
- 不得使用 Unsplash、Pexels、Pixabay、Google Images、占位图服务或热链接文件;仅使用六张生成的图片。
- 每个内部链接均为页内锚点或文件名,绝不为裸目录;单页必须在 1440×900 和 390×844 下渲染,且控制台零报错。
- 保持菜系筛选、图钉和摊主卡片完全可键盘操作:筛选标签为带 aria-pressed 的按钮,图钉可聚焦,信息卡片可通过 Escape 关闭。
- 遵循 prefers-reduced-motion:图钉淡入、卡片滑动和显现变为即时;灯笼串的摆动停止;所有交互保持可用。
- 所有文案保持美式英语,并从 [BRAND] 和 [BRAND_SLUG] 派生申请存储键,以便替换变量值后绝不残留默认品牌痕迹。
- 不做 SEO 工作:无 meta 描述、Open Graph 标签、JSON-LD、站点地图或堆砌关键词的标题。一个包含 [BRAND] 的普通标题和一个 favicon 即可。
---
— Prompt by VibeFather · https://vibefather.ai/t/night-market-food-festival · 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: "Night Market Food Festival"
colors:
indigo_night: "#131233"
raised_indigo: "#1B1A42"
lantern_amber: "#FFB25E"
neon_pink: "#FF5FA2"
warm_cream: "#FFF4E2"
soft_lilac: "#AFA9D8"
hairline_indigo: "#2E2C5E"
typography:
display_headline_section_titles_tier_names: { family: "Bricolage Grotesque Variable", weights: [700, 800] }
body_paragraphs_chips_schedule_forms: { family: "Plus Jakarta Sans", weights: [400, 500, 600, 700] }
spacing: "8px base grid. Shell max-width 1120px with 32px desktop and 20px mobile side padding. Header 72px. Sections 96px vertical padding on desktop, 64px on mobile. Map chips wrap at 12px gaps; schedule rows 16px vertical padding; prose max 62 characters per line."
radius: "16px on cards, panels, photos and the map plate; 999px pills for chips, buttons and badges; 12px on inputs and the info card's inner elements."
---
# Night Market Food Festival — 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
- **Indigo night** `#131233` — Page ground
- **Raised indigo** `#1B1A42` — Cards, panels, the map plate, form fields
- **Lantern amber** `#FFB25E` — Working accent: CTAs, active chips, glowing pins, accent words
- **Neon pink** `#FF5FA2` — Highlight accent: badges, links, one glow word, stage markers
- **Warm cream** `#FFF4E2` — Primary text on indigo
- **Soft lilac** `#AFA9D8` — Secondary text, metadata, inactive chips
- **Hairline indigo** `#2E2C5E` — Dividers, card borders, lane lines
## Typography
- **Display: headline, section titles, tier names** — Bricolage Grotesque Variable (OFL), weights 700/800. Self-host the font files.
- **Body: paragraphs, chips, schedule, forms** — Plus Jakarta Sans (OFL), weights 400/500/600/700. Self-host the font files.
## Spacing & shape
- Spacing: 8px base grid. Shell max-width 1120px with 32px desktop and 20px mobile side padding. Header 72px. Sections 96px vertical padding on desktop, 64px on mobile. Map chips wrap at 12px gaps; schedule rows 16px vertical padding; prose max 62 characters per line.
- Radius: 16px on cards, panels, photos and the map plate; 999px pills for chips, buttons and badges; 12px on inputs and the info card's inner elements.
## Motion
- Cuisine filter changes crossfade pin states over 240ms: matches gain an amber glow ring and scale 1.05 once, non-matches fade to 25% opacity; stages and lanes never move.
- The vendor info card slides in beside the map over 240ms on desktop and rises as a bottom sheet over 280ms on mobile; it closes with an X.
- Schedule rows reveal in a 60ms stagger; hovering a row slides a 2px amber underline under the time block.
- The hero scrims and headline rise 16px in an 80ms stagger on load; photos settle from scale 1.03 over 600ms.
- Sections reveal once on scroll with a 14px rise and a 420ms fade, staggered 60ms.
- Under prefers-reduced-motion every animation becomes an instant state change; pin filters and the info card stay fully functional.
## Imagery
Six photographs from one market shoot after dusk: deep indigo sky, strings of warm amber paper lanterns, out-of-focus neon glows, steam drifting through lantern light, 35mm lens, gentle film grain, one consistent dusk grade with rich shadows and warm highlights. People appear only as distant backs or silhouettes — no identifiable faces — and no shot contains readable signage, text, or logos.
## Tone
Warm night-out energy — a friend waving you down a lantern-lit lane. Short lines, honest demo notes in plain sight, glow used like lantern light, not like a nightclub.
---
— Prompt by VibeFather · https://vibefather.ai/t/night-market-food-festival · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 餐车集会组织者:设置 [BRAND] 和 [VENUE],用你的餐车替换十八个摊位记录,并把菜系标签换成你的阵容。
- 灯会或文化街头集市:保留暮色调色板,调整 [CITY] 和 [HOURS],围绕手工艺摊位和表演重写摊主卡片。
- 社区市集协会:用两段式时间表安排音乐和演示,并把摊位申请指向你自己的收集表单。
- 季节性快闪市集:把 [HOURS] 改成你的模式,将票档精简为你的入场模式,并为首访游客重写 FAQ。
夜市美食节:常见问题
夜市美食节模板的摊位地图和菜系筛选是怎么工作的?
夜市美食节模板用代码绘制地图:场地的风格化俯视图,有两个带标签的舞台和十八个摊位的编号图钉,外加一个代币亭和急救点。八个菜系标签用于筛选图钉——匹配的保持完全不透明并带琥珀色光晕环,不匹配的淡至 25%,点按图钉会打开卡片,显示摊主的招牌菜和代币价格。
怎么用 AI 做一个夜市美食节?
复制本页的提示词,或者运行 npx vibefather add night-market-food-festival,把 [CITY]、[BRAND]、[HOURS]、[VENUE] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。