added NavLinks to Home
This commit is contained in:
parent
10aedca9a2
commit
0767992a57
|
|
@ -139,6 +139,17 @@
|
|||
Profil
|
||||
</MudNavLink>
|
||||
}
|
||||
|
||||
<MudDivider Class="my-2" />
|
||||
<MudNavGroup Title="Website"
|
||||
Icon="@Icons.Material.Filled.Web"
|
||||
Expanded="false">
|
||||
<MudNavLink Href="/"
|
||||
Match="NavLinkMatch.Prefix"
|
||||
Icon="@Icons.Material.Filled.Home">
|
||||
Home
|
||||
</MudNavLink>
|
||||
</MudNavGroup>
|
||||
</MudNavMenu>
|
||||
|
||||
@code {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
@page "/"
|
||||
@using Koogle.Web.Components.Layout
|
||||
@using Microsoft.AspNetCore.Components.Authorization
|
||||
|
||||
@layout PublicLayout
|
||||
|
||||
|
|
@ -26,9 +27,20 @@
|
|||
<MudButton Variant="Variant.Outlined" Color="Color.Inherit" StartIcon="@Icons.Material.Filled.Info" Href="#features">
|
||||
Mehr erfahren
|
||||
</MudButton>
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Success" StartIcon="@Icons.Material.Filled.Login" Href="/account/login">
|
||||
Jetzt einloggen
|
||||
</MudButton>
|
||||
|
||||
|
||||
<AuthorizeView>
|
||||
<Authorized>
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Success" StartIcon="@Icons.Material.Filled.Dashboard" Href="/dashboard">
|
||||
zur Anwendung
|
||||
</MudButton>
|
||||
</Authorized>
|
||||
<NotAuthorized>
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Success" StartIcon="@Icons.Material.Filled.Login" Href="/account/login">
|
||||
Jetzt einloggen
|
||||
</MudButton>
|
||||
</NotAuthorized>
|
||||
</AuthorizeView>
|
||||
</MudStack>
|
||||
</MudStack>
|
||||
</MudItem>
|
||||
|
|
|
|||
Loading…
Reference in New Issue