underline lol
This commit is contained in:
parent
07a1b74b58
commit
b4392ea66a
1 changed files with 4 additions and 1 deletions
|
@ -1,8 +1,11 @@
|
|||
<script lang="ts">
|
||||
import logo from '$lib/img/logo.png';
|
||||
import { page } from '$app/stores';
|
||||
|
||||
let { children } = $props();
|
||||
|
||||
let guildsAnchor: HTMLAnchorElement | undefined = $state();
|
||||
|
||||
async function logout() {
|
||||
|
||||
}
|
||||
|
@ -21,7 +24,7 @@
|
|||
|
||||
<div class="flex-1 flex items-center flex-wrap">
|
||||
<ul class="dashboard-nav list-none flex md:ml-8">
|
||||
<a class="flex-auto mr-4" href="/new/dashboard">Guilds</a>
|
||||
<a class="flex-auto mr-4" href="/new/dashboard" bind:this={guildsAnchor} class:underline={guildsAnchor.href === $page.url.pathname}>Guilds</a>
|
||||
<button class="navbar-item hover:text-red-400 mr-2" onclick={logout}>Log out</button>
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue