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) {
|
2025-01-17 16:54:53 +01:00
|
|
|
const globalCss = Deno
|
|
|
|
.readTextFileSync("./static/global.css")
|
|
|
|
.replaceAll("\n", "");
|
2023-07-26 13:47:01 +02:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Head>
|
2025-01-17 16:54:53 +01:00
|
|
|
<link rel="stylesheet" href="/styles.css" />
|
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" />
|
|
|
|
<meta name="msapplication-TileColor" content="#da532c" />
|
|
|
|
<meta name="theme-color" content="#141218" />
|
2025-01-17 16:54:53 +01:00
|
|
|
<style>{globalCss}</style>
|
|
|
|
<title>app</title>
|
2023-07-26 13:47:01 +02:00
|
|
|
</Head>
|
|
|
|
<Component />
|
2025-01-17 16:54:53 +01:00
|
|
|
<script src="/thumbnails.js" type="module" async defer />
|
2023-07-26 13:47:01 +02:00
|
|
|
</>
|
|
|
|
);
|
|
|
|
}
|