server-landing-pages/src/_includes/layouts/main.tsx
Sam Therapy 338c145739
Change to lume
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-09-25 19:02:59 +02:00

35 lines
1,007 B
TypeScript

import { PageData } from "https://deno.land/x/lume@v1.11.4/core.ts";
import Favicon from "../../_components/favicon.tsx";
import Image from "../../_components/image.tsx";
export const layout = "layouts/_main.njk";
export default (data: PageData) => (
<html lang="en">
<head>
<title>{data.site.endpoint} Nameserver</title>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width" />
<Favicon char={data.body as string} />
{/* @ts-ignore */}
<link rel="stylesheet" href="../styles.css" inline />
</head>
<body>
<Image char={data.body as string} />
<footer>
<small>
<a href="https://git.froth.zone/sam/nameservers">
source
</a>
<small>
<br />
<br />
Contact <a href="https://froth.zone/sam">Sam</a>{" "}
if you want to use this nameserver as your own.
</small>
</small>
</footer>
</body>
</html>
);