From 79720cccc6c898c927242ece21ecbdb5d745423d Mon Sep 17 00:00:00 2001 From: dyzcdn Date: Sun, 21 Dec 2025 08:34:52 +0700 Subject: [PATCH] first commit --- app/Helpers/MenuHelper.php | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/app/Helpers/MenuHelper.php b/app/Helpers/MenuHelper.php index 11dcdc8..2c3afac 100644 --- a/app/Helpers/MenuHelper.php +++ b/app/Helpers/MenuHelper.php @@ -8,18 +8,26 @@ class MenuHelper { return [ [ - 'icon' => 'dashboard', 'name' => 'Dashboard', + 'icon' => 'dashboard', 'path' => '/dashboard', ], [ - 'icon' => 'calendar', + 'name' => 'Certificate', + 'icon' => 'certificate', + 'subItems' => [ + ['name' => 'List Certificate', 'path' => '/certificate', 'pro' => false], + ['name' => 'Add Certificate', 'path' => '/certificate/add', 'pro' => false], + ], + ], + [ 'name' => 'Calendar', + 'icon' => 'calendar', 'path' => '/calendar', ], [ - 'icon' => 'user-profile', 'name' => 'User Profile', + 'icon' => 'user-profile', 'path' => '/profile', ], [ @@ -51,16 +59,16 @@ class MenuHelper { return [ [ - 'icon' => 'charts', 'name' => 'Charts', + 'icon' => 'charts', 'subItems' => [ ['name' => 'Line Chart', 'path' => '/line-chart', 'pro' => false], ['name' => 'Bar Chart', 'path' => '/bar-chart', 'pro' => false] ], ], [ - 'icon' => 'ui-elements', 'name' => 'UI Elements', + 'icon' => 'ui-elements', 'subItems' => [ ['name' => 'Alerts', 'path' => '/alerts', 'pro' => false], ['name' => 'Avatar', 'path' => '/avatars', 'pro' => false], @@ -71,8 +79,8 @@ class MenuHelper ], ], [ - 'icon' => 'authentication', 'name' => 'Authentication', + 'icon' => 'authentication', 'subItems' => [ ['name' => 'Sign In', 'path' => '/signin', 'pro' => false], ['name' => 'Sign Up', 'path' => '/signup', 'pro' => false],