Manuel Bustillo
501bb3a81a
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m12s
Add copyright notice / copyright_notice (pull_request) Successful in 1m32s
Build Nginx-based docker image / build-static-assets (push) Successful in 6m2s
14 lines
489 B
TypeScript
14 lines
489 B
TypeScript
/* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
|
|
|
|
import SideNav from '@/app/ui/dashboard/sidenav';
|
|
|
|
export default function Layout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<div className="flex h-screen flex-col md:flex-row md:overflow-hidden">
|
|
<div className="w-full flex-none md:w-64">
|
|
<SideNav />
|
|
</div>
|
|
<div data-testid="main-container" className="flex-grow p-6 md:overflow-y-auto md:p-12">{children}</div>
|
|
</div>
|
|
);
|
|
} |