blob: b2803ccb488c1227fc52e4445f50cba27a41c6ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<script>
import '../app.css';
import { page } from '$app/stores';
import Nav from '$lib/components/Nav.svelte';
let { children } = $props();
</script>
<svelte:head>
<title>Courses</title>
</svelte:head>
<div class="app">
{#if $page.url.pathname !== '/login'}
<Nav />
{/if}
{@render children()}
</div>
<style>
.app {
max-width: 36rem;
margin: 0 auto;
padding-bottom: 2rem;
}
</style>
|