2023-11-25 21:27:55 +01:00
|
|
|
<script lang="ts">
|
|
|
|
import Image from "$lib/image.svelte";
|
|
|
|
|
|
|
|
export let who: string = "who?";
|
|
|
|
export let headerImage: string | null = null;
|
|
|
|
export let imageDesc: string = '';
|
|
|
|
</script>
|
2024-03-11 19:23:04 +01:00
|
|
|
<div class="my-5">
|
2023-11-25 21:27:55 +01:00
|
|
|
{#if headerImage}
|
|
|
|
<Image {headerImage} {imageDesc}/>
|
|
|
|
{/if}
|
2024-03-11 19:23:04 +01:00
|
|
|
<h1 class='text-5xl'>About {who}</h1>
|
|
|
|
<div class="grid grid-cols-1 gap-y-3 my-3">
|
|
|
|
<hr>
|
|
|
|
<slot />
|
|
|
|
</div>
|
2023-11-25 21:27:55 +01:00
|
|
|
</div>
|