<script>
    export let name = "%USER%";
    export let icon;
    export let onClick;
</script>

<style>
    img {
        display: inline-block;
        position: relative;
        width: 100%;
        height: 100%;
    }

    a {
        display: inline-block;
        height: 100%;
    }
</style>


<a on:click={onClick} href="404"> <img src="/user.svg"> </a>
