mirror of
https://github.com/sern-handler/website
synced 2026-06-28 02:32:23 +00:00
24 lines
362 B
Plaintext
24 lines
362 B
Plaintext
---
|
|
import type { StarlightBlogEntry } from '../libs/content'
|
|
|
|
import Preview from './Preview.astro'
|
|
|
|
interface Props {
|
|
entries: StarlightBlogEntry[]
|
|
}
|
|
|
|
const { entries } = Astro.props
|
|
---
|
|
|
|
<div class="posts">
|
|
{entries.map((entry) => <Preview {entry} />)}
|
|
</div>
|
|
|
|
<style>
|
|
.posts {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3rem;
|
|
}
|
|
</style>
|