feat: better layout in a lot of places

This commit is contained in:
2023-08-02 01:58:03 +02:00
parent ff3e7f6667
commit 3cfa2274a8
23 changed files with 208 additions and 110 deletions

12
components/Grid.tsx Normal file
View File

@@ -0,0 +1,12 @@
import { ComponentChildren } from "preact";
export const Grid = ({ children }: { children: ComponentChildren }) => {
return (
<div
class="grid gap-4 py-6"
style={{ gridTemplateColumns: "repeat(auto-fit, minmax(200px, 1fr))" }}
>
{children}
</div>
);
};