layout fixes
This commit is contained in:
21
src/app/(panels)/layout.tsx
Normal file
21
src/app/(panels)/layout.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
"use client"
|
||||
|
||||
import { ThemeProvider } from '@/components/theme-provider';
|
||||
|
||||
import '../globals.css'
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>
|
||||
<ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange>
|
||||
<main suppressHydrationWarning>{children}</main>
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
10
src/app/(panels)/suite/doctor/dashboard/page.tsx
Normal file
10
src/app/(panels)/suite/doctor/dashboard/page.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
"use client"
|
||||
|
||||
|
||||
export default function DoctorDashboard() {
|
||||
return (
|
||||
<section>
|
||||
<h1>Doctor Dashboard</h1>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
16
src/app/(panels)/suite/doctor/layout.tsx
Normal file
16
src/app/(panels)/suite/doctor/layout.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
"use client"
|
||||
|
||||
import { AppSidebar } from "@/components/panel-ui/app-sidebar"
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<main className="w-full" suppressHydrationWarning>
|
||||
<AppSidebar />
|
||||
{children}
|
||||
</main>
|
||||
)
|
||||
}
|
||||
11
src/app/(panels)/suite/patient/layout.tsx
Normal file
11
src/app/(panels)/suite/patient/layout.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
"use client"
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<section>{children}</section>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user