PreStyling Layouts & Components

This commit is contained in:
2026-09-24 09:58:25 +02:00
parent fc38a1aafe
commit 356ccedc01
39 changed files with 1212 additions and 96 deletions

View File

@@ -0,0 +1,10 @@
---
import Figure from '@/components/media/Figure.astro'
import type { Article } from '@/lib/site/types'
type Props = { cover: Article['summary']['cover'] }
const { image, ...rest } = Astro.props.cover
---
{image && <Figure image={image} {...rest} size="full" eager />}