Ajoute la page fiche adhérent publique (/adherents/[id])

Profil public d'un commerçant : vitrine, catégorie, localisation, description,
bouton de contact et promotions en cours. Réservée aux adhérents actifs (404
sinon). Les cartes « À l'honneur » de l'accueil pointent désormais vers la fiche.
Nouvelles requêtes getPublicMember / getMemberLivePromotions.

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-26 21:06:02 +00:00
1 parent 39221fd7ef
commit 3a6273c5b4
3 files changed
+373 -3

No files matched your search

+4 -3
View File
@@ -470,10 +470,11 @@ export default async function AccueilPage() {
</div>
<div className="grid grid-3" style={{ gap: 18 }}>
{highlighted.map((m, i) => (
<div
<Link
key={m.id}
href={`/adherents/${m.id}`}
className="lift-card"
style={{ background: "#fff", border: "1px solid #e6dcc6", borderRadius: 18, overflow: "hidden" }}
style={{ background: "#fff", border: "1px solid #e6dcc6", borderRadius: 18, overflow: "hidden", textDecoration: "none", color: "inherit", display: "block" }}
>
<div
style={{
@@ -518,7 +519,7 @@ export default async function AccueilPage() {
{[m.address, m.city].filter(Boolean).join(" · ")}
</div>
</div>
</div>
</Link>
))}
</div>
</section>