From 9684a1804673222d919aae68d7536712a700ab28 Mon Sep 17 00:00:00 2001 From: Leo dev Date: Mon, 17 Feb 2025 16:06:11 +0100 Subject: [PATCH] ui update --- src/app/dashboard/page.tsx | 2 +- src/components/accountStatus.tsx | 2 +- src/components/app.tsx | 43 +++++++++++++++++++++----------- 3 files changed, 30 insertions(+), 17 deletions(-) diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index 6a8bbd1..04c582b 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -40,7 +40,7 @@ export default async function Dashboard() {
-
+
Account status - + {accounts.map((account, i) => (
{ diff --git a/src/components/app.tsx b/src/components/app.tsx index 291e8a0..813e4ac 100644 --- a/src/components/app.tsx +++ b/src/components/app.tsx @@ -8,6 +8,7 @@ import { SidebarMenu, SidebarMenuItem, SidebarMenuButton, + SidebarFooter, } from '@/components/ui/sidebar'; import { Calendar, LayoutDashboardIcon, Settings } from 'lucide-react'; @@ -25,6 +26,9 @@ const items = [ url: '/calendar', icon: Calendar, }, +]; + +const footer = [ { title: 'Settings', url: '/settings', @@ -35,9 +39,9 @@ const items = [ export default function App({ children }: { children?: any }) { return (
-
+
- + @@ -45,25 +49,34 @@ export default function App({ children }: { children?: any }) { - {items.map((item) => ( - - - - - - {item.title} - - - + {items.map((item, i) => ( + + + + ))} + + + {footer.map((item, i) => ( + + + + + + ))} + +