<script>
	import Navbar from '$lib/menu/Navbar.svelte';
	import Sidebar from '$lib/menu/Sidebar.svelte';
	import '../app.css';

	let open = false;
</script>

<main class="w-full h-full">
	<Sidebar bind:open />
	<Navbar bind:sidebar={open} />

	<slot></slot>
</main>

<style>
	:global(body) {
		padding: 0;
	}

	@media (min-width: 640px) {
		main {
			max-width: none;
		}
	}
</style>
