From 868eaa5e3d130cadc95dfdd631ba0d589f4e53cb Mon Sep 17 00:00:00 2001 From: echo Date: Sat, 13 Dec 2025 03:26:30 +0100 Subject: [PATCH] sidebar autohides --- apps/admin/data/fitai.db | Bin 69632 -> 69632 bytes apps/admin/next-env.d.ts | 2 +- apps/admin/src/app/layout.tsx | 2 +- apps/admin/src/app/page.tsx | 5 ++-- .../analytics/AnalyticsDashboard.tsx | 4 +-- apps/admin/src/components/ui/Sidebar.tsx | 24 +++++++++++------- apps/mobile/src/config/api.ts | 2 +- mise.toml | 2 ++ 8 files changed, 24 insertions(+), 17 deletions(-) create mode 100644 mise.toml diff --git a/apps/admin/data/fitai.db b/apps/admin/data/fitai.db index 6dcb3a4f6b607ec3460b9aada48b6f9a6918d939..5fbc56436d81d8ac9f6d8884bac6b03da2d4e2ac 100644 GIT binary patch delta 120 zcmZozz|ydQWr8%L^h6nFM(K?S3;Fr^>KRygH!<)j@H_H7;oY=ZP+$=+PYw&0ud}o~ zue>A+%j80Rg~_YsloSF|ON#Q#inB8f%nghzO^hwfl5;Xs^GY(UL(gYg=S-fgAQ#WW Szl}-vbMtDs(2oGS7a|$} delta 70 zcmV-M0J;Bwpag)R1dtm68j&1B0UEJjp$`uarT_#EAOH>^4?zy(4u7)|AP^3dARb=~ cV+0CKLmM9r02u@XlW{K~linR7v&|ke@ok|JIsgCw diff --git a/apps/admin/next-env.d.ts b/apps/admin/next-env.d.ts index 9edff1c..c4b7818 100644 --- a/apps/admin/next-env.d.ts +++ b/apps/admin/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -import "./.next/types/routes.d.ts"; +import "./.next/dev/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/apps/admin/src/app/layout.tsx b/apps/admin/src/app/layout.tsx index 8ae151c..21ff7f7 100644 --- a/apps/admin/src/app/layout.tsx +++ b/apps/admin/src/app/layout.tsx @@ -28,7 +28,7 @@ export default function RootLayout({
-
+
{children}
diff --git a/apps/admin/src/app/page.tsx b/apps/admin/src/app/page.tsx index a0d682a..eae9251 100644 --- a/apps/admin/src/app/page.tsx +++ b/apps/admin/src/app/page.tsx @@ -87,12 +87,11 @@ export default function Home() { /> -
-
+
+

Recent Activity

-

Quick Analytics

diff --git a/apps/admin/src/components/analytics/AnalyticsDashboard.tsx b/apps/admin/src/components/analytics/AnalyticsDashboard.tsx index 9410bc1..ba99415 100644 --- a/apps/admin/src/components/analytics/AnalyticsDashboard.tsx +++ b/apps/admin/src/components/analytics/AnalyticsDashboard.tsx @@ -73,7 +73,7 @@ export function AnalyticsDashboard() { } return ( -
+

Analytics Dashboard

{/* Key Metrics */} @@ -143,4 +143,4 @@ export function AnalyticsDashboard() {
) -} \ No newline at end of file +} diff --git a/apps/admin/src/components/ui/Sidebar.tsx b/apps/admin/src/components/ui/Sidebar.tsx index 8332f86..1d2340c 100644 --- a/apps/admin/src/components/ui/Sidebar.tsx +++ b/apps/admin/src/components/ui/Sidebar.tsx @@ -65,9 +65,9 @@ export function Sidebar() { ]; return ( -