// BLOG page function BlogApp() { const [lang, setLang] = useLang(); const t = mergeT(lang); const bp = t.blog_page; const heroImgs = [ "https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1100&q=80&auto=format&fit=crop", "https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=900&q=80&auto=format&fit=crop", "https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=900&q=80&auto=format&fit=crop", "https://images.unsplash.com/photo-1620626011761-996317b8d101?w=900&q=80&auto=format&fit=crop", "https://images.unsplash.com/photo-1505691938895-1758d7feb511?w=900&q=80&auto=format&fit=crop", "https://images.unsplash.com/photo-1552321554-5fefe8c9ef14?w=900&q=80&auto=format&fit=crop", ]; const [feat, ...rest] = bp.posts; return ( <>
{/* Featured */}
{feat.title}
{bp.featured_label} {feat.cat} · {feat.date} · {feat.read}

{feat.title}

{feat.excerpt}

{lang === 'en' ? 'By' : 'Por'} {feat.author}
{bp.read_more}
{rest.map((p, i) => ( {p.title}
{p.cat} · {p.date}

{p.title}

{p.excerpt}

{p.author} · {p.read}
))}
); } ReactDOM.createRoot(document.getElementById("app")).render();