// Pages for VIP Motors prototype const { INVENTORY, BODY_STYLES, MAKES, FEATURED_SLUGS, SERVICES } = window.VIP_DATA; // ── HOME ────────────────────────────────────────────────────────── function HomePage({ navigate, onEnquire, onVehicle, tweaks }) { const heroMap = { divo: { src: "media/hero-bugatti-divo.webp", title: "Bugatti Divo", subtitle: "1 of 40 · Track-focused hyper" }, laferrari: { src: "media/hero-ferrari-laferrari.webp", title: "Ferrari LaFerrari", subtitle: "Holy Trinity hybrid hypercar" }, monza: { src: "media/hero-ferrari-monza.webp", title: "Ferrari Monza SP2", subtitle: "1 of 499 · Open-top barchetta" }, showroom: { src: "media/showroom-primary.webp", title: "The Showroom", subtitle: "Sheikh Zayed Road · Dubai" } }; const hero = heroMap[tweaks.heroImage] || heroMap.divo; const featured = FEATURED_SLUGS.map(s => INVENTORY.find(v => v.slug === s)).filter(Boolean); const headlineLines = (tweaks.headline || "").split("\n"); return (
{/* HERO */}
{/* Hero content */}
Live · Sheikh Zayed Road · Dubai

{headlineLines.map((line, i) => ( {i === headlineLines.length - 1 ? {line} : line} ))}

{/* red accent stripe under headline */}
{/* Hero meta bar */}
● Now in showroom {hero.title} · {hero.subtitle}
SCROLL ↓
{/* PERFORMANCE TICKER — red marquee */}
{[ "▲ 1,500 HP · Bugatti Divo", "● 0–100 KM/H IN 2.4S", "▲ 950 HP · LaFerrari", "● TOP SPEED 440 KM/H", "▲ V12 NATURALLY ASPIRATED", "● 1 OF 14 · LAMBORGHINI VENENO", "▲ QUAD-TURBO W16", "● 200+ CARS ON FLOOR", "▲ 6.5L V12 · MONZA SP2", "● 30+ MARQUES CURATED", "▲ 1,500 HP · Bugatti Divo", "● 0–100 KM/H IN 2.4S", "▲ 950 HP · LaFerrari", "● TOP SPEED 440 KM/H", "▲ V12 NATURALLY ASPIRATED", "● 1 OF 14 · LAMBORGHINI VENENO" ].map((t, i) => ( {t} ))}
{/* PROPOSITION + METRICS */}
The Showroom

A single address for the cars that don't get listed.

VIP Motors has operated on Sheikh Zayed Road since 2016, sourcing and curating new and pre-owned exotics for collectors, principals, and international buyers. Press has described the floor as "one of the largest luxury showrooms in the UAE," with roughly 200 cars on display daily and an expanded capacity announced in 2023.

{[ { n: "2016", l: "Founded" }, { n: "200+", l: "Cars on display¹" }, { n: "30+", l: "Marques curated" } ].map((s, i) => (
{s.n}
{s.l}
))}
¹ Figure attributed to company press; subject to confirmation.
{/* FEATURED */}
▲ Currently on the floor

Featured vehicles

{featured.map((v, i) => (
))}
Demo data — production inventory binds to feed / DMS
{/* IMAGE SPLIT — Showroom */}
Visit · Al Quoz 3

Step onto the floor.

Private viewings are arranged daily. The showroom sits on Sheikh Zayed Road near Mashreq Bank — climate-controlled, valet on arrival, and full export logistics handled in-house.

{/* SERVICES */}
What we do

End-to-end for the buyer who knows what they want.

{SERVICES.map((s, i) => (
{s.k}

{s.title}

{s.body}

))}
{/* PERFORMANCE SPOTLIGHT — big red numbers */}
{/* diagonal red speed-line accents */}
{/* JUST ARRIVED — horizontal scroller */}
▲ Just arrived

This week on the floor.

{INVENTORY.slice(4, 12).map((v) => (
))}
{/* OWNERSHIP PROGRAM — split with red strip */}
● Ownership programme

Beyond the handshake.

{[ { t: "Concierge service", b: "Door-to-door collection, storage, and detail. Annual programmes for residents and seasonal owners." }, { t: "Specialist workshop", b: "Manufacturer-certified technicians for engine-out service intervals on Ferrari, Lamborghini, Bugatti and McLaren." }, { t: "Track-day partnerships", b: "Closed-circuit days at Yas Marina and Dubai Autodrome — coordinated with the marque support teams." }, { t: "Insurance liaison", b: "Bespoke cover via specialist brokers for collector-grade and limited-production vehicles. Subject to confirmation." } ].map((c, i) => (
0{i + 1}

{c.t}

{c.b}

))}
{/* PRESS / QUOTES STRIP */}
Press
{[ { q: "One of the largest luxury showrooms in the UAE.", src: "Entrepreneur ME" }, { q: "A floor where the cars don't make it to the listing sites.", src: "Dubai Collector Weekly" }, { q: "Sheikh Zayed Road's reference point for limited-production exotics.", src: "Drive Arabia" } ].map((p, i) => (
" {p.q} "
— {p.src}
))}
Illustrative pull-quotes for prototype review · publication names placeholder
{/* CTA BAND */}
Looking for something specific?
We source the cars that don't appear online.
); } // ── INVENTORY ───────────────────────────────────────────────────── function InventoryPage({ navigate, onEnquire, onVehicle }) { const [bodyFilter, setBodyFilter] = useState("All"); const [makeFilter, setMakeFilter] = useState("All"); const [sort, setSort] = useState("featured"); const [view, setView] = useState("grid"); // grid | list const filtered = useMemo(() => { let out = INVENTORY.slice(); if (bodyFilter !== "All") out = out.filter(v => v.body === bodyFilter); if (makeFilter !== "All") out = out.filter(v => v.make === makeFilter); if (sort === "year-new") out.sort((a, b) => b.year - a.year); if (sort === "year-old") out.sort((a, b) => a.year - b.year); if (sort === "mileage") out.sort((a, b) => (a.mileage || 0) - (b.mileage || 0)); return out; }, [bodyFilter, makeFilter, sort]); return (
{/* Header */}
Inventory · {INVENTORY.length} vehicles

The floor, live.

Every vehicle is in our Dubai showroom or available by appointment. Demo data shown — production inventory updates daily from the dealer feed.

{/* Filter bar */}
{/* Body styles */}
Body {BODY_STYLES.map(b => ( ))}
{/* Make + Sort */}
Make
{MAKES.slice(0, 9).map(m => ( ))}
Sort
{/* Grid */}
{filtered.length === 0 ? (
No matches.
) : (
{filtered.map((v, i) => (
))}
)}
Showing {filtered.length} of {INVENTORY.length} · Demo data — feed binding in production
); } // ── VEHICLE DETAIL ──────────────────────────────────────────────── function VehiclePage({ slug, navigate, onEnquire, onVehicle }) { const v = INVENTORY.find(x => x.slug === slug) || INVENTORY[0]; const [activeImg, setActiveImg] = useState(0); const [tab, setTab] = useState("specs"); // include a few extra gallery shots if vehicle has only one image const gallery = v.images.length >= 2 ? v.images : [v.images[0], "media/showroom-primary.webp", "media/showroom-01.webp"]; useEffect(() => { setActiveImg(0); window.scrollTo({ top: 0, behavior: "instant" }); }, [slug]); const related = INVENTORY.filter(x => x.slug !== v.slug && x.body === v.body).slice(0, 3); return (
{/* breadcrumb */}
{/* gallery */}
 {activeImg + 1} / {gallery.length}
{gallery.slice(0, 3).map((src, i) => (
{/* Title + sticky CTA */}
{v.badges && v.badges.map(b => ( {b} ))}
{v.year} · {v.body}

{v.make} {v.model}

{v.headline && (

{v.headline}

)}
{/* Sticky CTA box */}
Price
Request price
By enquiry · finance & export available

Call
Demo prototype — WhatsApp number is a placeholder; replace before launch.
{/* Tabs: Specs / Overview / Location */}
{[ { k: "specs", l: "Specifications" }, { k: "overview", l: "Overview" }, { k: "location", l: "Location" } ].map(t => ( ))}
{tab === "specs" && (
Year
{v.year}
Body
{v.body}
Mileage
{v.mileage ? v.mileage.toLocaleString() + " km" : "—"}
Drivetrain
{v.drivetrain}
Location
{v.location}
Engine
{v.engine}
Power
{v.power}
Transmission
{v.transmission}
Exterior
{v.exterior}
Interior
{v.interior}
)} {tab === "overview" && (

The {v.year} {v.make} {v.model} arrived in our showroom direct from a single owner, accompanied by full service history and manufacturer documentation.

Presented in {v.exterior} over {v.interior}, with {v.mileage ? v.mileage.toLocaleString() : "low"} km on the odometer. Inspected by our in-house technicians; export documentation can be prepared on confirmation of sale. Detailed condition report and additional media supplied on enquiry.

Specifications shown are subject to verification at the time of sale. Demo content for prototype review.

)} {tab === "location" && (
Where to find this car
507 Sheikh Zayed Road,
Al Quoz 3, Dubai

Near Mashreq Bank. Climate-controlled showroom; valet on arrival. Open Mon–Thu & Sat 10:00–21:00, Fri 14:00–21:00.

Map placeholder
)}
{/* RELATED */} {related.length > 0 && (
Similar in the floor

You might also consider

{related.map(rv => )}
)}
); } // ── SELL / TRADE-IN ─────────────────────────────────────────────── function SellPage({ navigate, onEnquire }) { const [data, setData] = useState({ name: "", phone: "", email: "", make: "", model: "", year: "", mileage: "", condition: "Excellent", message: "" }); const [sent, setSent] = useState(false); const update = (k) => (e) => setData({ ...data, [k]: e.target.value }); return (
Sell / Trade-in

We buy what's in your garage.

Submit your vehicle for confidential valuation. Direct purchase or consignment; settlement typically within 72 hours of inspection.

How it works
{[ ["01", "Submit", "Tell us about the car. We'll request photos and history if not provided."], ["02", "Inspect", "Bring it to our Sheikh Zayed Road showroom — typically 30 minutes."], ["03", "Offer", "Same-day written offer. Direct purchase or consignment, your choice."], ["04", "Settle", "Bank transfer within 72 hours of agreement."] ].map(([k, t, b]) => (
{k}
{t}
{b}
))}
{sent ? (
We'll be in touch.
A specialist will review your submission and respond — typically within four hours during showroom hours.
) : (
{ e.preventDefault(); setSent(true); }} style={{ display: "flex", flexDirection: "column", gap: 22 }}>
Valuation request