diff options
| author | Alam Guardin <alamguardin@gmail.com> | 2024-08-05 21:11:05 -0500 |
|---|---|---|
| committer | Alam Guardin <alamguardin@gmail.com> | 2024-08-05 21:11:05 -0500 |
| commit | 989c8d6e947c56f0241a169da02ba2558653a4b0 (patch) | |
| tree | bfe0d84679bb80b0699823383b88185402bbed05 /src/layouts | |
init commit
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/Layout.astro | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro new file mode 100644 index 0000000..1810971 --- /dev/null +++ b/src/layouts/Layout.astro @@ -0,0 +1,50 @@ +--- +interface Props { + title: string; +} + +const { title } = Astro.props; +--- + +<!doctype html> +<html lang="en"> + <head> + <meta charset="UTF-8" /> + <meta name="description" content="Astro description" /> + <meta name="viewport" content="width=device-width" /> + <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> + <meta name="generator" content={Astro.generator} /> + <title>{title}</title> + </head> + <body> + <slot /> + </body> +</html> +<style is:global> + :root { + --accent: 136, 58, 234; + --accent-light: 224, 204, 250; + --accent-dark: 49, 10, 101; + --accent-gradient: linear-gradient( + 45deg, + rgb(var(--accent)), + rgb(var(--accent-light)) 30%, + white 60% + ); + } + html { + font-family: system-ui, sans-serif; + background: #13151a; + } + code { + font-family: + Menlo, + Monaco, + Lucida Console, + Liberation Mono, + DejaVu Sans Mono, + Bitstream Vera Sans Mono, + Courier New, + monospace; + } +</style> |
