Code Cleanup™

This commit is contained in:
2024-02-11 11:16:23 +01:00
parent 4b27eb76fe
commit 9fd8ddb9bd
62 changed files with 663 additions and 519 deletions

View File

@@ -2,8 +2,8 @@
import icon from "../images/logo.png";
import {getImage} from "astro:assets";
import {astroI18n} from "astro-i18n";
const { title, description } = Astro.props.frontmatter || Astro.props;
import { SEO } from "astro-seo";
const {title, description} = Astro.props.frontmatter || Astro.props;
import {SEO} from "astro-seo";
import "../../public/fonts/roboto/roboto.css";
@@ -17,24 +17,24 @@ const iconImage = await getImage({src: icon, height: 32, width: 32, format: "png
content="width=device-width, user-scalable=5, initial-scale=1.0, maximum-scale=5.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="icbm" content="52.370216;4.895168"/>
<link rel="icon" type="imgage/png" href={iconImage.src} />
<link rel="icon" type="imgage/png" href={iconImage.src}/>
<SEO
title={title}
description={description}
twitter={{
creator: "@chaoscaot"
creator: "@chaoscaot",
}}
languageAlternates={astroI18n.locales.map((locale) => ({
hrefLang: locale,
href: `/${locale}/`
href: `/${locale}/`,
}))}
/>
<slot name="head" />
<slot name="head"/>
</head>
<body class="dark:bg-zinc-800">
<slot />
<slot/>
</body>
</html>