48 lines
1.3 KiB
TypeScript
48 lines
1.3 KiB
TypeScript
import { define } from "../utils.ts";
|
|
|
|
export default define.page(function ({ Component }) {
|
|
return (
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="/prism-material-dark.css" />
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
href="/favicon.png"
|
|
/>
|
|
<link rel="manifest" href="/site.webmanifest" />
|
|
<link
|
|
rel="preload"
|
|
href="/fonts/work-sans-v18-latin-regular.woff2"
|
|
as="font"
|
|
type="font/woff2"
|
|
/>
|
|
<link
|
|
rel="preload"
|
|
href="/fonts/work-sans-v18-latin-700.woff2"
|
|
as="font"
|
|
type="font/woff2"
|
|
/>
|
|
<link rel="stylesheet" href="/global.css" />
|
|
|
|
<meta name="msapplication-TileColor" content="#da532c" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="theme-color" content="#141218" />
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<style
|
|
dangerouslySetInnerHTML={{
|
|
__html: Deno.readTextFileSync("./static/global.css"),
|
|
}}
|
|
>
|
|
</style>
|
|
|
|
<title>Memorium</title>
|
|
</head>
|
|
<body>
|
|
<Component />
|
|
</body>
|
|
</html>
|
|
);
|
|
});
|