|
| 1 | +--- |
| 2 | +interface Props { |
| 3 | + title: string; |
| 4 | + description: string; |
| 5 | + url?: string; |
| 6 | +} |
| 7 | +
|
| 8 | +const { title, description } = Astro.props; |
| 9 | +--- |
| 10 | + |
| 11 | +<!doctype html> |
| 12 | +<html lang="en"> |
| 13 | + <head> |
| 14 | + <meta charset="UTF-8" /> |
| 15 | + <meta name="description" content={description} /> |
| 16 | + <meta name="viewport" content="width=device-width" /> |
| 17 | + <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> |
| 18 | + <meta name="generator" content={Astro.generator} /> |
| 19 | + |
| 20 | + <!-- HTML Meta Tags --> |
| 21 | + <title>Welcome to Recursive Zero.</title> |
| 22 | + |
| 23 | + <!-- Facebook Meta Tags --> |
| 24 | + <meta property="og:url" content="https://www.recursivezero.com"> |
| 25 | + <meta property="og:type" content="website"> |
| 26 | + <meta property="og:title" content={title}> |
| 27 | + <meta property="og:description" content={description}> |
| 28 | + <meta property="og:image" content="logo_large"> |
| 29 | + |
| 30 | + <!-- Twitter Meta Tags --> |
| 31 | + <meta name="twitter:card" content="logo_large"> |
| 32 | + <meta property="twitter:domain" content="recursivezero.com"> |
| 33 | + <meta property="twitter:url" content="https://www.recursivezero.com"> |
| 34 | + <meta name="twitter:title" content={title}> |
| 35 | + <meta name="twitter:description" content={description}> |
| 36 | + <meta name="twitter:image" content="logo_large"> |
| 37 | + |
| 38 | + <title>{title}</title> |
| 39 | + </head> |
| 40 | + <body> |
| 41 | + <slot /> |
| 42 | + </body> |
| 43 | +</html> |
| 44 | +<style is:global> |
| 45 | + :root { |
| 46 | + --accent: 136, 58, 234; |
| 47 | + --accent-light: 224, 204, 250; |
| 48 | + --accent-dark: 49, 10, 101; |
| 49 | + --accent-gradient: linear-gradient( |
| 50 | + 45deg, |
| 51 | + rgb(var(--accent)), |
| 52 | + rgb(var(--accent-light)) 30%, |
| 53 | + white 60% |
| 54 | + ); |
| 55 | + } |
| 56 | + html { |
| 57 | + font-family: system-ui, sans-serif; |
| 58 | + background: #13151a; |
| 59 | + background-size: 224px; |
| 60 | + } |
| 61 | + code { |
| 62 | + font-family: |
| 63 | + Menlo, |
| 64 | + Monaco, |
| 65 | + Lucida Console, |
| 66 | + Liberation Mono, |
| 67 | + DejaVu Sans Mono, |
| 68 | + Bitstream Vera Sans Mono, |
| 69 | + Courier New, |
| 70 | + monospace; |
| 71 | + } |
| 72 | +</style> |
0 commit comments