From ca21acf6b1b54d7fa0692d751862bceb784c3ae4 Mon Sep 17 00:00:00 2001 From: cuptain Date: Thu, 31 Oct 2024 13:38:56 +1100 Subject: [PATCH] Started Navbar --- fclauncher/frontend/src/App.svelte | 25 ++++++++++++++++++- fclauncher/frontend/src/Navbar.svelte | 35 +++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) diff --git a/fclauncher/frontend/src/App.svelte b/fclauncher/frontend/src/App.svelte index 3fa73fe..b11c1f4 100644 --- a/fclauncher/frontend/src/App.svelte +++ b/fclauncher/frontend/src/App.svelte @@ -6,6 +6,7 @@ import { onMount } from 'svelte' import { loading } from './global.ts' import { slide } from 'svelte/transition' + import Navbar from './Navbar.svelte'; let width: int = 10 @@ -17,7 +18,11 @@
- +
+ +
+ + {#if $loading}
@@ -27,9 +32,17 @@
{/if} +
diff --git a/fclauncher/frontend/src/Navbar.svelte b/fclauncher/frontend/src/Navbar.svelte index e69de29..0a73f27 100644 --- a/fclauncher/frontend/src/Navbar.svelte +++ b/fclauncher/frontend/src/Navbar.svelte @@ -0,0 +1,35 @@ + + +
+ +
+ + \ No newline at end of file