aboutsummaryrefslogtreecommitdiffstats
path: root/src/layouts/Layout.astro
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-10-17 16:32:05 -0700
committerPinapelz <yukais@pinapelz.com>2024-10-17 16:32:05 -0700
commit2e9b8df1517f863689c9229faba861603853e982 (patch)
tree7158116eeb882faa3cd9f0121e3cac5a8e768bb8 /src/layouts/Layout.astro
parent04b8b2e735189e50dd0ca7509c5122d628915c60 (diff)
add favicon
Diffstat (limited to 'src/layouts/Layout.astro')
-rw-r--r--src/layouts/Layout.astro120
1 files changed, 71 insertions, 49 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 3e2fdf4..8d6bb61 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -1,59 +1,81 @@
---
interface Props {
- title: string;
+ title: string;
}
const { title } = Astro.props;
-import Header from '../components/Header.astro';
+import Header from "../components/Header.astro";
---
<!doctype html>
<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="description" content="Welcome to my site. My vocabulary is volcano" />
- <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>
- <Header />
- <body>
- <slot />
- </body>
+ <head>
+ <meta charset="UTF-8" />
+ <meta
+ name="description"
+ content="Welcome to my site. My vocabulary is volcano"
+ />
+ <meta name="viewport" content="width=device-width" />
+ <link
+ rel="apple-touch-icon"
+ sizes="180x180"
+ href="/apple-touch-icon.png"
+ />
+ <link
+ rel="icon"
+ type="image/png"
+ sizes="32x32"
+ href="/favicon-32x32.png"
+ />
+ <link
+ rel="icon"
+ type="image/png"
+ sizes="16x16"
+ href="/favicon-16x16.png"
+ />
+ <link rel="manifest" href="/site.webmanifest" />
+ <meta name="generator" content={Astro.generator} />
+ <title>{title}</title>
+ </head>
+ <Header />
+ <body>
+ <slot />
+ </body>
+
+ <style is:global>
+ :root {
+ --accent: 204, 102, 102;
+ --accent-light: 255, 153, 153;
+ --accent-dark: 153, 0, 0;
+ --accent-gradient: linear-gradient(
+ 45deg,
+ rgb(var(--accent)),
+ rgb(var(--accent-light)) 30%,
+ white 60%
+ );
+ --accent-gradient-purp: linear-gradient(
+ 45deg,
+ rgb(139, 101, 194),
+ rgb(145, 108, 219) 30%,
+ rgb(230, 230, 250) 60%
+ );
+ }
+ html {
+ font-family: system-ui, sans-serif;
+ background: #13151a;
+ background-size: 224px;
+ }
+ code {
+ font-family:
+ Menlo,
+ Monaco,
+ Lucida Console,
+ Liberation Mono,
+ DejaVu Sans Mono,
+ Bitstream Vera Sans Mono,
+ Courier New,
+ monospace;
+ }
+ </style>
+
</html>
-<style is:global>
- :root {
- --accent: 204, 102, 102;
- --accent-light: 255, 153, 153;
- --accent-dark: 153, 0, 0;
- --accent-gradient: linear-gradient(
- 45deg,
- rgb(var(--accent)),
- rgb(var(--accent-light)) 30%,
- white 60%
- );
- --accent-gradient-purp: linear-gradient(
- 45deg,
- rgb(139, 101, 194),
- rgb(145, 108, 219) 30%,
- rgb(230, 230, 250) 60%
- );
- }
- html {
- font-family: system-ui, sans-serif;
- background: #13151a;
- background-size: 224px;
- }
- code {
- font-family:
- Menlo,
- Monaco,
- Lucida Console,
- Liberation Mono,
- DejaVu Sans Mono,
- Bitstream Vera Sans Mono,
- Courier New,
- monospace;
- }
-</style>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage