13 lines
328 B
Svelte
13 lines
328 B
Svelte
<script lang="ts">
|
|
export let title: string;
|
|
</script>
|
|
|
|
<article
|
|
class="w-full flex flex-row p-4 items-center justify-between border-t-2 border-white border-opacity-10 gap-2 -mt-8"
|
|
>
|
|
<div class="grow flex flex-col gap-2 px-4 -mb-2">
|
|
<h1 class="text-white font-sans text-2xl mt-1">{title}</h1>
|
|
<slot />
|
|
</div>
|
|
</article>
|