2023-07-26 13:47:01 +02:00

22 lines
397 B
TypeScript

import { ComponentChildren } from "preact";
export type Props = {
children: ComponentChildren;
title?: string;
name?: string;
description?: string;
};
export const MainLayout = ({ children }: Props) => {
return (
<>
<main
class="max-w-2xl mx-auto lg:max-w-4xl py-5"
style={{ fontFamily: "Work Sans" }}
>
{children}
</main>
</>
);
};