From cf072255a0aac961229af9177fd74da4a1ac332c Mon Sep 17 00:00:00 2001 From: Ardeman Date: Sun, 23 Feb 2025 12:39:52 +0800 Subject: [PATCH] feat: enhance sidebar layout with improved styling and hover effects --- app/layouts/admin/sidebar.tsx | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/app/layouts/admin/sidebar.tsx b/app/layouts/admin/sidebar.tsx index 947f409..654318c 100644 --- a/app/layouts/admin/sidebar.tsx +++ b/app/layouts/admin/sidebar.tsx @@ -4,21 +4,26 @@ import { MENU } from './menu' export const Sidebar = () => { return ( -
+
{MENU.map(({ group, items }) => ( - <> -
{group}
+
+
+ {group} +
{items.map(({ title, url, icon: Icon }) => ( - - {title} + + {title} ))} - +
))}
)