Fix MainLayout and NavMenu1: add proper namespaces, remove shadow from navbar

This commit is contained in:
Saidamin Kattan
2026-08-08 18:04:58 +03:00
parent a003b2770c
commit 4c486a7451
2 changed files with 3 additions and 27 deletions
+2 -26
View File
@@ -1,32 +1,8 @@
@inherits LayoutComponentBase
@namespace LayoutLib
@using Common
@using LayoutLib.Layout.Components
@using Common.RCL.Components
<DaisyToastContainer />
<NavMenu1 />
@Body
@code {
}
@* <div class="page">
<div class="sidebar">
<NavMenu />
</div>
<main>
<div class="top-row px-4">
<a href="https://learn.microsoft.com/aspnet/core/" target="_blank">About</a>
</div>
<article class="content px-4">
@Body
</article>
</main>
</div> *@
+1 -1
View File
@@ -2,7 +2,7 @@
@using Common
@inject IStringLocalizer<SharedRes> Loc
<header class="navbar w-full bg-transparent shadow-lg absolute z-30">
<header class="navbar w-full bg-transparent absolute z-30">
<nav class="navbar-start bg-transparent ">
<a class="btn btn-ghost text-xl font-bold text-accent">@Loc["MassTech"]</a>
</nav>