Swapped out links in header

This commit is contained in:
Neshura 2023-08-08 19:43:30 +02:00
parent 280f3c912f
commit 9b1640c16c
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -1,6 +1,5 @@
<script>
import { page } from '$app/stores';
import logo from '$lib/images/svelte-logo.svg';
import discord from '$lib/images/discord.svg';
</script>
@ -14,7 +13,10 @@
</svg>
<ul>
<li aria-current={$page.url.pathname === '/' ? 'page' : undefined}>
<a href="/">Graphs</a>
<a href="/">Home</a>
</li>
<li aria-current={$page.url.pathname.startsWith('/graphs') ? 'page' : undefined}>
<a href="/graphs">Graphs</a>
</li>
<li aria-current={$page.url.pathname === '/legacy-graphs' ? 'page' : undefined}>
<a href="/legacy-graphs">Game 15 Graphs</a>
@ -35,7 +37,7 @@
</nav>
<div class="corner">
<a href="https://github.com/sveltejs/kit">
<a href="https://discord.gg/chellaris" target="_blank" rel="noopener noreferrer">
<img src={discord} alt="Discord" />
</a>
</div>