wip: added global layout, added posts route
This commit is contained in:
18
frontend/routes/_layout.tsx
Normal file
18
frontend/routes/_layout.tsx
Normal 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>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user