summaryrefslogtreecommitdiff
path: root/src/components/Head.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Head.astro')
-rw-r--r--src/components/Head.astro23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/components/Head.astro b/src/components/Head.astro
new file mode 100644
index 0000000..f2f7835
--- /dev/null
+++ b/src/components/Head.astro
@@ -0,0 +1,23 @@
+---
+import "@fontsource-variable/noto-sans";
+import "@fontsource/noto-sans-mono";
+const { title, description } = Astro.props;
+---
+
+<head>
+ <meta charset="UTF-8" />
+ <title>{title}</title>
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
+ <meta name="description" content={description} />
+ <link rel="sitemap" href="/sitemap-index.xm" />
+</head>
+<style is:global>
+ a {
+ text-decoration: underline;
+ @apply text-blue;
+ }
+
+ h1 {
+ @apply text-3xl md:text-4xl;
+ }
+</style>