style: add view data menu active dashboard
parent
cd3b026c2f
commit
6915106057
|
|
@ -1,4 +1,5 @@
|
|||
@{
|
||||
Layout = "_LayoutApp";
|
||||
ViewData["Title"] = "Dashboard";
|
||||
ViewData["DashboardActive"] = "menu-active";
|
||||
}
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
<ul class="menu menu-sidebar bg-base-100 text-base-content min-h-full w-80 p-4">
|
||||
<!-- Sidebar content here -->
|
||||
<li>
|
||||
<a class="text-gray-500 menu-active">
|
||||
<a href="@Url.Action("Index", "Dashboard")" class="text-gray-500 @ViewData["DashboardActive"]">
|
||||
<span class="icon icon-fill">analytics</span>
|
||||
Dashboard
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue