Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions svelte/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script lang="ts">
import { page } from '$app/state';

import Footer from '$lib/components/Footer.svelte';
import Header from '$lib/components/Header.svelte';

Expand All @@ -8,6 +10,8 @@

let { children } = $props();

let isIndex = $derived(page.route.id === '/');

// TODO: implement color scheme support
// TODO: implement notification container
</script>
Expand All @@ -20,8 +24,7 @@
<!-- TODO: <NotificationContainer position='top-right' /> -->
<div id="tooltip-container"></div>

<!-- TODO: pass `hero` prop based on whether we're on the index route -->
<Header />
<Header hero={isIndex} />

<main class="main">
<div class="inner-main width-limit">
Expand Down