underline lol
All checks were successful
Code quality checks / build (23) (push) Successful in 35s
Push code / build (push) Successful in 54s

This commit is contained in:
Lara 2024-11-03 12:45:09 +02:00
parent 07a1b74b58
commit b4392ea66a
Signed by: laratheprotogen
GPG key ID: 5C0296EB3165F98B

View file

@ -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>