<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?.user);
</script>

<div class="flex items-start">
	<Sidebar />
	<main id="app" class="flex-1 h-screen overflow-y-auto">
		<slot />
	</main>
</div>
