wip: added global layout, added posts route

This commit is contained in:
2024-10-10 16:16:55 -04:00
parent 1a480b3cf9
commit a42f827cf7
14 changed files with 126 additions and 183 deletions

View File

@ -0,0 +1,18 @@
import { LayoutProps } from "$fresh/server.ts";
import Footer from "../components/Footer.tsx";
import Header from "../components/Header.tsx";
export default function Layout(props: LayoutProps) {
return (
<html lang="en-us">
<head>
<title>Wyatt J Miller | Home</title>
<meta name="description" content="Wyatt J. Miller" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<Header />
<props.Component />
<Footer />
</html>
);
}