File size: 599 Bytes
3d330e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
27
<script lang="ts">
	import { page } from '$app/stores';
	import Container from '$lib/components/Container.svelte';
</script>

<div class="flex justify-evenly mb-10">
	<a
		href="/admin/pages"
		class="pa-2 link"
		class:text-sunray={$page.url.pathname.startsWith('/admin/pages')}>Pages</a
	>
	<a
		href="/admin/photos"
		class="pa-2 link"
		class:text-sunray={$page.url.pathname.startsWith('/admin/photos')}>Photos</a
	>
	<a
		href="/admin/produits"
		class="pa-2 link"
		class:text-sunray={$page.url.pathname.startsWith('/admin/produits')}>Produits</a
	>
</div>

<Container>
	<slot />
</Container>