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>
|
<script>
|
||||||
import { page } from '$app/stores';
|
import { page } from '$app/stores';
|
||||||
import logo from '$lib/images/svelte-logo.svg';
|
|
||||||
import discord from '$lib/images/discord.svg';
|
import discord from '$lib/images/discord.svg';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -14,7 +13,10 @@
|
||||||
</svg>
|
</svg>
|
||||||
<ul>
|
<ul>
|
||||||
<li aria-current={$page.url.pathname === '/' ? 'page' : undefined}>
|
<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>
|
||||||
<li aria-current={$page.url.pathname === '/legacy-graphs' ? 'page' : undefined}>
|
<li aria-current={$page.url.pathname === '/legacy-graphs' ? 'page' : undefined}>
|
||||||
<a href="/legacy-graphs">Game 15 Graphs</a>
|
<a href="/legacy-graphs">Game 15 Graphs</a>
|
||||||
|
@ -35,7 +37,7 @@
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<div class="corner">
|
<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" />
|
<img src={discord} alt="Discord" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue