From cf31acdbc05d371b3daa4b28840847de2c658c78 Mon Sep 17 00:00:00 2001 From: Cuptain Date: Wed, 27 Nov 2024 13:55:43 +1100 Subject: [PATCH] Settings page baybee --- fclauncher/frontend/src/App.svelte | 5 +++ fclauncher/frontend/src/Navbar.svelte | 2 +- fclauncher/frontend/src/Settingspage.svelte | 37 +++++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 fclauncher/frontend/src/Settingspage.svelte diff --git a/fclauncher/frontend/src/App.svelte b/fclauncher/frontend/src/App.svelte index e9ad329..83de59f 100644 --- a/fclauncher/frontend/src/App.svelte +++ b/fclauncher/frontend/src/App.svelte @@ -11,6 +11,7 @@ import Instancepage from './Instancepage.svelte' import { set_attributes, set_style } from 'svelte/internal'; import {GetInstances} from '../wailsjs/go/main/InstanceManager.js' + import Settingspage from './Settingspage.svelte'; let width: number = 10 let navMargin = document.getElementById("body") as HTMLElement; @@ -74,6 +75,10 @@
+ {:else if $currentPage == 4} +
+ +
{/if} diff --git a/fclauncher/frontend/src/Navbar.svelte b/fclauncher/frontend/src/Navbar.svelte index 71ef5d0..fb6a633 100644 --- a/fclauncher/frontend/src/Navbar.svelte +++ b/fclauncher/frontend/src/Navbar.svelte @@ -56,7 +56,7 @@ function unextend(){