<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>
