diff --git a/astro.config.mjs b/astro.config.mjs index ccf8dec..6e75c55 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -19,6 +19,55 @@ export default defineConfig({ email: "mailto:iam@raphii.co", patreon: "https://patreon.com/Raphii", }, + favicon: "/favicon.ico", + head: [ + { + tag: "link", + attrs: { + rel: "icon", + type: "image/png", + href: "/favicon-96x96.png", + sizes: "96x96", + }, + }, + { + tag: "link", + attrs: { + rel: "icon", + type: "image/svg+xml", + href: "/favicon.svg", + }, + }, + { + tag: "link", + attrs: { + rel: "shortcut icon", + href: "/favicon.ico", + }, + }, + { + tag: "link", + attrs: { + rel: "apple-touch-icon", + sizes: "180x180", + href: "/apple-touch-icon.png", + }, + }, + { + tag: "meta", + attrs: { + name: "apple-mobile-web-app-title", + content: "raphii.co", + }, + }, + { + tag: "link", + attrs: { + rel: "manifest", + href: "/site.webmanifest", + }, + }, + ], sidebar: [ { label: "leadingNavLinks", diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png new file mode 100644 index 0000000..4adcfd0 Binary files /dev/null and b/public/apple-touch-icon.png differ diff --git a/public/favicon-96x96.png b/public/favicon-96x96.png new file mode 100644 index 0000000..e81eb3d Binary files /dev/null and b/public/favicon-96x96.png differ diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..bd7ffc6 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/favicon.svg b/public/favicon.svg deleted file mode 100644 index cba5ac1..0000000 --- a/public/favicon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/site.webmanifest b/public/site.webmanifest new file mode 100644 index 0000000..ec5e61e --- /dev/null +++ b/public/site.webmanifest @@ -0,0 +1,21 @@ +{ + "name": "raphii.co", + "short_name": "raphii.co", + "icons": [ + { + "src": "/web-app-manifest-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "/web-app-manifest-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ], + "theme_color": "#000000", + "background_color": "#000000", + "display": "standalone" +} \ No newline at end of file diff --git a/public/web-app-manifest-192x192.png b/public/web-app-manifest-192x192.png new file mode 100644 index 0000000..c7c9db1 Binary files /dev/null and b/public/web-app-manifest-192x192.png differ diff --git a/public/web-app-manifest-512x512.png b/public/web-app-manifest-512x512.png new file mode 100644 index 0000000..8a0386b Binary files /dev/null and b/public/web-app-manifest-512x512.png differ