/* global React, Media, useReveal, useLocale */ // Jullia — a single philosophy entry. Data-driven by window.JULLIA_BLOG_POSTS. // Title, cover, the lead line, body, and a quiet way back / forward. function PhilosophyDetail({ post: rawPost, onBack, onOpen }) { const { Eyebrow, Button } = window.JulliaDesignSystem_b654aa; const { t, localize } = useLocale(); const ref = useReveal(); const posts = (window.JULLIA_BLOG_POSTS || []).map(localize); const post = localize(rawPost); if (!post) return null; const next = posts[(posts.findIndex((p) => p.id === post.id) + 1) % Math.max(posts.length, 1)]; return (
{/* Back */}
{/* Title block */}
{t('philosophy.detail.entryLabel')}

{post.title}

{post.date} · {post.category}
{/* Cover */}
{/* Narrative */}

{post.lead}

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

{p}

))}
{/* Next / invitation */}
); } window.PhilosophyDetail = PhilosophyDetail;