17 lines
247 B
Svelte
17 lines
247 B
Svelte
|
<script>
|
||
|
import Menu from './menu.svelte';
|
||
|
|
||
|
let open = false;
|
||
|
</script>
|
||
|
|
||
|
<button
|
||
|
on:click={() => {
|
||
|
open = !open;
|
||
|
}}
|
||
|
class="w-full h-full min-w-max"
|
||
|
>
|
||
|
<img src="/images/icons8-menu.svg" alt="Hamburger menu" />
|
||
|
</button>
|
||
|
|
||
|
<Menu bind:open />
|