Captures App Store : panorama enchaîné de 5 images 1320 × 2868 (vraies captures de l'app, ruban, carte, pièces et notification à cheval sur les coupes), script de rendu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BIN
docs/app-ios/captures/client.jpg
Normal file
|
After Width: | Height: | Size: 86 KiB |
BIN
docs/app-ios/captures/recompenses.jpg
Normal file
|
After Width: | Height: | Size: 81 KiB |
BIN
docs/app-ios/captures/statistiques.jpg
Normal file
|
After Width: | Height: | Size: 134 KiB |
BIN
docs/app-ios/captures/wallet.jpg
Normal file
|
After Width: | Height: | Size: 122 KiB |
1
docs/app-ios/store/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
node_modules/
|
||||
BIN
docs/app-ios/store/export/01-accroche.jpg
Normal file
|
After Width: | Height: | Size: 336 KiB |
BIN
docs/app-ios/store/export/02-tampon.jpg
Normal file
|
After Width: | Height: | Size: 302 KiB |
BIN
docs/app-ios/store/export/03-recompenses.jpg
Normal file
|
After Width: | Height: | Size: 294 KiB |
BIN
docs/app-ios/store/export/04-statistiques.jpg
Normal file
|
After Width: | Height: | Size: 393 KiB |
BIN
docs/app-ios/store/export/05-campagnes.jpg
Normal file
|
After Width: | Height: | Size: 310 KiB |
BIN
docs/app-ios/store/export/apercu-panorama.jpg
Normal file
|
After Width: | Height: | Size: 901 KiB |
BIN
docs/app-ios/store/fonts/Figtree_500Medium.ttf
Normal file
BIN
docs/app-ios/store/fonts/Figtree_600SemiBold.ttf
Normal file
BIN
docs/app-ios/store/fonts/Figtree_700Bold.ttf
Normal file
BIN
docs/app-ios/store/fonts/Figtree_800ExtraBold.ttf
Normal file
25
docs/app-ios/store/package-lock.json
generated
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"name": "monespacepro-captures-app-store",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "monespacepro-captures-app-store",
|
||||
"dependencies": {
|
||||
"playwright-core": "^1.63.0"
|
||||
}
|
||||
},
|
||||
"node_modules/playwright-core": {
|
||||
"version": "1.64.1",
|
||||
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.64.1.tgz",
|
||||
"integrity": "sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ==",
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
"playwright-core": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
7
docs/app-ios/store/package.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"name": "monespacepro-captures-app-store",
|
||||
"private": true,
|
||||
"description": "Captures App Store (panorama enchaîné) : node render.js",
|
||||
"scripts": { "rendu": "node render.js" },
|
||||
"dependencies": { "playwright-core": "^1.63.0" }
|
||||
}
|
||||
174
docs/app-ios/store/panorama.html
Normal file
|
|
@ -0,0 +1,174 @@
|
|||
<!doctype html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Captures App Store — panorama</title>
|
||||
<style>
|
||||
/* Panorama de 5 captures App Store 1320 × 2868 (iPhone 6,9"), découpé par render.js. */
|
||||
@font-face { font-family: Figtree; font-weight: 500; src: url(fonts/Figtree_500Medium.ttf); }
|
||||
@font-face { font-family: Figtree; font-weight: 600; src: url(fonts/Figtree_600SemiBold.ttf); }
|
||||
@font-face { font-family: Figtree; font-weight: 700; src: url(fonts/Figtree_700Bold.ttf); }
|
||||
@font-face { font-family: Figtree; font-weight: 800; src: url(fonts/Figtree_800ExtraBold.ttf); }
|
||||
:root {
|
||||
--green: #0E7A66; --card: #3A7A6A; --soft: #EAF6F2; --gold: #F2B544;
|
||||
--cream: #F6F6F3; --ink: #1C1C19; --W: 1320px; --H: 2868px;
|
||||
}
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
html, body { width: calc(var(--W) * 5); height: var(--H); overflow: hidden; background: var(--cream); font-family: Figtree, sans-serif; color: var(--ink); }
|
||||
.stage { position: relative; width: 100%; height: 100%; background: linear-gradient(180deg, #FBFBF8 0%, var(--cream) 40%, #EFF5F1 100%); }
|
||||
|
||||
/* Décor continu */
|
||||
.blob { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(14,122,102,.16) 0%, rgba(14,122,102,.07) 45%, rgba(14,122,102,0) 70%); }
|
||||
svg.ribbon { position: absolute; inset: 0; z-index: 1; }
|
||||
|
||||
/* Titres */
|
||||
.title { position: absolute; top: 210px; width: 1120px; z-index: 5; }
|
||||
.eyebrow { display: inline-flex; align-items: center; gap: 16px; font-weight: 700; font-size: 40px; letter-spacing: 4px; text-transform: uppercase; color: var(--green); }
|
||||
.eyebrow::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); }
|
||||
h1 { margin-top: 34px; font-weight: 800; font-size: 124px; line-height: 1.02; letter-spacing: -3px; }
|
||||
h1 em { font-style: normal; color: var(--green); }
|
||||
|
||||
/* iPhone 17 Pro Max */
|
||||
.phone { position: absolute; top: 790px; width: 940px; height: 1991px; border-radius: 150px; padding: 20px; z-index: 3;
|
||||
background: linear-gradient(145deg, #3B3B37, #141412 40%, #2A2A27); box-shadow: 0 0 0 5px #8D8C85, 0 0 0 7px #55544F, 0 60px 120px rgba(28,28,25,.28), 0 20px 40px rgba(28,28,25,.18); }
|
||||
.screen { position: relative; width: 900px; height: 1951px; border-radius: 130px; overflow: hidden; background: var(--cream); }
|
||||
.island { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); width: 288px; height: 85px; border-radius: 43px; background: #000; z-index: 4; }
|
||||
.shot { position: absolute; left: 0; width: 900px; display: block; }
|
||||
.status { position: absolute; top: 0; left: 0; right: 0; height: 126px; z-index: 3; }
|
||||
.status .time { position: absolute; left: 110px; top: 44px; font-weight: 600; font-size: 40px; letter-spacing: -.5px; }
|
||||
.status svg { position: absolute; right: 74px; top: 52px; }
|
||||
|
||||
/* Carte Wallet dessinée */
|
||||
.pass { position: absolute; width: 600px; height: 380px; border-radius: 30px; background: linear-gradient(160deg, #468C79, var(--card) 55%, #2F6B5B); color: #fff; padding: 36px 40px; z-index: 6;
|
||||
box-shadow: 0 50px 90px rgba(20,60,50,.35), 0 12px 24px rgba(20,60,50,.22); }
|
||||
.pass b { display: block; font-weight: 700; font-size: 40px; }
|
||||
.pass small { display: block; margin-top: 8px; font-weight: 600; font-size: 22px; letter-spacing: 3px; opacity: .8; text-transform: uppercase; }
|
||||
.stamps { position: absolute; left: 40px; right: 40px; bottom: 44px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 0; justify-items: center; }
|
||||
.stamps i { width: 66px; height: 66px; border-radius: 50%; border: 4px solid rgba(255,255,255,.75); }
|
||||
.stamps i.on { background: var(--gold); border-color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.18); }
|
||||
|
||||
/* Pièces */
|
||||
.coin { position: absolute; border-radius: 50%; z-index: 6; background: radial-gradient(circle at 35% 30%, #FFE3A3 0%, var(--gold) 45%, #C98A1B 100%);
|
||||
box-shadow: inset 0 0 0 calc(var(--s) * .09) rgba(255,255,255,.35), inset 0 0 0 calc(var(--s) * .16) rgba(201,138,27,.55), 0 18px 30px rgba(120,80,10,.25); width: var(--s); height: var(--s); }
|
||||
|
||||
/* Notification */
|
||||
.notif { position: absolute; display: flex; gap: 26px; align-items: flex-start; border-radius: 48px; padding: 30px 34px; background: rgba(250,250,247,.93); backdrop-filter: blur(20px); box-shadow: 0 30px 70px rgba(10,40,34,.28); }
|
||||
.notif .ic { flex: none; width: 84px; height: 84px; border-radius: 20px; background: var(--card); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 44px; }
|
||||
.notif .tx { flex: 1; font-size: 32px; line-height: 1.28; }
|
||||
.notif .hd { display: flex; justify-content: space-between; align-items: baseline; }
|
||||
.notif .hd b { font-weight: 700; }
|
||||
.notif .hd span { font-size: 26px; color: #6B6A63; }
|
||||
.lock { position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 0%, #4F9C88 0%, #1E5D4F 45%, #0D2E27 100%); color: #fff; text-align: center; }
|
||||
.lock .date { margin-top: 190px; font-weight: 600; font-size: 40px; opacity: .9; }
|
||||
.lock .clock { font-weight: 700; font-size: 230px; line-height: 1; letter-spacing: -6px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="stage">
|
||||
|
||||
<!-- Halos continus, centrés sur les coupes -->
|
||||
<div class="blob" style="left: 420px; top: 1500px; width: 1800px; height: 1800px"></div>
|
||||
<div class="blob" style="left: 1840px; top: 1000px; width: 1600px; height: 1600px"></div>
|
||||
<div class="blob" style="left: 3160px; top: 1650px; width: 1600px; height: 1600px"></div>
|
||||
<div class="blob" style="left: 4480px; top: 1100px; width: 1600px; height: 1600px"></div>
|
||||
<div class="blob" style="left: 5600px; top: 1700px; width: 1500px; height: 1500px"></div>
|
||||
|
||||
<!-- Ruban : fil conducteur des 5 images, se termine en boucle sur la dernière -->
|
||||
<svg class="ribbon" width="6600" height="2868" viewBox="0 0 6600 2868">
|
||||
<path d="M -80 2560 C 300 2700, 800 2250, 1320 2330 S 2150 2650, 2640 2520 S 3450 2120, 3960 2230 S 4800 2640, 5280 2500 S 5850 2380, 6030 2560 C 6270 2740, 6370 2420, 6180 2300 C 6000 2190, 5870 2420, 6100 2560 L 6270 2650"
|
||||
fill="none" stroke="#0E7A66" stroke-width="96" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M -80 2560 C 300 2700, 800 2250, 1320 2330 S 2150 2650, 2640 2520 S 3450 2120, 3960 2230 S 4800 2640, 5280 2500 S 5850 2380, 6030 2560 C 6270 2740, 6370 2420, 6180 2300 C 6000 2190, 5870 2420, 6100 2560 L 6270 2650"
|
||||
fill="none" stroke="#F2B544" stroke-width="12" stroke-linecap="round" transform="translate(0 -92)" opacity=".9"/>
|
||||
</svg>
|
||||
|
||||
<!-- 1. Accroche : la carte dans Apple Wallet -->
|
||||
<div class="title" style="left: 100px">
|
||||
<div class="eyebrow">MonEspacePro</div>
|
||||
<h1>La fidélité,<br><em>au comptoir</em></h1>
|
||||
</div>
|
||||
<div class="phone" style="left: 190px">
|
||||
<div class="screen" style="background: #F2F2F7">
|
||||
<img class="shot" src="../captures/wallet.jpg" style="top: 0">
|
||||
<div style="position: absolute; left: 0; right: 0; top: 1390px; bottom: 0; background: #F2F2F7"></div>
|
||||
<div class="island"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pass" style="left: 930px; top: 2080px; transform: rotate(-8deg)">
|
||||
<b>Café Démo</b><small>Tampons 7 / 10</small>
|
||||
<div class="stamps"><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i></i><i></i><i></i></div>
|
||||
</div>
|
||||
|
||||
<!-- 2. Fiche client -->
|
||||
<div class="title" style="left: 1420px">
|
||||
<div class="eyebrow">Au comptoir</div>
|
||||
<h1>Un tampon<br><em>en un geste</em></h1>
|
||||
</div>
|
||||
<div class="phone" style="left: 1510px">
|
||||
<div class="screen">
|
||||
<div class="status"><span class="time">9:41</span><svg width="150" height="34" viewBox="0 0 150 34"><g fill="#1C1C19"><rect x="0" y="22" width="9" height="12" rx="2"/><rect x="13" y="16" width="9" height="18" rx="2"/><rect x="26" y="9" width="9" height="25" rx="2"/><rect x="39" y="2" width="9" height="32" rx="2"/><path d="M73 30 l-6-6 a9 9 0 0 1 12 0 z M61 18 a17 17 0 0 1 24 0 l-4 4 a11 11 0 0 0-16 0 z M55 12 a26 26 0 0 1 36 0 l-4 4 a20 20 0 0 0-28 0 z"/><rect x="100" y="4" width="44" height="26" rx="8" fill="none" stroke="#1C1C19" stroke-width="3" opacity=".45"/><rect x="104" y="8" width="36" height="18" rx="5"/><rect x="146" y="12" width="4" height="10" rx="2" opacity=".45"/></g></svg></div>
|
||||
<img class="shot" src="../captures/client.jpg" style="top: 126px">
|
||||
<div class="island"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 3. Récompenses -->
|
||||
<div class="title" style="left: 2740px">
|
||||
<div class="eyebrow">Récompenses</div>
|
||||
<h1>Les cadeaux,<br><em>sans calcul</em></h1>
|
||||
</div>
|
||||
<div class="phone" style="left: 2830px">
|
||||
<div class="screen">
|
||||
<div class="status"><span class="time">9:41</span><svg width="150" height="34" viewBox="0 0 150 34"><g fill="#1C1C19"><rect x="0" y="22" width="9" height="12" rx="2"/><rect x="13" y="16" width="9" height="18" rx="2"/><rect x="26" y="9" width="9" height="25" rx="2"/><rect x="39" y="2" width="9" height="32" rx="2"/><path d="M73 30 l-6-6 a9 9 0 0 1 12 0 z M61 18 a17 17 0 0 1 24 0 l-4 4 a11 11 0 0 0-16 0 z M55 12 a26 26 0 0 1 36 0 l-4 4 a20 20 0 0 0-28 0 z"/><rect x="100" y="4" width="44" height="26" rx="8" fill="none" stroke="#1C1C19" stroke-width="3" opacity=".45"/><rect x="104" y="8" width="36" height="18" rx="5"/><rect x="146" y="12" width="4" height="10" rx="2" opacity=".45"/></g></svg></div>
|
||||
<img class="shot" src="../captures/recompenses.jpg" style="top: 126px">
|
||||
<div class="island"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Pièces : jaillissent de l'image 3 et traversent vers l'image 4 -->
|
||||
<div class="coin" style="--s: 150px; left: 3640px; top: 1560px"></div>
|
||||
<div class="coin" style="--s: 110px; left: 3800px; top: 1380px"></div>
|
||||
<div class="coin" style="--s: 130px; left: 3880px; top: 1700px"></div>
|
||||
<div class="coin" style="--s: 90px; left: 4010px; top: 1500px"></div>
|
||||
<div class="coin" style="--s: 70px; left: 4090px; top: 1880px"></div>
|
||||
<div class="coin" style="--s: 56px; left: 4120px; top: 1290px"></div>
|
||||
|
||||
<!-- 4. Statistiques -->
|
||||
<div class="title" style="left: 4060px">
|
||||
<div class="eyebrow">Statistiques</div>
|
||||
<h1>Suivez vos<br><em>clients fidèles</em></h1>
|
||||
</div>
|
||||
<div class="phone" style="left: 4150px">
|
||||
<div class="screen">
|
||||
<div class="status"><span class="time">9:41</span><svg width="150" height="34" viewBox="0 0 150 34"><g fill="#1C1C19"><rect x="0" y="22" width="9" height="12" rx="2"/><rect x="13" y="16" width="9" height="18" rx="2"/><rect x="26" y="9" width="9" height="25" rx="2"/><rect x="39" y="2" width="9" height="32" rx="2"/><path d="M73 30 l-6-6 a9 9 0 0 1 12 0 z M61 18 a17 17 0 0 1 24 0 l-4 4 a11 11 0 0 0-16 0 z M55 12 a26 26 0 0 1 36 0 l-4 4 a20 20 0 0 0-28 0 z"/><rect x="100" y="4" width="44" height="26" rx="8" fill="none" stroke="#1C1C19" stroke-width="3" opacity=".45"/><rect x="104" y="8" width="36" height="18" rx="5"/><rect x="146" y="12" width="4" height="10" rx="2" opacity=".45"/></g></svg></div>
|
||||
<img class="shot" src="../captures/statistiques.jpg" style="top: 126px">
|
||||
<div class="island"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Notification agrandie : l'icône dépasse sur l'image 4, le texte reste sur l'image 5 -->
|
||||
<div class="notif" style="left: 5140px; top: 2140px; width: 760px; z-index: 6">
|
||||
<div class="ic">C</div>
|
||||
<div class="tx" style="padding-left: 30px"><div class="hd"><b>Café Démo</b><span>maintenant</span></div>Happy hour<br>-20 % sur les boissons chaudes ce samedi de 15 h à 17 h.</div>
|
||||
</div>
|
||||
|
||||
<!-- 5. Campagnes -->
|
||||
<div class="title" style="left: 5380px">
|
||||
<div class="eyebrow">Campagnes</div>
|
||||
<h1>Vos offres,<br><em>sur leur iPhone</em></h1>
|
||||
</div>
|
||||
<div class="phone" style="left: 5470px">
|
||||
<div class="screen">
|
||||
<div class="lock">
|
||||
<div class="date">jeudi 15 octobre</div>
|
||||
<div class="clock">9:41</div>
|
||||
<div class="notif" style="left: 34px; right: 34px; top: 760px; text-align: left; color: var(--ink)">
|
||||
<div class="ic">C</div>
|
||||
<div class="tx"><div class="hd"><b>Café Démo</b><span>maintenant</span></div>Happy hour<br>-20 % sur les boissons chaudes ce samedi de 15 h à 17 h.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="island"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
24
docs/app-ios/store/render.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
// Rend panorama.html et le découpe en 5 captures App Store 1320 × 2868 (JPEG : aucune couche alpha, exigé par Apple),
|
||||
// plus un aperçu du panorama complet. Usage : npm install && node render.js
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const { chromium } = require('playwright-core');
|
||||
const { pathToFileURL } = require('url');
|
||||
|
||||
const W = 1320, H = 2868, NAMES = ['01-accroche', '02-tampon', '03-recompenses', '04-statistiques', '05-campagnes'];
|
||||
|
||||
(async () => {
|
||||
const out = path.join(__dirname, 'export');
|
||||
fs.mkdirSync(out, { recursive: true });
|
||||
const browser = await chromium.launch({ executablePath: 'C:/Program Files/Google/Chrome/Application/chrome.exe', headless: true });
|
||||
const page = await browser.newPage({ viewport: { width: W * NAMES.length, height: H }, deviceScaleFactor: 1 });
|
||||
await page.goto(pathToFileURL(path.join(__dirname, 'panorama.html')).href);
|
||||
await page.evaluate(() => document.fonts.ready);
|
||||
await page.waitForLoadState('networkidle');
|
||||
for (const [i, name] of NAMES.entries()) {
|
||||
await page.screenshot({ path: path.join(out, `${name}.jpg`), type: 'jpeg', quality: 95, clip: { x: i * W, y: 0, width: W, height: H }, omitBackground: false });
|
||||
}
|
||||
await page.screenshot({ path: path.join(out, 'apercu-panorama.jpg'), type: 'jpeg', quality: 85 });
|
||||
await browser.close();
|
||||
console.log(`${NAMES.length} captures dans ${out}`);
|
||||
})();
|
||||