summaryrefslogtreecommitdiff
path: root/src/components/Head.astro
diff options
context:
space:
mode:
authorseth <[email protected]>2024-10-09 10:59:13 -0400
committerGitHub <[email protected]>2024-10-09 10:59:13 -0400
commitd17bca56238e9ca326d60e58230d0d354f23bfe8 (patch)
tree12aee4c37a1490914e6307ce1b0023be2df93105 /src/components/Head.astro
parent7d6495399d5e1ba429a339de1c3a00f121e89305 (diff)
back to astro for hopefully the last time (#146)
Diffstat (limited to 'src/components/Head.astro')
-rw-r--r--src/components/Head.astro22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/components/Head.astro b/src/components/Head.astro
new file mode 100644
index 0000000..d355012
--- /dev/null
+++ b/src/components/Head.astro
@@ -0,0 +1,22 @@
+---
+import "@styles/style.scss";
+import "@fontsource/noto-sans";
+import notoSansWoff2 from "@fontsource/noto-sans/files/noto-sans-latin-400-normal.woff2";
+
+const { title, description } = Astro.props;
+---
+
+<head>
+ <meta charset="UTF-8" />
+ <title>{title || "Getchoo's Website"}</title>
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
+ <meta name="description" content={description || "guzzle guzzle"} />
+ <link
+ rel="preload"
+ as="font"
+ type="font/woff2"
+ href={notoSansWoff2}
+ crossorigin="anonymous"
+ />
+ <link rel="sitemap" href="/sitemap-index.xml" />
+</head>