mirror of
https://github.com/R0m1k3/PleinR.git
synced 2026-10-22 06:38:05 +02:00
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:
3 files changed
+373
-3
No files matched your search
+4
-3
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user