memorium/routes/_app.tsx

39 lines
1.1 KiB
TypeScript
Raw Normal View History

2025-01-06 19:01:19 +01:00
import { PageProps } from "$fresh/server.ts";
2023-07-26 13:47:01 +02:00
import { Head } from "$fresh/runtime.ts";
2025-01-06 19:01:19 +01:00
export default function App({ Component }: PageProps) {
const css = Deno.readTextFileSync("./static/global.css").replace("\n", "");
2023-07-26 13:47:01 +02:00
return (
<>
<Head>
<link href="/prism-material-dark.css" rel="stylesheet" />
2023-08-09 16:02:28 +02:00
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
/>
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
2023-12-14 13:49:38 +01:00
<link rel="stylesheet" href="/styles.css" />
2023-08-09 16:02:28 +02:00
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#141218" />
<script src="/thumbnails.js" type="module"></script>
2025-01-06 19:01:19 +01:00
<style>{css}</style>
2023-07-26 13:47:01 +02:00
</Head>
<Component />
</>
);
}