Started with a simple homepage

This commit is contained in:
Martin Berg Alstad
2022-12-21 13:56:42 +01:00
parent 5e8aefe665
commit 6798840a6b
18 changed files with 297 additions and 149 deletions

View File

@ -0,0 +1,17 @@
/* @refresh reload */
import { type Component } from "solid-js";
import type { TitleProps } from "../types/interfaces";
import Header from "./header";
export const Layout: Component<TitleProps> = ({ children, title, className }) => {
return (
<div class={ `bg-default-bg text-white min-h-screen font-mono ${ className }` }>
<div class="container mx-auto debug">
<Header className={"my-3"} title={ title } />
<main>
{ children }
</main>
</div>
</div>
);
};