diff options
Diffstat (limited to 'src/lib/components/Nav.svelte')
| -rw-r--r-- | src/lib/components/Nav.svelte | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/lib/components/Nav.svelte b/src/lib/components/Nav.svelte index 8f2e5c2..aa42ace 100644 --- a/src/lib/components/Nav.svelte +++ b/src/lib/components/Nav.svelte @@ -3,12 +3,17 @@ </script> <nav class="navbar"> - <a href="/" class:active={$page.url.pathname === '/'}>Liste</a> - <a href="/catalog" class:active={$page.url.pathname === '/catalog'} - >Catalogue</a + <a href="/" class:active={$page.url.pathname === '/'}>Projets</a> + <a href="/groceries" class:active={$page.url.pathname === '/groceries'} + >Liste</a > - <a href="/categories" class:active={$page.url.pathname === '/categories'} - >Catégories</a + <a + href="/groceries/catalog" + class:active={$page.url.pathname === '/groceries/catalog'}>Catalogue</a + > + <a + href="/groceries/categories" + class:active={$page.url.pathname === '/groceries/categories'}>Catégories</a > </nav> |
