一套精致的精品航空搜索与预订体验,以午夜航空海军蓝、暖云亚麻色、香槟黄铜色和地平线钴蓝色为主调。以六张风格统一的黄金时刻航空、客舱和目的地摄影作品为视觉锚点,包含往返/单程/多城市搜索、可交互的 7 天灵活票价矩阵、经停与舱位筛选、标志性的交互式 SVG 客舱座位图选择器、餐饮与行李附加服务,以及可打印的数字登机牌。
在线演示就是用这份提示词原样做出来的,没有额外补充。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Flight Search Booking Website
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
A complete, editorial flight search and end-to-end booking website for [BRAND], a fictional boutique international carrier based out of [HOME_HUB]. Opens into a full-bleed golden-hour aviation hero photograph overlooking sunlit clouds above a coastal horizon, with an immediately usable glassmorphic Flight Search Engine (toggle Round-Trip / One-Way / Multi-City, swap Origin/Destination IATA codes across 4 curated flagship routes — Lisbon LIS, Kyoto KIX, Reykjavik KEF, Zurich ZRH — select passengers & Cabin Class: Signature Suite vs Essential Main). Below the fold flows seamlessly into an Interactive 7-Day Flexible Date Fare Matrix (click any date cell to recalculate fares), Filterable Live Flight Results (filter by Nonstop / 1 Stop, Departure Time window, and Cabin Class), a Signature Interactive SVG Aircraft Cabin Seat-Map Selector (detailed A321-style fuselage diagram with clickable 1-2-1 Signature Business lie-flat seats in Champagne Brass and 2-3-2 Essential Main seats showing seat pitch, window/aisle tag, occupied seats, and live seat-upgrade fare delta), Baggage & Nordic/Mediterranean Dining Add-Ons, and a Passenger Checkout & Printable Digital Boarding Pass generator (with crisp SVG barcode, gate/seat/boarding-group readout, @media print styling, and localStorage booking persistence).
- Audience: Boutique airlines, travel booking platforms, luxury hospitality operators, and aviation UX teams.
- Goal: Elevate typically noisy flight search interfaces into a serene, Monocle-grade booking flagship with real multi-step seat-map and boarding-pass interactivity.
- Tone: Calm Swiss-European hospitality, aviation precision, tactile clarity — zero blinking countdown timers or discount-aggregator clutter.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: lucide-react (ISC), @fontsource/fraunces (OFL-1.1), @fontsource/plus-jakarta-sans (OFL-1.1), @fontsource/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Set base: './' and build: { sourcemap: false } in vite.config.ts.
- Import @fontsource/fraunces (400, 600, italic), @fontsource/plus-jakarta-sans (400, 500, 600, 700), and @fontsource/jetbrains-mono (400, 500) in src/main.tsx.
- Store all copy, variable defaults, 4 editorial destinations mapped 1:1 to their photographs, 7-day fare matrix prices, 8 realistic flight itineraries, cabin seat-map occupancy & pricing layout, dining/baggage add-ons, and sample passenger defaults in src/content.ts.
- Download all 6 generated aviation and destination photographs into public/images/ and reference via ./images/<file>.
- Add a clean @media print rule so clicking 'Print Boarding Pass' prints only the crisp boarding pass ticket.
## Variables
- [BRAND] — Airline name (default: "Vespera Air"). Fictional boutique airline name
- [HOME_HUB] — Primary hub city & IATA (default: "Zurich (ZRH)"). Departure hub airport
- [HERO_HEADLINE] — Hero editorial headline (default: "Unhurried long-haul flights designed like a quiet hotel."). 6-10 word poised travel headline
- [CARRIER_CODE] — 2-letter flight prefix (default: "VS"). Fictional 2-letter flight number code
- [CONCIERGE_EMAIL] — Travel desk email (default: "[email protected]"). Fictional concierge email
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/flight-search-booking-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.Pro 模板
解锁完整提示词和源码
在线演示和 DESIGN.md 仍然免费。
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Flight Search Booking Website"
colors:
midnight_aviation_navy: "#0D1B2A"
warm_cloud_linen: "#F7F5F0"
sandstone_boarding_card: "#EDE8DE"
champagne_brass: "#C99D5A"
horizon_cobalt: "#2563A6"
deep_slate_ink: "#121D28"
typography:
destination_titles_hero_headlines_boarding_pass_city_names: { family: "Fraunces", weights: [400, 600] }
flight_cards_filters_add_ons_passenger_form: { family: "Plus Jakarta Sans", weights: [400, 500, 600, 700] }
iata_codes_zrh_lis_kix_flight_numbers_durations_prices_seat_ids: { family: "JetBrains Mono", weights: [400, 500] }
spacing: "Shared 1240px architectural container; alternating serene Warm Cloud Linen (#F7F5F0) flight & destination modules with deep Midnight Aviation Navy (#0D1B2A) interactive cabin seat-map and hero chapters."
radius: "Crisp boarding-ticket framing (10px-14px) with subtle perforated ticket divider notches and 1px sandstone hairlines."
---
# Flight Search Booking 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
- **Midnight Aviation Navy** `#0D1B2A` — Hero backdrop, dark cabin seat-map stage, boarding pass header & primary buttons
- **Warm Cloud Linen** `#F7F5F0` — Primary sunlit editorial canvas for search results, destinations & checkout
- **Sandstone Boarding Card** `#EDE8DE` — Subtle fare matrix surfaces, flight itinerary cards & ticket stubs
- **Champagne Brass** `#C99D5A` — Signature Suite cabin highlight, selected seat ring, active fare badge & CTAs
- **Horizon Cobalt** `#2563A6` — Essential Main cabin seats, nonstop flight badges & active route arcs
- **Deep Slate Ink** `#121D28` — High-contrast body ink on Warm Cloud Linen
## Typography
- **Destination titles, hero headlines & boarding pass city names** — Fraunces (OFL), weights 400/600. Self-host the font files.
- **Flight cards, filters, add-ons & passenger form** — Plus Jakarta Sans (OFL), weights 400/500/600/700. Self-host the font files.
- **IATA codes (ZRH/LIS/KIX), flight numbers, durations, prices & seat IDs** — JetBrains Mono (OFL), weights 400/500. Self-host the font files.
## Spacing & shape
- Spacing: Shared 1240px architectural container; alternating serene Warm Cloud Linen (#F7F5F0) flight & destination modules with deep Midnight Aviation Navy (#0D1B2A) interactive cabin seat-map and hero chapters.
- Radius: Crisp boarding-ticket framing (10px-14px) with subtle perforated ticket divider notches and 1px sandstone hairlines.
## Motion
- Smooth flight path dot animation on route swap and crisp highlight pulse when selecting a seat inside the SVG fuselage diagram.
- Clean step progression across Search → Seat Map → Add-ons → Boarding Pass; respects prefers-reduced-motion.
## Imagery
Six cohesive golden-hour travel and aviation photographs: sunlit wing above coastal clouds hero, calm boutique lie-flat business cabin suite, Lisbon sunlit terracotta hillside coast, Kyoto cedar courtyard autumn light, Reykjavik misty basalt geothermal lagoon, and Swiss alpine lake sunrise.
## Tone
Calm Swiss-European hospitality, aviation precision, tactile clarity — zero blinking countdown timers or discount-aggregator clutter.
---
— Prompt by VibeFather · https://vibefather.ai/t/flight-search-booking-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
航班搜索预订网站模板以玻璃拟态搜索引擎开场,访客可切换往返、单程或多城市,在四条精选航线间互换出发地和目的地的 IATA 代码,并在 Signature Suite 与 Essential Main 之间选择乘客人数和舱位等级。随后结果以可筛选的行程列表呈现,你可以按直飞或 1 次经停、出发时间段和舱位等级进一步缩小范围。
可以。航班搜索预订网站模板围绕可编辑的品牌名、主枢纽城市和 IATA 代码、首屏标题、两字承运人代码和礼宾邮箱等值构建。默认文案是为总部位于苏黎世(ZRH)的 Vespera Air 撰写的,因此当你换成自己的航空公司时,需要重写每一处标题、标签和图片引用以保持一致,同时保持相同的长度和语气。
航班搜索预订网站模板包含一张交互式 SVG 客舱示意图,其中有 1-2-1 布局的 Signature Business 平躺座椅和 2-3-2 布局的 Essential Main 座椅,显示座椅间距、靠窗或靠走道标签、已占用座位以及实时升舱差价。结账后,会生成一张可打印的数字登机牌,带有 SVG 条形码、登机口、座位和登机分组,预订信息通过 localStorage 持久保存在浏览器中。
航班搜索预订网站模板是 Pro 模板,因此商业和客户项目由 Pro 授权覆盖。Pro 会员可查看完整提示词并获得演示的源代码,你可以将其重新品牌化用于精品航空公司、旅行平台或奢华酒店运营商。免费提示词和 DESIGN.md 文件仅在 CC BY-NC 4.0 下覆盖个人非商业用途。
先从内容文件中的品牌值开始:设置航空公司名称、主枢纽、承运人代码、礼宾邮箱和首屏标题,然后将四个目的地及其对应照片和八条示例行程替换为你的真实航线。接下来更新七天票价矩阵的价格以及餐饮和行李附加服务,并根据你的客舱布局核对座位图的占用情况。
复制本页的完整提示词(Pro),或者运行 npx vibefather add flight-search-booking-website,把 变量 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。
演示由 GPT-6.2 Sol 在 Codex 里完成。每次都用公开的提示词原样生成,没有额外补充。
航班搜索预订网站是一个单页网站,用 React、Tailwind CSS、Vite 构建。提示词固定了技术栈,不同 AI 工具做出来的都是同一类项目,成品是静态网站,部署到哪里都可以。
航班搜索预订网站是 Pro 模板:说明、技术栈和变量公开,完整提示词、在线演示的源码和商用授权包含在 VibeFather Pro 里,支持支付宝和微信支付。它的 DESIGN.md 个人项目可以免费用。
能。每个航班搜索预订网站的演示上线前都在手机和电脑尺寸上检查过布局、字号和点击区域。可以直接用手机打开在线演示,或者在本页把预览切到手机视图看看。