From d1d654ebac2d51e3841675faeb56480e440f622f Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Tue, 5 Mar 2024 18:08:09 +0100
Subject: Initial commit

---
 frontend/src/lib/containers/Carousel.svelte | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 frontend/src/lib/containers/Carousel.svelte

(limited to 'frontend/src/lib/containers/Carousel.svelte')

diff --git a/frontend/src/lib/containers/Carousel.svelte b/frontend/src/lib/containers/Carousel.svelte
new file mode 100644
index 0000000..1268a78
--- /dev/null
+++ b/frontend/src/lib/containers/Carousel.svelte
@@ -0,0 +1,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>
-- 
cgit v1.2.3-2-gb3c3

