Swapped out links in header
This commit is contained in:
parent
280f3c912f
commit
9b1640c16c
1 changed files with 5 additions and 3 deletions
|
@ -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>
|
||||
|
|
Reference in a new issue