web/src/pages/talks.astro

24 lines
607 B
Text
Raw Normal View History

2024-01-25 18:44:10 +01:00
---
import BaseLayout from '../layouts/base.astro';
import talks from '../talks.json';
---
2024-02-25 09:13:19 +01:00
<BaseLayout title="Talks" image="og_talks">
2024-01-25 18:44:10 +01:00
<div class="middle-pane-medium mt-10">
<div class="mt-16">
<h1>Talks ({talks.length})</h1>
</div>
<div class="grid md:grid-cols-2 xl:grid-cols-3 gap-6">
{talks.map((entry) => (
<div class="basegrid-entry aspect-video" style={{backgroundImage: `url("${entry.img}")`, backgroundSize: 'cover', backgroundPosition: 'center'}}>
<a href={entry.url} class="w-full h-full" title={entry.title}></a>
</div>
))}
</div>
</div>
</BaseLayout>