Spaces:
Running
Running
customize app a little bit
Browse files
src/lib/header/Header.svelte
CHANGED
@@ -15,13 +15,13 @@
|
|
15 |
<path d="M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z" />
|
16 |
</svg>
|
17 |
<ul>
|
18 |
-
<li class:active={$page.url.pathname === '/'}><a sveltekit:prefetch href="
|
19 |
<li class:active={$page.url.pathname === '/about'}>
|
20 |
-
<a sveltekit:prefetch href="
|
21 |
</li>
|
22 |
-
<li class:active={$page.url.pathname === '/todos'}>
|
23 |
<a sveltekit:prefetch href="/todos">Todos</a>
|
24 |
-
</li>
|
25 |
</ul>
|
26 |
<svg viewBox="0 0 2 3" aria-hidden="true">
|
27 |
<path d="M0,0 L0,3 C0.5,3 0.5,3 1,2 L2,0 Z" />
|
|
|
15 |
<path d="M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z" />
|
16 |
</svg>
|
17 |
<ul>
|
18 |
+
<li class:active={$page.url.pathname === '/'}><a sveltekit:prefetch href="./">Home</a></li>
|
19 |
<li class:active={$page.url.pathname === '/about'}>
|
20 |
+
<a sveltekit:prefetch href="./about">About</a>
|
21 |
</li>
|
22 |
+
<!-- <li class:active={$page.url.pathname === '/todos'}>
|
23 |
<a sveltekit:prefetch href="/todos">Todos</a>
|
24 |
+
</li> -->
|
25 |
</ul>
|
26 |
<svg viewBox="0 0 2 3" aria-hidden="true">
|
27 |
<path d="M0,0 L0,3 C0.5,3 0.5,3 1,2 L2,0 Z" />
|