Fully implement settings

This commit is contained in:
2024-08-09 22:19:50 +02:00
parent 7b6108d0dd
commit 8119775084
16 changed files with 235 additions and 22 deletions

View File

@@ -1,5 +1,9 @@
<script lang="ts">
import { link, location } from "svelte-spa-router";
import { faGear } from "@fortawesome/free-solid-svg-icons";
import Fa from "svelte-fa";
import Settings from "./Settings/Settings.svelte";
Fa;
type Link = {
label: string;
@@ -38,6 +42,8 @@
};
});
}
let showModal = true;
</script>
<header
@@ -75,4 +81,12 @@
{/each}
</nav>
</div>
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div class="absolute right-0 pt-4 pb-4 pr-8 pl-8 cursor-pointer" on:click={() => (showModal = true)}>
<button>
<Fa icon={faGear} scale={2} />
</button>
</div>
</header>
<Settings bind:showModal />