<script>
    export let title = undefined;
    export let description = undefined;
    export let refresh_after = undefined;
</script>

<style>
    .body {
        border: 1px solid blue;
    }
</style>

<svelte:head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">

    <title>{title || 'Undefined title'}</title>
    {#if description}
        <meta name="description" content={description}>
    {/if}

    <link rel="shortcut icon" type="image/png" href="/img/logox1024.png">
    <link rel="shortcut icon" type="image/png" href="/img/logox128.png">
    <link rel="shortcut icon" type="image/svg" href="/img/logo.svg">

    {#if refresh_after}
        <meta http-equiv="refresh" content={refresh_after}>
    {/if}
</svelte:head>

<div class="body">
    hello
    <slot name="body"/>
</div>