lora-studio / src /routes /+layout.svelte
enzostvs's picture
enzostvs HF staff
add user validation
b1a4d81
raw
history blame
372 Bytes
<script>
import Sidebar from "$lib/components/sidebar/Sidebar.svelte";
import "$lib/styles/tailwind.css"
import { userStore } from "$lib/stores/use-user";
export let data;
userStore.set(data.user);
</script>
<div class="flex items-start">
<Sidebar />
<main id="app" class="px-6 py-10 lg:px-10 lg:py-12 flex-1 h-screen overflow-y-auto">
<slot />
</main>
</div>