Made home page and startet the layout for settings home page

This commit is contained in:
Alex Pedersen
2026-07-30 15:21:59 +02:00
parent 2e537337f5
commit 03594bba3f
11 changed files with 241 additions and 251 deletions

View File

@@ -1,30 +1,11 @@
@inherits LayoutComponentBase
<FluentLayout>
<FluentLayoutItem Area="LayoutArea.Header">
<FluentLayoutHamburger />
Pos.Web
</FluentLayoutItem>
<FluentLayoutItem Area="LayoutArea.Navigation">
<NavMenu />
</FluentLayoutItem>
<FluentLayoutItem Area="LayoutArea.Content" Class="main">
<div class="content">
@Body
</div>
</FluentLayoutItem>
<FluentLayoutItem Area="LayoutArea.Footer">
<div style="display: flex">
<FluentLink Href="https://www.fluentui-blazor.net" Target="LinkTarget.Blank" IconEnd="@(new Icons.Regular.Size16.ArrowExit())">
Documentation and demos
</FluentLink>
<FluentSpacer />
<FluentLink Href="https://learn.microsoft.com/en-us/aspnet/core/blazor" Target="LinkTarget.Blank" IconEnd="@(new Icons.Regular.Size16.ArrowExit())">
About Blazor
</FluentLink>
</div>
</FluentLayoutItem>
</FluentLayout>
<div id="blazor-error-ui" data-nosnippet>

View File

@@ -1,8 +0,0 @@
<FluentNav Id="main-menu" Width="260px">
<FluentNavItem Href="/" Match="NavLinkMatch.All" IconRest="@(new Icons.Regular.Size20.Home())" IconActive="@(new Icons.Filled.Size20.Home())">Home</FluentNavItem>
<FluentNavItem Href="counter" IconRest="@(new Icons.Regular.Size20.NumberSymbolSquare())" IconActive="@(new Icons.Filled.Size20.NumberSymbolSquare())">Counter</FluentNavItem>
<FluentNavItem Href="weather" IconRest="@(new Icons.Regular.Size20.WeatherPartlyCloudyDay())" IconActive="@(new Icons.Filled.Size20.WeatherPartlyCloudyDay())">Weather</FluentNavItem>
</FluentNav>
@code {
}