This repository has been archived on 2025-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
Files
old.martials.no/src/components/layout.tsx
Martin Berg Alstad 0528645838 Updated dependencies.
Added prettier and formatted.
Fixed bug causing back button to not show at all times.
2024-02-25 00:18:02 +01:00

19 lines
512 B
TypeScript

/* @refresh reload */
import { type Component } from "solid-js"
import Header from "./header"
import Footer from "./footer"
const Layout: Component<TitleProps> = ({ children, title, className }) => (
<div class={`relative min-h-screen bg-default-bg font-mono text-white ${className}`}>
<div class="container mx-auto">
<Header className={"py-3"} title={title} />
<main>
<div class={"pb-28"}>{children}</div>
<Footer />
</main>
</div>
</div>
)
export default Layout