added NavLinks to Home
This commit is contained in:
parent
10aedca9a2
commit
0767992a57
|
|
@ -139,6 +139,17 @@
|
||||||
Profil
|
Profil
|
||||||
</MudNavLink>
|
</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>
|
</MudNavMenu>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
@page "/"
|
@page "/"
|
||||||
@using Koogle.Web.Components.Layout
|
@using Koogle.Web.Components.Layout
|
||||||
|
@using Microsoft.AspNetCore.Components.Authorization
|
||||||
|
|
||||||
@layout PublicLayout
|
@layout PublicLayout
|
||||||
|
|
||||||
|
|
@ -26,9 +27,20 @@
|
||||||
<MudButton Variant="Variant.Outlined" Color="Color.Inherit" StartIcon="@Icons.Material.Filled.Info" Href="#features">
|
<MudButton Variant="Variant.Outlined" Color="Color.Inherit" StartIcon="@Icons.Material.Filled.Info" Href="#features">
|
||||||
Mehr erfahren
|
Mehr erfahren
|
||||||
</MudButton>
|
</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>
|
||||||
</MudStack>
|
</MudStack>
|
||||||
</MudItem>
|
</MudItem>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue