summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/lib/containers/Carousel.svelte
blob: 1268a78876013c521c4405471328120c9f23b356 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<script lang="ts">
	export let title: string;
	export let href: string;
</script>

<div class="flex flex-col gap-1">
	<h2 class="flex text-2xl font-medium">
		<a class="hover:text-white" {href}>
			{title}
		</a>
	</h2>
	<div class="flex flex-wrap gap-5">
		<slot />
	</div>
</div>