2023-08-17 18:29:25 +01:00

29 lines
352 B
Svelte

<script lang="ts">
export let title: string;
export let subtitle: string = '';
</script>
<header>
<h1>{title}</h1>
{#if subtitle}
<h2>{subtitle}</h2>
{/if}
</header>
<style>
header {
font-family: shadowsintolight;
margin: 0px;
padding: 0px;
text-align: center;
}
h1 {
margin-bottom: 0px;
}
h2 {
margin-top: 0px;
}
</style>