/* global React, Media, VideoPlate, VideoEmbed, useReveal, useLocale */ // Jullia — a single commission, treated like a gallery piece. Data-driven by // window.JULLIA_CARS. Title, rework film, facts, restraint narrative, gallery, // the obscured reaction, and a quiet way back / forward. function CarDetail({ car: rawCar, onBack, onOpen }) { const { Eyebrow, Divider, Button } = window.JulliaDesignSystem_b654aa; const { t, localize } = useLocale(); const ref = useReveal(); const cars = (window.JULLIA_CARS || []).map(localize); const car = localize(rawCar); if (!car) return null; const next = cars[(cars.findIndex((c) => c.id === car.id) + 1) % Math.max(cars.length, 1)]; return (
{car.lead}
{car.body.map((p, i) => ({p}
))}“{car.reaction}”
{car.reactionBy}