Changed font to mono, added footer with source-code, card use flex-wrap and should not overlap with anything else
This commit is contained in:
@ -2,16 +2,20 @@
|
||||
import { type Component } from "solid-js";
|
||||
import type { TitleProps } from "../types/interfaces";
|
||||
import Header from "./header";
|
||||
import Footer from "./footer";
|
||||
|
||||
export const Layout: Component<TitleProps> = ({ children, title, className }) => {
|
||||
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 } />
|
||||
<div class={ `bg-default-bg text-white min-h-screen relative font-mono ${ className }` }>
|
||||
<div class="container mx-auto">
|
||||
<Header className={ "py-3" } title={ title } />
|
||||
<main>
|
||||
{ children }
|
||||
<div class={ "pb-28" }>{ children }</div>
|
||||
<Footer />
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Layout;
|
||||
|
Reference in New Issue
Block a user