feat: init

This commit is contained in:
2023-07-26 13:47:01 +02:00
commit 8e461cea26
28 changed files with 732 additions and 0 deletions

View File

@ -0,0 +1,21 @@
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>
</>
);
};