From 22ce0549e20ee397cf5953bd6b7aafc752deaa28 Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Sat, 2 Nov 2024 20:02:24 -0400
Subject: Run prettier, make lint part of pre-commit

---
 ui/routes/+layout.svelte | 58 ++++++++++++++++++++++++------------------------
 1 file changed, 29 insertions(+), 29 deletions(-)

(limited to 'ui/routes/+layout.svelte')

diff --git a/ui/routes/+layout.svelte b/ui/routes/+layout.svelte
index a86a7e8..22377bb 100644
--- a/ui/routes/+layout.svelte
+++ b/ui/routes/+layout.svelte
@@ -1,41 +1,41 @@
 <script>
-    import "../app.css";
-    import logo from '$lib/assets/logo.png';
+	import '../app.css';
+	import logo from '$lib/assets/logo.png';
 
-    import { AppBar } from '@skeletonlabs/skeleton';
-    import { showMenu, currentUser } from '$lib/store';
+	import { AppBar } from '@skeletonlabs/skeleton';
+	import { showMenu, currentUser } from '$lib/store';
 
-    import CurrentUser from '$lib/components/CurrentUser.svelte';
+	import CurrentUser from '$lib/components/CurrentUser.svelte';
 
-    function toggleMenu() {
-        showMenu.update((value) => !value);
-    }
+	function toggleMenu() {
+		showMenu.update((value) => !value);
+	}
 </script>
 
 <div id="app" class="m-0 p-0 h-vh w-full">
-    <div class="w-full">
-        <AppBar class="app-bar">
-            <svelte:fragment slot="lead">
-                <a on:click|preventDefault={toggleMenu} class="cursor-pointer">
-                <img class="w-8 h-8" alt="logo" src={logo} />
-                </a>
-            </svelte:fragment>
-            <a href="/">understory</a>
-            <svelte:fragment slot="trail">
-                {#if $currentUser}
-                    <CurrentUser />
-                {/if}
-            </svelte:fragment>
-        </AppBar>
-    </div>
+	<div class="w-full">
+		<AppBar class="app-bar">
+			<svelte:fragment slot="lead">
+				<a on:click|preventDefault={toggleMenu} class="cursor-pointer">
+					<img class="w-8 h-8" alt="logo" src={logo} />
+				</a>
+			</svelte:fragment>
+			<a href="/">understory</a>
+			<svelte:fragment slot="trail">
+				{#if $currentUser}
+					<CurrentUser />
+				{/if}
+			</svelte:fragment>
+		</AppBar>
+	</div>
 
-    <slot />
+	<slot />
 </div>
 
 <style>
-    #app {
-        margin: 0;
-        height: 100vh;
-        width: 100%;
-    }
+	#app {
+		margin: 0;
+		height: 100vh;
+		width: 100%;
+	}
 </style>
-- 
cgit v1.2.3

