旅行行程与行李打包 App 是一款阳光、杂志风格的旅行伴侣 PWA,预置了一份虚构的 5 天 Cala Sol 海岸度假行程。它采用真正的三断点响应式设计,没有任何假手机边框:768px 以下的移动端屏幕通过固定的底部四标签栏(行程、预算、打包、地点)清晰导航,桌面端则展开为全高侧边栏,以及分栏的日程时间线,搭配风格化的海岸路线地图、可展开的预订详情和实时打包就绪摘要。六张统一的黄金时刻海岸照片让目的地鲜活起来,覆盖第 1 天到第 5 天的站点,包括航班、悬崖边精品酒店入住、海边用餐、海岸徒步和日落帆船。旅行者可以添加新站点、编辑或重排现有日程块、查看确认详情、通过实时多币种模拟换算器(USD、EUR、JPY、GBP)追踪旅行支出、勾选分类打包物品并查看实时进度条,还能用标签和笔记整理收藏地点——所有内容都持久化在 localStorage 中。以阳光沙色(#FDFBF7)和海洋墨色(#0F2537)为主,搭配地中海青(#0D9488)和日落珊瑚(#F97316),自托管 Fraunces、Plus Jakarta Sans 和 JetBrains Mono。在 src/content.ts 中自定义应用品牌、目的地、旅行者姓名和旅行预算。
在线演示就是用这份提示词原样做出来的,没有额外补充。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Travel Itinerary & Packing App
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
A sunlit editorial responsive mobile-first trip companion PWA ([BRAND]) seeded with a fictional 5-day coastal getaway to [DESTINATION] for [TRAVELERS] ([TRIP_DURATION], [TRIP_BUDGET] budget). Mobile (<768px) uses a bottom 4-tab bar (Itinerary, Budget, Packing, Places); desktop displays a sidebar + split timeline & coastal route map/details layout. No fake phone bezel.
- Audience: Leisure travelers, couples, and travel planners organizing multi-day trips, budgets, and packing lists offline.
- Goal: Keep day-by-day schedules, booking references, currency conversions, and packing readiness effortless to update on the move.
- Tone: Sunlit, serene, editorial, organized coastal optimism.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: lucide-react (ISC), @fontsource/fraunces (OFL), @fontsource/plus-jakarta-sans (OFL), @fontsource/jetbrains-mono (OFL)
- 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 (600, 700), @fontsource/plus-jakarta-sans (400, 500, 600, 700), and @fontsource/jetbrains-mono (400, 500, 600) locally in src/main.tsx.
- Download all 6 cohesive golden-hour coastal travel WebPs into public/images/ and reference via ./images/...
- Seed all 5 days (Day 1–Day 5) of itinerary stops, trip expenses, categorized packing items, and 6 saved coastal places in src/data/tripSeed.ts; persist all mutations in localStorage.
## Variables
- [BRAND] — Travel app name (default: "CovePass"). Fictional travel companion PWA name
- [DESTINATION] — Coastal destination (default: "Cala Sol Coast"). Fictional Mediterranean getaway
- [TRAVELERS] — Travelers label (default: "Elena & Marco"). Displayed in trip header
- [TRIP_BUDGET] — Trip budget cap (default: "$2,800"). Budget target in USD
- [TRIP_DURATION] — Trip duration tag (default: "5 Days · 4 Nights"). Relative duration without calendar dates
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/travel-itinerary-packing-app 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: "Travel Itinerary & Packing App"
colors:
sunlit_sand: "#FDFBF7"
card_white: "#FFFFFF"
ocean_ink: "#0F2537"
mediterranean_teal: "#0D9488"
sunset_coral: "#F97316"
warm_driftwood: "#64748B"
typography:
editorial_travel_titles_and_place_headings: { family: "Fraunces", weights: [600, 700] }
schedule_descriptions_checklists_and_ui: { family: "Plus Jakarta Sans", weights: [400, 500, 600, 700] }
stop_times_booking_refs_currency_rates_and_packing_counts: { family: "JetBrains Mono", weights: [400, 500, 600] }
spacing: "Mobile (<768px) clears the fixed 64px bottom tab bar cleanly. Desktop (>=1024px) renders a full-height 236px sidebar + split timeline left & stylized coastal route map / trip readiness right."
radius: "18px for hero banner and place cards, 14px for timeline stop cards, 999px for Day 1–Day 5 pills and FX currency toggles."
---
# Travel Itinerary & Packing App — 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
- **Sunlit Sand** `#FDFBF7` — Warm sunlit paper app canvas
- **Card White** `#FFFFFF` — Timeline stops, budget cards, and packing groups
- **Ocean Ink** `#0F2537` — Primary headings, hero overlays, and deep maritime cards
- **Mediterranean Teal** `#0D9488` — Active day tabs, route lines, packed checks, and primary CTAs
- **Sunset Coral** `#F97316` — Booking badges, FX highlights, dining pins, and add-stop CTA
- **Warm Driftwood** `#64748B` — Secondary notes, durations, and confirmation codes
## Typography
- **Editorial travel titles and place headings** — Fraunces (OFL), weights 600/700. Self-host the font files.
- **Schedule descriptions, checklists, and UI** — Plus Jakarta Sans (OFL), weights 400/500/600/700. Self-host the font files.
- **Stop times, booking refs, currency rates, and packing counts** — JetBrains Mono (OFL), weights 400/500/600. Self-host the font files.
## Spacing & shape
- Spacing: Mobile (<768px) clears the fixed 64px bottom tab bar cleanly. Desktop (>=1024px) renders a full-height 236px sidebar + split timeline left & stylized coastal route map / trip readiness right.
- Radius: 18px for hero banner and place cards, 14px for timeline stop cards, 999px for Day 1–Day 5 pills and FX currency toggles.
## Motion
- Smooth expandable booking details accordion on every schedule stop.
- Live packing progress meter and instant currency conversion updates.
- Honors prefers-reduced-motion; all content visible immediately.
## Imagery
Six cohesive golden-hour coastal travel photographs shot in warm editorial 35mm light (turquoise cove, cliffside terrace hotel, wooden sailboat harbor, sea-view cafe dining, rosemary cliff footpath, sunset sail), zero text or logos.
## Tone
Sunlit, serene, editorial, organized coastal optimism.
---
— Prompt by VibeFather · https://vibefather.ai/t/travel-itinerary-packing-app · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
旅行行程与行李打包 App 模板把所有文案和种子数据放在一个内容文件里,需求简述将 BRAND、TRAVELERS、DESTINATION、TRIP_BUDGET 和 TRIP_DURATION 作为变量暴露出来。把 BRAND 设为你的应用名,TRAVELERS 设为同行的人,DESTINATION 设为目的地,TRIP_BUDGET 设为以 USD 计的预算上限。然后重写所有提到旧值的标题和标签,让旅行页头、预算页面和打包摘要保持一致。
把 DESTINATION 设为真实地点,将 images 文件夹中六张预置海岸照片替换为该目的地的照片,并重写第 1 天到第 5 天的站点,让航班、入住、用餐、徒步和帆船都符合实际行程。然后在内容文件中设置 BRAND、TRAVELERS、TRIP_DURATION 和 TRIP_BUDGET。路线地图、时间线、预算换算器和打包清单会继续使用新内容正常工作,因为布局由种子数据驱动。
复制本页的完整提示词(Pro),或者运行 npx vibefather add travel-itinerary-packing-app,把 [BRAND]、[TRAVELERS]、[DESTINATION]、[TRIP_BUDGET] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。
演示由 GLM-5.4 在 ZCode 里完成。每次都用公开的提示词原样生成,没有额外补充。