From 8da3f6fac43459269b8946010f67bc0a51e410e8 Mon Sep 17 00:00:00 2001 From: Novy San87 Date: Thu, 6 Aug 2026 22:40:38 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20icon=20sidebar=20wali=20=E2=80=94=20daft?= =?UTF-8?q?arkan=20house-user/clipboard-user/megaphone=20ke=20mapping=20na?= =?UTF-8?q?v-item=20(sebelumnya=20jatuh=20ke=20default=20circle)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/components/nav-item.blade.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/views/components/nav-item.blade.php b/resources/views/components/nav-item.blade.php index da31fa5..f050018 100644 --- a/resources/views/components/nav-item.blade.php +++ b/resources/views/components/nav-item.blade.php @@ -28,6 +28,9 @@ $faIcons = [ 'lock' => 'fa-solid fa-lock', 'hand-holding-heart' => 'fa-solid fa-hand-holding-heart', 'chalkboard-user' => 'fa-solid fa-chalkboard-user', + 'house-user' => 'fa-solid fa-house-user', + 'clipboard-user' => 'fa-solid fa-clipboard-user', + 'megaphone' => 'fa-solid fa-megaphone', ]; $faClass = $faIcons[$icon] ?? 'fa-solid fa-circle'; @@ -52,6 +55,9 @@ $iconColors = [ 'lock' => ['active' => 'text-yellow-600', 'inactive' => 'text-yellow-400/60 group-hover:text-yellow-500'], 'hand-holding-heart' => ['active' => 'text-amber-600', 'inactive' => 'text-amber-400/60 group-hover:text-amber-500'], 'chalkboard-user' => ['active' => 'text-emerald-600', 'inactive' => 'text-emerald-400/60 group-hover:text-emerald-500'], + 'house-user' => ['active' => 'text-teal-600', 'inactive' => 'text-teal-400/60 group-hover:text-teal-500'], + 'clipboard-user' => ['active' => 'text-sky-600', 'inactive' => 'text-sky-400/60 group-hover:text-sky-500'], + 'megaphone' => ['active' => 'text-rose-600', 'inactive' => 'text-rose-400/60 group-hover:text-rose-500'], ]; $ic = $iconColors[$icon] ?? ['active' => 'text-blue-600', 'inactive' => 'text-gray-400 group-hover:text-gray-600']; $iconClass = $isActive ? 'text-white' : $ic['inactive'];