/** * rTrips demo page — server-rendered HTML body. * * Embeds the full component for * real interactivity (trip list, destinations, itinerary, bookings, * expenses, packing lists) plus showcase sections explaining the rTrips vision. */ const FEATURES = [ { icon: "\u{1F5FA}", title: "Destinations", desc: "Pin destinations on the map with arrival/departure dates, country info, and notes. Reorder your route with drag and drop.", }, { icon: "\u{1F4C5}", title: "Itinerary", desc: "Plan day-by-day activities grouped by date. Categories include hiking, dining, sightseeing, transit, and more.", }, { icon: "\u{1F4B0}", title: "Expense Splitting", desc: "Track group expenses with automatic per-person splits. See who paid what and who owes whom.", }, { icon: "\u{1F392}", title: "Packing Lists", desc: "Collaborative packing checklists organized by category. Check items off as you pack — synced in real time.", }, ]; const INTEGRATIONS = [ { icon: "\u{1F5FA}", name: "rMaps", desc: "Destinations and routes appear on the interactive map with pins and driving directions." }, { icon: "\u{1F4C5}", name: "rCal", desc: "Trip dates, activities, and bookings sync to the community calendar." }, { icon: "\u{1F30A}", name: "rFunds", desc: "Group expenses feed into shared budget flows with threshold-based splits." }, { icon: "\u{1F5F3}", name: "rVote", desc: "Vote on daily activities, restaurants, and route decisions as a group." }, { icon: "\u{1F4DD}", name: "rNotes", desc: "Attach travel journals, packing tips, and logistics notes to the trip." }, { icon: "\u2615\uFE0F", name: "rSpace", desc: "Each trip lives on its own canvas with maps, notes, polls, and expenses connected." }, ]; export function renderDemo(): string { return `
Collaborative Trip Planner

rTrips Demo

Plan trips together with destinations, itinerary, bookings, expenses, and packing lists

\u{1F5FA} Destinations | \u{1F4C5} Itinerary | \u{1F4B0} Expenses | \u{1F392} Packing
${FEATURES.map( (f) => `
${f.icon}

${f.title}

${f.desc}

`, ).join("")}

r* Ecosystem Integrations

${INTEGRATIONS.map( (i) => `
${i.icon}

${i.name}

${i.desc}

`, ).join("")}

Plan Your Next Adventure

rTrips gives your group everything you need — routes, schedules, polls, shared expenses, and packing lists — all connected in one trip canvas.

Start Planning
`; }