From edfaa1b01c4f50736a402a994fa1dd0ab6516c8d Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Wed, 12 Feb 2025 16:01:14 +0100 Subject: [PATCH] =?UTF-8?q?style:=20nouveau=20favicon=20plus=20lisible=20a?= =?UTF-8?q?vec=20un=20S=20stylis=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/favicon.svg | 16 ++++++++++++++++ public/manifest.json | 17 +++++++++++++++++ src/app/layout.tsx | 15 +++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 public/favicon.svg create mode 100644 public/manifest.json diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..7b4d24c --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/public/manifest.json b/public/manifest.json new file mode 100644 index 0000000..9bce1ea --- /dev/null +++ b/public/manifest.json @@ -0,0 +1,17 @@ +{ + "name": "StripStream", + "short_name": "StripStream", + "description": "A modern web reader for Komga", + "start_url": "/", + "display": "standalone", + "background_color": "#0F172A", + "theme_color": "#4F46E5", + "icons": [ + { + "src": "/favicon.svg", + "sizes": "32x32", + "type": "image/svg+xml", + "purpose": "any maskable" + } + ] +} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index a4ee3ce..b03b8f6 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -7,6 +7,21 @@ const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { title: "StripStream - Komga Reader", description: "A modern web reader for Komga", + icons: { + icon: [ + { + url: "/favicon.svg", + type: "image/svg+xml", + }, + ], + apple: [ + { + url: "/favicon.svg", + type: "image/svg+xml", + }, + ], + }, + manifest: "/manifest.json", }; // Composant client séparé pour le layout