/* 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 (
{/* Back */}
{/* Title block */}
{t('detail.commissionLabel')}

{car.name}

{car.year} · {t('footer.krakow')}
{/* Rework film */}
{car.youtubeId ? : }
{/* Facts strip */}
{car.facts.map((f, i) => (
{f.k}
{f.v}
))}
{/* Narrative — restraint; no method revealed */}

{car.lead}

{car.body.map((p, i) => (

{p}

))}
{/* Gallery pair */}
{/* Owner reaction — the only 'testimonial', obscured and quiet */}

“{car.reaction}”

{car.reactionBy}
{/* Next / invitation */}
); } window.CarDetail = CarDetail;