mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 08:41:37 +00:00
20 lines
351 B
TypeScript
20 lines
351 B
TypeScript
import clsx from 'clsx';
|
|
import { ReactNode } from 'react';
|
|
|
|
const Layout = ({ children }: { children: ReactNode }) => {
|
|
return (
|
|
<>
|
|
<main
|
|
className={clsx(
|
|
'flex-1 max-w-4xl px-8 py-8 mx-auto',
|
|
'lg:px-0 w-full flex-1',
|
|
)}
|
|
>
|
|
{children}
|
|
</main>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default Layout;
|