-
-
- Total Revenue
-
-
-
- $45,231.89
- +20.1% from last month
-
-
-
-
- Subscriptions
-
-
-
- +2350
- +180.1% from last month
-
-
-
-
- Sales
-
-
-
- +12,234
- +19% from last month
-
-
-
-
- Active Now
-
-
-
- +573
- +201 since last hour
-
-
+
+
Dashboard
+
+ {[...Array(6)].map((_, i) => (
+
+
Card {i + 1}
+
This is some placeholder content for Card {i + 1}.
+
+ ))}
)
diff --git a/src/app/(panels)/suite/doctor/layout.tsx b/src/app/(panels)/suite/doctor/layout.tsx
index 13a0ade..6c39b7d 100644
--- a/src/app/(panels)/suite/doctor/layout.tsx
+++ b/src/app/(panels)/suite/doctor/layout.tsx
@@ -1,19 +1,26 @@
-import { Sidebar } from "@/components/panel-ui/doctor/app-sidebar"
-import { Navbar } from "@/components/panel-ui/doctor/app-navbar"
+"use client"
-export default function DashboardLayout({
+import { useState } from "react"
+import Sidebar from "@/components/panel-ui/doctor/app-sidebar"
+import Navbar from "@/components/panel-ui/doctor/app-navbar"
+import { SidebarProvider } from "@/components/ui/sidebar"
+
+export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
+ const [isSidebarOpen, setIsSidebarOpen] = useState(true)
+
return (
-
-
-
+
+
+
- {children}
+
+ {children}
+
-
+
)
-}
-
+}
\ No newline at end of file
diff --git a/src/components/panel-ui/doctor/app-navbar.tsx b/src/components/panel-ui/doctor/app-navbar.tsx
index 46dcfc6..3f848f3 100644
--- a/src/components/panel-ui/doctor/app-navbar.tsx
+++ b/src/components/panel-ui/doctor/app-navbar.tsx
@@ -10,39 +10,49 @@ import {
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu"
+import { Menu } from "lucide-react"
+import { SidebarTrigger } from "@/components/ui/sidebar"
+
import { ModeToggle } from "@/components/theme-toggle"
-export function Navbar() {
+export default function Navbar() {
return (
-