From 95f82e4fee25b0f4a743b422d6b96923605f7ef2 Mon Sep 17 00:00:00 2001 From: Yvv Date: Tue, 24 Mar 2026 01:01:53 +0100 Subject: [PATCH] =?UTF-8?q?Num=C3=A9rique=20:=20blocs=20cliquables=20+=20b?= =?UTF-8?q?outon=20v1=20brid=C3=A9e=20logiciel=20libre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - numerique/index : overlay z-index 1 sur pillar-card, zone actions z-index 2 avec support pillar.actions (même pattern que citoyenne/index) - home.yml + numerique.yml : bouton "Voir la v1 bridée (premier flux)" sur le bloc Logiciel libre → https://axiom-team.fr/dons - economique/index : déjà des NuxtLink directs comme cartes, rien à corriger Co-Authored-By: Claude Sonnet 4.6 --- app/pages/numerique/index.vue | 127 ++++++++++++++++++++++++++-------- site/pages/home.yml | 6 ++ site/pages/numerique.yml | 5 ++ 3 files changed, 109 insertions(+), 29 deletions(-) diff --git a/app/pages/numerique/index.vue b/app/pages/numerique/index.vue index fc550ec..553f6b0 100644 --- a/app/pages/numerique/index.vue +++ b/app/pages/numerique/index.vue @@ -320,40 +320,52 @@ :key="pillar.id" class="pillar-card" > -
-
-
-
-

- {{ pillar.label }} -

- -
- En gestation - -
+ + -

{{ pillar.text }}

- - -
-
-
+ +
+
+
+
+
+

+ {{ pillar.label }} +

+ +
+ En gestation +
-
- {{ pillar.project.name }} - {{ pillar.project.text }} + +

{{ pillar.text }}

+ + +
+
+
+
+
+ {{ pillar.project.name }} + {{ pillar.project.text }} +
-
- + @@ -379,17 +391,74 @@ useHead({ } .pillar-card { - padding: 1.5rem; border-radius: 0.75rem; border: 1px solid hsl(var(--color-text) / 0.08); background: hsl(var(--color-surface)); transition: border-color 0.2s; + position: relative; } .pillar-card:hover { border-color: hsl(var(--color-primary) / 0.2); } +.pillar-overlay { + position: absolute; + inset: 0; + z-index: 1; + border-radius: inherit; +} + +.pillar-body { + padding: 1.5rem; +} + +.pillar-actions { + display: flex; + flex-wrap: wrap; + gap: 0.375rem; + padding: 0.75rem 1.5rem; + border-top: 1px solid hsl(var(--color-text) / 0.06); + background: hsl(var(--color-bg) / 0.4); + border-bottom-left-radius: 0.75rem; + border-bottom-right-radius: 0.75rem; + position: relative; + z-index: 2; +} + +.pillar-action-btn { + display: inline-flex; + align-items: center; + gap: 0.375rem; + padding: 0.375rem 0.75rem; + border-radius: 0.5rem; + font-size: 0.8rem; + font-weight: 500; + color: hsl(var(--color-text) / 0.7); + background: hsl(var(--color-text) / 0.05); + border: 1px solid hsl(var(--color-text) / 0.1); + transition: all 0.2s; + text-decoration: none; + cursor: pointer; +} + +.pillar-action-btn:hover { + color: hsl(var(--color-text)); + background: hsl(var(--color-primary) / 0.12); + border-color: hsl(var(--color-primary) / 0.3); +} + +.pillar-action-btn--highlight { + color: hsl(var(--color-primary)); + background: hsl(var(--color-primary) / 0.12); + border-color: hsl(var(--color-primary) / 0.25); +} + +.pillar-action-btn--highlight:hover { + background: hsl(var(--color-primary) / 0.2); + border-color: hsl(var(--color-primary) / 0.4); +} + .pillar-header { display: flex; align-items: center; diff --git a/site/pages/home.yml b/site/pages/home.yml index 5ddd662..2899b97 100644 --- a/site/pages/home.yml +++ b/site/pages/home.yml @@ -49,6 +49,12 @@ axes: presentation: title: wishBounty text: Application pour le financement fléché des développements. + actions: + - id: open-dons + label: Voir la v1 bridée (premier flux) + icon: external-link + highlight: true + href: https://axiom-team.fr/dons - label: Authentification — WoT description: "Une clé pour les accès, une signature pour les actes. Le seul système sans autorité centrale ni biométrie — DID W3C, Duniter, EUDI Wallet 2026." to: /numerique/authentification-wot diff --git a/site/pages/numerique.yml b/site/pages/numerique.yml index 4e98e91..e07f037 100644 --- a/site/pages/numerique.yml +++ b/site/pages/numerique.yml @@ -18,6 +18,11 @@ pillars: text: Application pour le financement fléché des développements libres. gestation: true to: /numerique/logiciel-libre + actions: + - label: Voir la v1 bridée (premier flux) + icon: external-link + highlight: true + href: https://axiom-team.fr/dons - id: authentification-wot label: "Authentification — WoT"