/* Federica Gori — card condivise (Diario + Home).
Segnaposto immagine on-brand finché non arrivano le foto reali. */
function PostImage({ tone = "sand", ratio = "16 / 10", style = {} }) {
return ;
}
/* Card articolo — anteprima editoriale (il tema fa da categoria). */
function PostCard({ post }) {
const { Card, Badge } = window.FedericaGoriDesignSystem_549960;
return (
{window.fgThemeLabel(post.theme)}
{post.title}
{post.excerpt}
{post.date}·{post.read} di lettura
);
}
/* Riga-intestazione di un tema del Diario. */
function ThemeHeader({ theme, count }) {
return (
{theme.label}
{theme.blurb}
);
}
Object.assign(window, { PostImage, PostCard, ThemeHeader });