18 lines
362 B
TypeScript
18 lines
362 B
TypeScript
import { Sidebar } from "~/components/Sidebar";
|
|
|
|
export type LayoutProps = {
|
|
children: React.ReactNode;
|
|
};
|
|
|
|
export function Layout({ children }: LayoutProps) {
|
|
return (
|
|
<>
|
|
<Sidebar />
|
|
<main className="py-10 lg:pl-72">
|
|
<div className="px-4 sm:px-6 lg:px-8">
|
|
{children}
|
|
</div>
|
|
</main>
|
|
</>
|
|
);
|
|
}
|