style: change to attr asp for redirect menu

main
Yuri Dimas 2025-10-20 23:21:14 +07:00
parent bd58d66f6c
commit 9460c94d1c
No known key found for this signature in database
GPG Key ID: 4A421F9108FB5D2C
1 changed files with 4 additions and 4 deletions

View File

@ -20,13 +20,13 @@
@if (currentArea == "Sudin")
{
<li>
<a href="@Url.Action("Index","Dashboard")" class="w-full rounded-full @ViewData["DashboardActive"]">
<a asp-area="Sudin" asp-action="Index" asp-controller="Dashboard" class="w-full rounded-full @(controller == "Dashboard" ? "menu-active" : "")">
<i class="ph ph-gauge me-2 text-lg"></i>
Dashboard
</a>
</li>
<li>
<a href="@Url.Action("Index","DataBankSampah")" class="rounded-full @ViewData["DataBankSampahActive"]">
<a asp-area="Sudin" asp-action="Index" asp-controller="DataBankSampah" class="rounded-full @(controller == "DataBankSampah" ? "menu-active" : "")">
<i class="ph ph-house-line me-2 text-lg"></i>
Data Bank Sampah
</a>
@ -38,13 +38,13 @@
</a>
</li>
<li>
<a href="@Url.Action("Index","DataOfftaker")" class="rounded-full @ViewData["DataOfftakerActive"]">
<a asp-area="Sudin" asp-action="Index" asp-controller="DataOfftaker" class="rounded-full @(controller == "DataOfftaker" ? "menu-active" : "")">
<i class="ph ph-read-cv-logo me-2 text-lg"></i>
Data Offtaker
</a>
</li>
<li>
<a href="@Url.Action("Index","TransaksiLaporan")" class="rounded-full @ViewData["TransaksiLaporanActive"]">
<a asp-area="Sudin" asp-action="Index" asp-controller="TransaksiLaporan" class="rounded-full @(controller == "TransaksiLaporan" ? "menu-active" : "")">
<i class="ph ph-database me-2 text-lg"></i>
Transaksi Laporan
</a>