forked from RiseUP/riseup-squad20
20 lines
486 B
TypeScript
20 lines
486 B
TypeScript
import type React from "react"
|
|
import { Sidebar } from "@/components/dashboard/sidebar"
|
|
import { DashboardHeader } from "@/components/dashboard/header"
|
|
|
|
export default function DashboardLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<div className="min-h-screen bg-background flex">
|
|
<Sidebar />
|
|
<div className="flex-1 flex flex-col">
|
|
<DashboardHeader />
|
|
<main className="flex-1 p-6">{children}</main>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|