2023-09-11 22:15:53 +00:00
|
|
|
<script lang="ts">
|
2024-11-09 19:05:28 +00:00
|
|
|
import 'iconify-icon';
|
|
|
|
|
import Footer from '$components/Footer.svelte';
|
|
|
|
|
import Header from '$components/Header.svelte';
|
2023-09-11 22:15:53 +00:00
|
|
|
|
2024-11-09 19:05:28 +00:00
|
|
|
const { data, children } = $props();
|
2023-09-11 22:15:53 +00:00
|
|
|
</script>
|
|
|
|
|
|
2024-09-10 02:25:16 +00:00
|
|
|
<div class="flex min-h-screen w-full flex-col">
|
|
|
|
|
<Header user={data.authedUser} />
|
2023-09-11 22:15:53 +00:00
|
|
|
|
2024-09-10 02:25:16 +00:00
|
|
|
<main
|
2024-10-02 23:01:38 +00:00
|
|
|
class="flex min-h-[calc(100vh-theme(spacing.16))] flex-1 flex-col gap-4 p-4 md:gap-8 md:p-10"
|
2024-09-10 02:25:16 +00:00
|
|
|
>
|
|
|
|
|
{@render children()}
|
|
|
|
|
</main>
|
2023-09-11 22:15:53 +00:00
|
|
|
|
2024-09-10 02:25:16 +00:00
|
|
|
<Footer />
|
|
|
|
|
</div>
|
2023-09-11 22:15:53 +00:00
|
|
|
|
|
|
|
|
<style lang="postcss">
|
2024-10-03 21:47:59 +00:00
|
|
|
:global(.dialog-overlay) {
|
|
|
|
|
position: fixed;
|
|
|
|
|
inset: 0;
|
|
|
|
|
z-index: 100;
|
|
|
|
|
background-color: rgb(0 0 0);
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
}
|
2023-09-11 22:15:53 +00:00
|
|
|
</style>
|