mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
28 lines
710 B
TypeScript
28 lines
710 B
TypeScript
import clsx from "clsx";
|
|
import React from "react";
|
|
import { CommonFooter } from "./common-footer";
|
|
import { DocHeader } from "./doc-header";
|
|
import { DocSidebar } from "./doc-sidebar";
|
|
|
|
type Props = React.PropsWithChildren<{}>;
|
|
|
|
export const DocPageLayout = ({ children }: Props) => {
|
|
return (
|
|
<>
|
|
<DocHeader />
|
|
<div
|
|
className={clsx(
|
|
"flex items-start justify-start",
|
|
"w-full flex-1",
|
|
// "max-w-[1664px]",
|
|
"mx-auto",
|
|
)}
|
|
>
|
|
<DocSidebar />
|
|
{children}
|
|
</div>
|
|
<CommonFooter />
|
|
</>
|
|
);
|
|
};
|