diff --git a/public/images/Gemini_Generated_Image_wyfsoiwyfsoiwyfs.png b/public/images/Gemini_Generated_Image_wyfsoiwyfsoiwyfs.png new file mode 100644 index 0000000..d1a478b Binary files /dev/null and b/public/images/Gemini_Generated_Image_wyfsoiwyfsoiwyfs.png differ diff --git a/public/images/splash/splash-1125x2436.png b/public/images/splash/splash-1125x2436.png index 19b3446..5952196 100644 Binary files a/public/images/splash/splash-1125x2436.png and b/public/images/splash/splash-1125x2436.png differ diff --git a/public/images/splash/splash-1170x2532.png b/public/images/splash/splash-1170x2532.png index 23fd387..4852e9e 100644 Binary files a/public/images/splash/splash-1170x2532.png 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 index 98b1725..96074f6 100644 Binary files a/public/images/splash/splash-1179x2556.png and b/public/images/splash/splash-1179x2556.png differ diff --git a/public/images/splash/splash-1206x2622.png b/public/images/splash/splash-1206x2622.png new file mode 100644 index 0000000..b71fa67 Binary files /dev/null and b/public/images/splash/splash-1206x2622.png differ diff --git a/public/images/splash/splash-1242x2208.png b/public/images/splash/splash-1242x2208.png index d6f20f7..353204b 100644 Binary files a/public/images/splash/splash-1242x2208.png and b/public/images/splash/splash-1242x2208.png differ diff --git a/public/images/splash/splash-1242x2688.png b/public/images/splash/splash-1242x2688.png index 0e8c38b..07f3286 100644 Binary files a/public/images/splash/splash-1242x2688.png and b/public/images/splash/splash-1242x2688.png differ diff --git a/public/images/splash/splash-1284x2778.png b/public/images/splash/splash-1284x2778.png index 778b043..a9272de 100644 Binary files a/public/images/splash/splash-1284x2778.png 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 index 20b3281..34100eb 100644 Binary files a/public/images/splash/splash-1290x2796.png and b/public/images/splash/splash-1290x2796.png differ diff --git a/public/images/splash/splash-1320x2868.png b/public/images/splash/splash-1320x2868.png new file mode 100644 index 0000000..5b46dec Binary files /dev/null and b/public/images/splash/splash-1320x2868.png differ diff --git a/public/images/splash/splash-1334x750.png b/public/images/splash/splash-1334x750.png index 8230fa9..fbb1177 100644 Binary files a/public/images/splash/splash-1334x750.png and b/public/images/splash/splash-1334x750.png differ diff --git a/public/images/splash/splash-1488x2266.png b/public/images/splash/splash-1488x2266.png new file mode 100644 index 0000000..6433161 Binary files /dev/null and b/public/images/splash/splash-1488x2266.png differ diff --git a/public/images/splash/splash-1536x2048.png b/public/images/splash/splash-1536x2048.png index b2125c8..86394cb 100644 Binary files a/public/images/splash/splash-1536x2048.png and b/public/images/splash/splash-1536x2048.png differ diff --git a/public/images/splash/splash-1620x2160.png b/public/images/splash/splash-1620x2160.png index a16e6de..508aa51 100644 Binary files a/public/images/splash/splash-1620x2160.png 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 index 3e6acf3..e6b9b45 100644 Binary files a/public/images/splash/splash-1640x2360.png and b/public/images/splash/splash-1640x2360.png differ diff --git a/public/images/splash/splash-1668x2388.png b/public/images/splash/splash-1668x2388.png index 0d02fda..a0c26c6 100644 Binary files a/public/images/splash/splash-1668x2388.png and b/public/images/splash/splash-1668x2388.png differ diff --git a/public/images/splash/splash-1668x2420.png b/public/images/splash/splash-1668x2420.png new file mode 100644 index 0000000..5b853d1 Binary files /dev/null and b/public/images/splash/splash-1668x2420.png differ diff --git a/public/images/splash/splash-1792x828.png b/public/images/splash/splash-1792x828.png index 3f6adf1..0ceae4f 100644 Binary files a/public/images/splash/splash-1792x828.png 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 index f7a1d7f..3ed2886 100644 Binary files a/public/images/splash/splash-2048x1536.png and b/public/images/splash/splash-2048x1536.png differ diff --git a/public/images/splash/splash-2048x2732.png b/public/images/splash/splash-2048x2732.png index 87daed8..4ea34d0 100644 Binary files a/public/images/splash/splash-2048x2732.png and b/public/images/splash/splash-2048x2732.png differ diff --git a/public/images/splash/splash-2064x2752.png b/public/images/splash/splash-2064x2752.png new file mode 100644 index 0000000..1db223c Binary files /dev/null and b/public/images/splash/splash-2064x2752.png differ diff --git a/public/images/splash/splash-2160x1620.png b/public/images/splash/splash-2160x1620.png index 1a26877..66e9786 100644 Binary files a/public/images/splash/splash-2160x1620.png 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 index 6566517..dec5a43 100644 Binary files a/public/images/splash/splash-2208x1242.png and b/public/images/splash/splash-2208x1242.png differ diff --git a/public/images/splash/splash-2266x1488.png b/public/images/splash/splash-2266x1488.png new file mode 100644 index 0000000..fb6eb26 Binary files /dev/null and b/public/images/splash/splash-2266x1488.png differ diff --git a/public/images/splash/splash-2360x1640.png b/public/images/splash/splash-2360x1640.png index 83aaee4..aa1785c 100644 Binary files a/public/images/splash/splash-2360x1640.png 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 index 743c582..24fd894 100644 Binary files a/public/images/splash/splash-2388x1668.png and b/public/images/splash/splash-2388x1668.png differ diff --git a/public/images/splash/splash-2420x1668.png b/public/images/splash/splash-2420x1668.png new file mode 100644 index 0000000..a3b6e8d Binary files /dev/null and b/public/images/splash/splash-2420x1668.png differ diff --git a/public/images/splash/splash-2436x1125.png b/public/images/splash/splash-2436x1125.png index 9cca27d..aaf427e 100644 Binary files a/public/images/splash/splash-2436x1125.png 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 index 898bf54..b5fb9b1 100644 Binary files a/public/images/splash/splash-2532x1170.png 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 index ac63966..474ee77 100644 Binary files a/public/images/splash/splash-2556x1179.png and b/public/images/splash/splash-2556x1179.png differ diff --git a/public/images/splash/splash-2622x1206.png b/public/images/splash/splash-2622x1206.png new file mode 100644 index 0000000..3fca087 Binary files /dev/null and b/public/images/splash/splash-2622x1206.png differ diff --git a/public/images/splash/splash-2688x1242.png b/public/images/splash/splash-2688x1242.png index 47e4a7b..c2a0c8a 100644 Binary files a/public/images/splash/splash-2688x1242.png 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 index a467918..9ac6212 100644 Binary files a/public/images/splash/splash-2732x2048.png and b/public/images/splash/splash-2732x2048.png differ diff --git a/public/images/splash/splash-2752x2064.png b/public/images/splash/splash-2752x2064.png new file mode 100644 index 0000000..854ae2a Binary files /dev/null and b/public/images/splash/splash-2752x2064.png differ diff --git a/public/images/splash/splash-2778x1284.png b/public/images/splash/splash-2778x1284.png index aa76832..e5cb067 100644 Binary files a/public/images/splash/splash-2778x1284.png 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 index d262e04..101a813 100644 Binary files a/public/images/splash/splash-2796x1290.png and b/public/images/splash/splash-2796x1290.png differ diff --git a/public/images/splash/splash-2868x1320.png b/public/images/splash/splash-2868x1320.png new file mode 100644 index 0000000..02ab9b6 Binary files /dev/null and b/public/images/splash/splash-2868x1320.png differ diff --git a/public/images/splash/splash-750x1334.png b/public/images/splash/splash-750x1334.png index 334c4ce..4f82ab8 100644 Binary files a/public/images/splash/splash-750x1334.png and b/public/images/splash/splash-750x1334.png differ diff --git a/public/images/splash/splash-828x1792.png b/public/images/splash/splash-828x1792.png index 20e4c95..5277441 100644 Binary files a/public/images/splash/splash-828x1792.png and b/public/images/splash/splash-828x1792.png differ diff --git a/scripts/generate-icons.js b/scripts/generate-icons.js index 96eea24..3d563d6 100644 --- a/scripts/generate-icons.js +++ b/scripts/generate-icons.js @@ -9,6 +9,9 @@ const screenshotsDir = path.join(__dirname, "../public/images/screenshots"); const splashDir = path.join(__dirname, "../public/images/splash"); const faviconPath = path.join(__dirname, "../public/favicon.png"); +// Source pour les splash screens +const splashSource = path.join(__dirname, "../public/images/Gemini_Generated_Image_wyfsoiwyfsoiwyfs.png"); + // Configuration des splashscreens pour différents appareils const splashScreens = [ // iPad (portrait + landscape) @@ -16,8 +19,14 @@ const splashScreens = [ { 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: 1668, height: 2420, name: "iPad Pro 11 M4 portrait" }, + { width: 2420, height: 1668, name: "iPad Pro 11 M4 landscape" }, + { width: 2064, height: 2752, name: "iPad Pro 13 M4 portrait" }, + { width: 2752, height: 2064, name: "iPad Pro 13 M4 landscape" }, { width: 1536, height: 2048, name: "iPad Mini/Air portrait" }, { width: 2048, height: 1536, name: "iPad Mini/Air landscape" }, + { width: 1488, height: 2266, name: "iPad Mini 6 portrait" }, + { width: 2266, height: 1488, name: "iPad Mini 6 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" }, @@ -40,39 +49,36 @@ const splashScreens = [ { 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: 1179, height: 2556, name: "iPhone 14 Pro/15 portrait" }, + { width: 2556, height: 1179, name: "iPhone 14 Pro/15 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: 1206, height: 2622, name: "iPhone 16 Pro portrait" }, + { width: 2622, height: 1206, name: "iPhone 16 Pro landscape" }, + { width: 1320, height: 2868, name: "iPhone 16 Pro Max portrait" }, + { width: 2868, height: 1320, name: "iPhone 16 Pro Max landscape" }, { width: 1170, height: 2532, name: "iPhone 16/16e portrait" }, { width: 2532, height: 1170, name: "iPhone 16/16e landscape" }, ]; async function generateSplashScreens() { await fs.mkdir(splashDir, { recursive: true }); + console.log(`\n📱 Génération des splash screens...`); for (const screen of splashScreens) { const outputPath = path.join(splashDir, `splash-${screen.width}x${screen.height}.png`); - const darkOverlay = Buffer.from( - ` - - ` - ); - await sharp(sourceLogo) + await sharp(splashSource) .resize(screen.width, screen.height, { fit: "cover", position: "center", }) - .composite([{ input: darkOverlay, blend: "over" }]) .png({ compressionLevel: 9, }) .toFile(outputPath); - console.log(`✓ Splashscreen ${screen.name} (${screen.width}x${screen.height}) générée`); + console.log(` ✓ ${screen.name} (${screen.width}x${screen.height})`); } } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index d83de86..d4a3ca9 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -248,6 +248,61 @@ export default async function RootLayout({ children }: { children: React.ReactNo href="/images/splash/splash-2796x1290.png" media="(device-width: 932px) and (device-height: 430px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" /> + {/* iPad Mini 6 */} + + + {/* iPad Pro 11" M4 */} + + + {/* iPad Pro 13" M4 */} + + + {/* iPhone 16 Pro */} + + + {/* iPhone 16 Pro Max */} + +