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:
@@ -35,6 +35,6 @@
|
||||
return;
|
||||
|
||||
await Task.Delay(1200);
|
||||
NavigationManager.NavigateTo("/reportviewer");
|
||||
NavigationManager.NavigateTo("/receiver");
|
||||
}
|
||||
}
|
||||
@@ -2,11 +2,7 @@
|
||||
@inherits LayoutComponentBase
|
||||
|
||||
<div class="page">
|
||||
<div class="sidebar">
|
||||
<NavMenu />
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<main>
|
||||
<div class="top-row px-4">
|
||||
<a href="https://docs.microsoft.com/aspnet/" target="_blank">About</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user