Cartes promo : zone image en aspect-ratio 1200/630 (nouvelle maquette)

Aligne les cartes promo sur la dernière refonte Claude Design : la zone image
passe d'une hauteur fixe à un ratio 1200/630, au-dessus du composant PromoImage
existant (remplissage flou + contain). Appliqué à l'accueil, la fiche adhérent,
l'aperçu de l'espace adhérent et la modération. Conseil d'upload : 1200×630.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XwfhYHzC9hQWPDnQ2p53GL
This commit is contained in:
Claude committed 2026-06-27 15:54:22 +00:00
1 parent 03eca6e9ae
commit 7037e8863b
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -267,7 +267,7 @@ export default async function FicheAdherentPage({
) : (
promos.map((p, idx) => (
<article key={p.id} className="lift" style={{ border: "1px solid #ece3d0", borderRadius: 16, overflow: "hidden", marginBottom: idx === promos.length - 1 ? 0 : 14 }}>
<div style={{ position: "relative", height: 120, background: STRIPE_WARM, overflow: "hidden", display: "flex", alignItems: "center", justifyContent: "center" }}>
<div style={{ position: "relative", aspectRatio: "1200 / 630", background: STRIPE_WARM, overflow: "hidden", display: "flex", alignItems: "center", justifyContent: "center" }}>
{p.imageUrl && <PromoImage src={p.imageUrl} alt={p.title} />}
{!p.imageUrl && (<span style={{ fontSize: 10, letterSpacing: "0.12em", color: "#a99c82", textTransform: "uppercase" }}>photo de l&apos;offre</span>)}
{p.badge && (
+2 -2
View File
@@ -105,7 +105,7 @@ export function MemberSpaceForm({
<div style={{ fontSize: 13.5, fontWeight: 700, color: "#6c6150" }}>
Cliquez pour choisir une image
</div>
<div style={{ fontSize: 12, color: "#a99c82" }}>JPG ou PNG · 1200×800 conseillé</div>
<div style={{ fontSize: 12, color: "#a99c82" }}>JPG ou PNG · 1200×630 conseillé</div>
</>
)}
</div>
@@ -188,7 +188,7 @@ export function MemberSpaceForm({
<div
style={{
position: "relative",
height: 175,
aspectRatio: "1200 / 630",
background: STRIPE_WARM,
overflow: "hidden",
display: "flex",
+1 -1
View File
@@ -75,7 +75,7 @@ export default async function PromotionsPage() {
<div
style={{
position: "relative",
height: 150,
aspectRatio: "1200 / 630",
background: isPending ? STRIPE_COOL : STRIPE_WARM,
overflow: "hidden",
display: "flex",
+1 -1
View File
@@ -233,7 +233,7 @@ export default async function AccueilPage() {
<div
style={{
position: "relative",
height: 168,
aspectRatio: "1200 / 630",
background: STRIPE_WARM,
overflow: "hidden",
display: "flex",