julien-c HF staff commited on
Commit
f30236f
1 Parent(s): 635fafd

customize app a little bit

Browse files
Files changed (1) hide show
  1. src/lib/header/Header.svelte +4 -4
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="/">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" />
 
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" />