35 lines
1,007 B
TypeScript
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>
|
|
);
|