diff --git a/app/layout.tsx b/app/layout.tsx deleted file mode 100644 index 7559784..0000000 --- a/app/layout.tsx +++ /dev/null @@ -1,65 +0,0 @@ -
- {/* ... existing meta tags ... */} - - {/* Splashscreens pour iOS */} - - - - {/* iPad Pro 12.9" */} - - - {/* iPad Pro 11" */} - - - {/* iPad Mini, Air */} - - - {/* iPhone X/XS */} - - - {/* iPhone XS Max */} - - - {/* iPhone XR */} - - - {/* iPhone 8, SE */} - - - {/* iPhone 8 Plus */} - - - {/* ... existing code ... */} -; diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 78c5a23..c5c8087 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -6,13 +6,28 @@ const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { title: "StripStream - Komga Reader", - description: "A modern web reader for Komga", + description: "Votre bibliothèque numérique pour lire vos BD, mangas et comics préférés", + manifest: "/manifest.json", + themeColor: "#4F46E5", + appleWebApp: { + capable: true, + statusBarStyle: "default", + title: "StripStream", + }, icons: { icon: [ { url: "/favicon.svg", type: "image/svg+xml", }, + { url: "/images/icons/icon-72x72.png", sizes: "72x72", type: "image/png" }, + { url: "/images/icons/icon-96x96.png", sizes: "96x96", type: "image/png" }, + { url: "/images/icons/icon-128x128.png", sizes: "128x128", type: "image/png" }, + { url: "/images/icons/icon-144x144.png", sizes: "144x144", type: "image/png" }, + { url: "/images/icons/icon-152x152.png", sizes: "152x152", type: "image/png" }, + { url: "/images/icons/icon-192x192.png", sizes: "192x192", type: "image/png" }, + { url: "/images/icons/icon-384x384.png", sizes: "384x384", type: "image/png" }, + { url: "/images/icons/icon-512x512.png", sizes: "512x512", type: "image/png" }, ], apple: [ { @@ -32,11 +47,26 @@ export const metadata: Metadata = { }, ], }, - manifest: "/manifest.json", - appleWebApp: { - capable: true, - statusBarStyle: "default", - title: "StripStream", + viewport: { + width: "device-width", + initialScale: 1, + maximumScale: 1, + userScalable: false, + }, + applicationName: "StripStream", + generator: "Next.js", + keywords: ["comics", "manga", "bd", "reader", "komga", "stripstream"], + authors: [{ name: "Julien Froidefond" }], + colorScheme: "dark light", + formatDetection: { + telephone: false, + }, + other: { + "mobile-web-app-capable": "yes", + "apple-mobile-web-app-capable": "yes", + "apple-mobile-web-app-status-bar-style": "black-translucent", + "msapplication-TileColor": "#4F46E5", + "msapplication-tap-highlight": "no", }, }; @@ -46,6 +76,49 @@ import ClientLayout from "@/components/layout/ClientLayout"; export default function RootLayout({ children }: { children: React.ReactNode }) { return ( + + {/* Splashscreens pour iOS */} + + + + + + + + ++ Désolé, la page que vous recherchez n'existe pas ou a été déplacée. +
+ + Retour à l'accueil + +