/* Night-canvas overrides for the homepage: a full-bleed hero with the planner on its lower edge, and the featured packages set as an editorial hairline grid instead of three stacked cards. Everything else on the page is the design system's own section set, inheriting the dark tokens. */ const { Button, PhotoFrame, SectionHeader, PriceDisplay, MetadataRow, Rating, TripSearch } = window.VE; const ND = window.VE_DATA; function Hero({ onPlanTrip, search, onSearchChange, onSubmit, compactSearch }) { return (
Last light on a high mountain range above open grassland
Your next escape

Travel beautifully.
We’ll plan the rest.

Curated journeys, personalised itineraries, and seamless travel planning with Veloria Escape.

{compactSearch ? : onSearchChange({ ...search, activeField: field })} onSubmit={onSubmit} />}
); } function EditorialPackages({ onOpen }) { return (
onOpen('listing')}>All packages} />
{ND.packages.slice(0, 4).map((p) => (

{p.title}

))}
); } function HomeScreen({ onOpen, onPlanTrip, search, onSearchChange, onSearchSubmit, isMobile }) { return (
); } Object.assign(window, { Hero, EditorialPackages, HomeScreen });