feat : add front-end using shad cn
This commit is contained in:
20
frontend/src/components/layout/DashboardLayout.tsx
Normal file
20
frontend/src/components/layout/DashboardLayout.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import Sidebar from "./Sidebar"
|
||||
|
||||
export default function DashboardLayout({children}:{children:React.ReactNode}){
|
||||
|
||||
return(
|
||||
|
||||
<div className="flex">
|
||||
|
||||
<Sidebar/>
|
||||
|
||||
<div className="flex-1 p-6 bg-slate-50 min-h-screen">
|
||||
|
||||
{children}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user