1
0
Fork 0
mirror of https://github.com/miawinter98/just-short-it.git synced 2024-11-21 15:59:55 +00:00

Changed disabled enhanced nav for some links

This commit is contained in:
Mia Rose Winter 2024-03-29 20:00:09 +01:00
parent bda66829a6
commit 785da8adfc
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@
@if (Id is null) {
<h1 class="text-3xl lg:text-5xl font-bold text-primary-content">Welcome to Just Short It!</h1>
<h2 class="text-xl lg:text-3xl font-bold text-secondary-content">The KISS single-user URL shortener!</h2>
<a class="btn btn-primary btn-lg min-h-0 h-12" href="/Urls">Start shorting URLs</a>
<a class="btn btn-primary btn-lg min-h-0 h-12" href="/Urls" data-enhance-nav="false">Start shorting URLs</a>
} else {
<p class="text-error" aria-role="alert">@ErrorMessage</p>
}

View file

@ -1,9 +1,9 @@
<AuthorizeView>
<Authorized>
<span class="mx-3">@(context.User.Identity?.Name ?? "err_username_unknown")</span>
<a data-enhance="false" class="btn btn-link text-secondary-content" href="/Logout">Logout</a>
<a data-enhance-nav="false" class="btn btn-link text-secondary-content" href="/Logout">Logout</a>
</Authorized>
<NotAuthorized>
<a data-enhance="false" class="hover:link text-secondary-content" href="/Login">Login</a>
<a data-enhance-nav="false" class="hover:link text-secondary-content" href="/Login">Login</a>
</NotAuthorized>
</AuthorizeView>