diff --git a/public/images/splash/splash-1170x2532.png b/public/images/splash/splash-1170x2532.png new file mode 100644 index 0000000..23fd387 Binary files /dev/null and b/public/images/splash/splash-1170x2532.png differ diff --git a/public/images/splash/splash-1179x2556.png b/public/images/splash/splash-1179x2556.png new file mode 100644 index 0000000..98b1725 Binary files /dev/null and b/public/images/splash/splash-1179x2556.png differ diff --git a/public/images/splash/splash-1284x2778.png b/public/images/splash/splash-1284x2778.png new file mode 100644 index 0000000..778b043 Binary files /dev/null and b/public/images/splash/splash-1284x2778.png differ diff --git a/public/images/splash/splash-1290x2796.png b/public/images/splash/splash-1290x2796.png new file mode 100644 index 0000000..20b3281 Binary files /dev/null and b/public/images/splash/splash-1290x2796.png differ diff --git a/public/images/splash/splash-1334x750.png b/public/images/splash/splash-1334x750.png new file mode 100644 index 0000000..8230fa9 Binary files /dev/null and b/public/images/splash/splash-1334x750.png differ diff --git a/public/images/splash/splash-1620x2160.png b/public/images/splash/splash-1620x2160.png new file mode 100644 index 0000000..a16e6de Binary files /dev/null and b/public/images/splash/splash-1620x2160.png differ diff --git a/public/images/splash/splash-1640x2360.png b/public/images/splash/splash-1640x2360.png new file mode 100644 index 0000000..3e6acf3 Binary files /dev/null and b/public/images/splash/splash-1640x2360.png differ diff --git a/public/images/splash/splash-1792x828.png b/public/images/splash/splash-1792x828.png new file mode 100644 index 0000000..3f6adf1 Binary files /dev/null and b/public/images/splash/splash-1792x828.png differ diff --git a/public/images/splash/splash-2048x1536.png b/public/images/splash/splash-2048x1536.png new file mode 100644 index 0000000..f7a1d7f Binary files /dev/null and b/public/images/splash/splash-2048x1536.png differ diff --git a/public/images/splash/splash-2160x1620.png b/public/images/splash/splash-2160x1620.png new file mode 100644 index 0000000..1a26877 Binary files /dev/null and b/public/images/splash/splash-2160x1620.png differ diff --git a/public/images/splash/splash-2208x1242.png b/public/images/splash/splash-2208x1242.png new file mode 100644 index 0000000..6566517 Binary files /dev/null and b/public/images/splash/splash-2208x1242.png differ diff --git a/public/images/splash/splash-2360x1640.png b/public/images/splash/splash-2360x1640.png new file mode 100644 index 0000000..83aaee4 Binary files /dev/null and b/public/images/splash/splash-2360x1640.png differ diff --git a/public/images/splash/splash-2388x1668.png b/public/images/splash/splash-2388x1668.png new file mode 100644 index 0000000..743c582 Binary files /dev/null and b/public/images/splash/splash-2388x1668.png differ diff --git a/public/images/splash/splash-2436x1125.png b/public/images/splash/splash-2436x1125.png new file mode 100644 index 0000000..9cca27d Binary files /dev/null and b/public/images/splash/splash-2436x1125.png differ diff --git a/public/images/splash/splash-2532x1170.png b/public/images/splash/splash-2532x1170.png new file mode 100644 index 0000000..898bf54 Binary files /dev/null and b/public/images/splash/splash-2532x1170.png differ diff --git a/public/images/splash/splash-2556x1179.png b/public/images/splash/splash-2556x1179.png new file mode 100644 index 0000000..ac63966 Binary files /dev/null and b/public/images/splash/splash-2556x1179.png differ diff --git a/public/images/splash/splash-2688x1242.png b/public/images/splash/splash-2688x1242.png new file mode 100644 index 0000000..47e4a7b Binary files /dev/null and b/public/images/splash/splash-2688x1242.png differ diff --git a/public/images/splash/splash-2732x2048.png b/public/images/splash/splash-2732x2048.png new file mode 100644 index 0000000..a467918 Binary files /dev/null and b/public/images/splash/splash-2732x2048.png differ diff --git a/public/images/splash/splash-2778x1284.png b/public/images/splash/splash-2778x1284.png new file mode 100644 index 0000000..aa76832 Binary files /dev/null and b/public/images/splash/splash-2778x1284.png differ diff --git a/public/images/splash/splash-2796x1290.png b/public/images/splash/splash-2796x1290.png new file mode 100644 index 0000000..d262e04 Binary files /dev/null and b/public/images/splash/splash-2796x1290.png differ diff --git a/scripts/generate-icons.js b/scripts/generate-icons.js index 12d3017..96eea24 100644 --- a/scripts/generate-icons.js +++ b/scripts/generate-icons.js @@ -11,14 +11,43 @@ const faviconPath = path.join(__dirname, "../public/favicon.png"); // Configuration des splashscreens pour différents appareils const splashScreens = [ - { width: 2048, height: 2732, name: "iPad Pro 12.9" }, // iPad Pro 12.9 - { width: 1668, height: 2388, name: "iPad Pro 11" }, // iPad Pro 11 - { width: 1536, height: 2048, name: "iPad Mini/Air" }, // iPad Mini, Air - { width: 1125, height: 2436, name: "iPhone X/XS" }, // iPhone X/XS - { width: 1242, height: 2688, name: "iPhone XS Max" }, // iPhone XS Max - { width: 828, height: 1792, name: "iPhone XR" }, // iPhone XR - { width: 750, height: 1334, name: "iPhone 8/SE" }, // iPhone 8, SE - { width: 1242, height: 2208, name: "iPhone 8 Plus" }, // iPhone 8 Plus + // iPad (portrait + landscape) + { width: 2048, height: 2732, name: "iPad Pro 12.9 portrait" }, + { width: 2732, height: 2048, name: "iPad Pro 12.9 landscape" }, + { width: 1668, height: 2388, name: "iPad Pro 11 portrait" }, + { width: 2388, height: 1668, name: "iPad Pro 11 landscape" }, + { width: 1536, height: 2048, name: "iPad Mini/Air portrait" }, + { width: 2048, height: 1536, name: "iPad Mini/Air landscape" }, + { width: 1620, height: 2160, name: "iPad 10.2 portrait" }, + { width: 2160, height: 1620, name: "iPad 10.2 landscape" }, + { width: 1640, height: 2360, name: "iPad Air 10.9 portrait" }, + { width: 2360, height: 1640, name: "iPad Air 10.9 landscape" }, + + // iPhone legacy + { width: 1125, height: 2436, name: "iPhone X/XS/11 Pro portrait" }, + { width: 2436, height: 1125, name: "iPhone X/XS/11 Pro landscape" }, + { width: 1242, height: 2688, name: "iPhone XS Max/11 Pro Max portrait" }, + { width: 2688, height: 1242, name: "iPhone XS Max/11 Pro Max landscape" }, + { width: 828, height: 1792, name: "iPhone XR/11 portrait" }, + { width: 1792, height: 828, name: "iPhone XR/11 landscape" }, + { width: 750, height: 1334, name: "iPhone 8/SE portrait" }, + { width: 1334, height: 750, name: "iPhone 8/SE landscape" }, + { width: 1242, height: 2208, name: "iPhone 8 Plus portrait" }, + { width: 2208, height: 1242, name: "iPhone 8 Plus landscape" }, + + // iPhone modern (12+) + { width: 1170, height: 2532, name: "iPhone 12/13/14 portrait" }, + { width: 2532, height: 1170, name: "iPhone 12/13/14 landscape" }, + { width: 1284, height: 2778, name: "iPhone 12/13/14 Pro Max portrait" }, + { width: 2778, height: 1284, name: "iPhone 12/13/14 Pro Max landscape" }, + { width: 1179, height: 2556, name: "iPhone 14 Pro portrait" }, + { width: 2556, height: 1179, name: "iPhone 14 Pro landscape" }, + { width: 1290, height: 2796, name: "iPhone 14/15 Pro Max portrait" }, + { width: 2796, height: 1290, name: "iPhone 14/15 Pro Max landscape" }, + { width: 1179, height: 2556, name: "iPhone 15 portrait" }, + { width: 2556, height: 1179, name: "iPhone 15 landscape" }, + { width: 1170, height: 2532, name: "iPhone 16/16e portrait" }, + { width: 2532, height: 1170, name: "iPhone 16/16e landscape" }, ]; async function generateSplashScreens() { diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 35eb971..096f19c 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -131,41 +131,121 @@ export default async function RootLayout({ children }: { children: React.ReactNo href="/images/splash/splash-2048x2732.png" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" /> + + + + + + + + + + + + + + + +