🐨 Removes sidebar

This commit is contained in:
Rune Harlyk
2024-02-04 22:14:22 +01:00
parent 1536964165
commit 749d6d10ad
7 changed files with 62 additions and 40 deletions
+2 -2
View File
@@ -6,9 +6,9 @@
import Controller from './routes/Controller.svelte';
import Config from './routes/Config.svelte';
import Health from './routes/SystemHealth.svelte';
import Sidebar from './components/Sidebar.svelte';
import FileCache from './lib/cache';
import { socketLocation } from './lib/location';
import Settings from './routes/Settings.svelte';
export let url = window.location.pathname
onMount(() => {
@@ -37,9 +37,9 @@
<Router {url}>
<TopBar />
<Sidebar />
<div class="absolute w-full h-full bg-background text-on-background">
<Route path="/" component={Controller} />
<Route path="/settings/*page" component={Settings} />
<Route path="/config" component={Config} />
<Route path="/health" component={Health} />
</div>