blob: fb05b7d4d3973024d3f5850cdd50e704ad66b626 (
plain) (
tree)
|
|
<script lang="ts">
import type { Snippet } from 'svelte';
interface Props {
title: string;
href: string;
children?: Snippet;
}
let { title, href, children }: Props = $props();
</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">
{@render children?.()}
</div>
</div>
|