SharpRSS/SharpRSS.Blazor/Components/Layout/MainLayout.razor
2024-06-17 14:47:10 +02:00

19 lines
465 B
Plaintext

@inherits LayoutComponentBase
@layout ApplicationLayout
<PageTitle>SharpRSS</PageTitle>
<MudDrawer @bind-Open="@ApplicationLayout.DrawerOpen" ClipMode="DrawerClipMode.Always">
<MudNavMenu>
<MudNavLink Match="NavLinkMatch.All" Icon="@Icons.Material.Filled.Home" Href="/">Home</MudNavLink>
</MudNavMenu>
<MudSpacer/>
</MudDrawer>
@Body
@code
{
[CascadingParameter]
public ApplicationLayout ApplicationLayout { get; set; } = null!;
}