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:
parent
bda66829a6
commit
785da8adfc
|
@ -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>
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue