diff options
| author | seth <[email protected]> | 2024-02-12 20:29:15 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-02-13 00:24:08 -0500 |
| commit | 2cbc22348ef038181e1dc89635a3be005604a4ca (patch) | |
| tree | 33a33ffe0203b730078d01c5d7d3951239619ca9 /src/components/Head.astro | |
| parent | 05780c6b2d8b184122a32095c50363a6c8617d64 (diff) | |
back to astro
Diffstat (limited to 'src/components/Head.astro')
| -rw-r--r-- | src/components/Head.astro | 23 |
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> |
