Update navigation and remove sidebar in MainLayout

Updated the `OnAfterRenderAsync` method in `Index.razor` to navigate to `/receiver` instead of `/reportviewer`. Removed the sidebar containing the `<NavMenu />` component in `MainLayout.razor` and adjusted the `<main>` tag to directly contain the content.
This commit is contained in:
2026-05-28 23:36:22 +02:00
parent 533d646211
commit 40c5e1d044
2 changed files with 2 additions and 6 deletions

View File

@@ -35,6 +35,6 @@
return; return;
await Task.Delay(1200); await Task.Delay(1200);
NavigationManager.NavigateTo("/reportviewer"); NavigationManager.NavigateTo("/receiver");
} }
} }

View File

@@ -2,11 +2,7 @@
@inherits LayoutComponentBase @inherits LayoutComponentBase
<div class="page"> <div class="page">
<div class="sidebar"> <main>
<NavMenu />
</div>
<main>
<div class="top-row px-4"> <div class="top-row px-4">
<a href="https://docs.microsoft.com/aspnet/" target="_blank">About</a> <a href="https://docs.microsoft.com/aspnet/" target="_blank">About</a>
</div> </div>