{#snippet headerContent()}
    <a class="favicon" href="/">
        <img class="favicon-image" src="/favicon.webp" alt="Favicon">
    </a>
    <a href="/projects">Projects</a>
    <a href="/projects/projectn5/devlog">Project N5</a>
    <a href="/blog">Blog</a>
    <a href="/about">About</a>
{/snippet}

<div class="header-content coloured-header">
    {@render headerContent()}
</div>

<style>
    .header-content {
        box-sizing: border-box;
        width: 100%;
        min-height: 72px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
        align-items: center;
        padding: 0 24px;
    }

    .coloured-header {
        background: linear-gradient(90deg, var(--color-background-highlight) 62%, var(--color-header-highlight) 95%);
    }


    /* .transparent-header {
        background: linear-gradient(90deg, var(--color-background-highlight) 62%, var(--color-header-highlight) 95%);
    } */

    .favicon {
        background: url("/favicon.webp");
        color: black;
    }

    .favicon-image {
        width: initial;
        max-height: 32px;
    }

    a {
        font-family: var(--font-stylised);
        font-size: 1rem;
        font-weight: bold;
        text-decoration: none;
        transition: 0.2s ease-in-out color;
    }
    
    a:link {
        color: var(--color-text);
    }
    /* visited link */
    a:visited {
        color: var(--color-text);
    }
    /* mouse over link */
    a:hover {
        color: var(--color-highlight);
        /* text-decoration: underline dashed 2px var(--color-highlight); */
    }
</style>