aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/android-chrome-192x192.pngbin0 -> 7853 bytes
-rw-r--r--public/android-chrome-512x512.pngbin0 -> 25057 bytes
-rw-r--r--public/apple-touch-icon.pngbin0 -> 10238 bytes
-rw-r--r--public/favicon-16x16.pngbin0 -> 719 bytes
-rw-r--r--public/favicon-32x32.pngbin0 -> 1547 bytes
-rw-r--r--public/favicon.icobin0 -> 34494 bytes
-rw-r--r--public/favicon.svg9
-rw-r--r--public/site.webmanifest19
-rw-r--r--src/env.d.ts1
-rw-r--r--src/layouts/Layout.astro120
10 files changed, 91 insertions, 58 deletions
diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png
new file mode 100644
index 0000000..cce37ec
--- /dev/null
+++ b/public/android-chrome-192x192.png
Binary files differ
diff --git a/public/android-chrome-512x512.png b/public/android-chrome-512x512.png
new file mode 100644
index 0000000..05a89d0
--- /dev/null
+++ b/public/android-chrome-512x512.png
Binary files differ
diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png
new file mode 100644
index 0000000..3262cd2
--- /dev/null
+++ b/public/apple-touch-icon.png
Binary files differ
diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png
new file mode 100644
index 0000000..fedb6e8
--- /dev/null
+++ b/public/favicon-16x16.png
Binary files differ
diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png
new file mode 100644
index 0000000..bc27f04
--- /dev/null
+++ b/public/favicon-32x32.png
Binary files differ
diff --git a/public/favicon.ico b/public/favicon.ico
new file mode 100644
index 0000000..a73a65f
--- /dev/null
+++ b/public/favicon.ico
Binary files differ
diff --git a/public/favicon.svg b/public/favicon.svg
deleted file mode 100644
index f157bd1..0000000
--- a/public/favicon.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 128 128">
- <path d="M50.4 78.5a75.1 75.1 0 0 0-28.5 6.9l24.2-65.7c.7-2 1.9-3.2 3.4-3.2h29c1.5 0 2.7 1.2 3.4 3.2l24.2 65.7s-11.6-7-28.5-7L67 45.5c-.4-1.7-1.6-2.8-2.9-2.8-1.3 0-2.5 1.1-2.9 2.7L50.4 78.5Zm-1.1 28.2Zm-4.2-20.2c-2 6.6-.6 15.8 4.2 20.2a17.5 17.5 0 0 1 .2-.7 5.5 5.5 0 0 1 5.7-4.5c2.8.1 4.3 1.5 4.7 4.7.2 1.1.2 2.3.2 3.5v.4c0 2.7.7 5.2 2.2 7.4a13 13 0 0 0 5.7 4.9v-.3l-.2-.3c-1.8-5.6-.5-9.5 4.4-12.8l1.5-1a73 73 0 0 0 3.2-2.2 16 16 0 0 0 6.8-11.4c.3-2 .1-4-.6-6l-.8.6-1.6 1a37 37 0 0 1-22.4 2.7c-5-.7-9.7-2-13.2-6.2Z" />
- <style>
- path { fill: #000; }
- @media (prefers-color-scheme: dark) {
- path { fill: #FFF; }
- }
- </style>
-</svg>
diff --git a/public/site.webmanifest b/public/site.webmanifest
new file mode 100644
index 0000000..1e4db68
--- /dev/null
+++ b/public/site.webmanifest
@@ -0,0 +1,19 @@
+{
+ "name": "",
+ "short_name": "",
+ "icons": [
+ {
+ "src": "/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "/android-chrome-512x512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#FFFFFF",
+ "background_color": "#FFFFFF",
+ "display": "standalone"
+ } \ No newline at end of file
diff --git a/src/env.d.ts b/src/env.d.ts
index f964fe0..acef35f 100644
--- a/src/env.d.ts
+++ b/src/env.d.ts
@@ -1 +1,2 @@
+/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />
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