Samuel Shuert | a42ca96 | 2024-04-27 16:13:23 -0400 | [diff] [blame] | 1 | --- |
| 2 | interface Props { |
| 3 | title: string; |
| 4 | } |
| 5 | |
| 6 | const { title } = Astro.props; |
| 7 | --- |
| 8 | |
| 9 | <!doctype html> |
| 10 | <html lang="en"> |
| 11 | <head> |
| 12 | <meta charset="UTF-8" /> |
| 13 | <meta name="description" content="Samuel Shuert's main site" /> |
| 14 | <meta name="viewport" content="width=device-width" /> |
| 15 | <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> |
| 16 | <meta name="generator" content={Astro.generator} /> |
| 17 | <title>{title}</title> |
| 18 | </head> |
| 19 | <body class="bg-mantle flex justify-center"> |
| 20 | <main class="flex justify-center my-4 mx-4 w-full flex-col gap-2 lg:w-[1024px]"> |
| 21 | <slot /> |
| 22 | </main> |
| 23 | </body> |
| 24 | </html> |
| 25 | <style is:global> |
| 26 | @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap'); |
| 27 | :root { |
| 28 | font-family: 'Fira Code', sans-serif; |
| 29 | } |
| 30 | </style> |