mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 08:41:37 +00:00
18 lines
321 B
TypeScript
18 lines
321 B
TypeScript
import { ReactNode } from 'react';
|
|
|
|
export const revalidate = 600;
|
|
|
|
export default async function PageLayout({
|
|
children,
|
|
}: {
|
|
children: ReactNode;
|
|
}) {
|
|
return (
|
|
<>
|
|
<main className="w-full max-w-5xl px-4 mx-auto lg:px-0">
|
|
<div className="pb-4 text-sm">{children}</div>
|
|
</main>
|
|
</>
|
|
);
|
|
}
|