From f25a7d38845439d0d8ae2eb2d629092f43fc8c90 Mon Sep 17 00:00:00 2001 From: Jules Neny Date: Wed, 29 Apr 2026 00:33:45 +0200 Subject: [PATCH] feat(pratiques): pending.json init + CTA sidebar proposer une pratique MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pratiques-pending.json initialisé vide (file modération V1). PratiqueSidebar : lien + Proposer une pratique en bas de sidebar, style sidebar-cta-link réutilisant variables CSS existantes. Co-Authored-By: Claude Sonnet 4.6 --- components/PratiqueSidebar.vue | 33 ++++++++++++++++++++++++++++++ public/data/pratiques-pending.json | 1 + 2 files changed, 34 insertions(+) create mode 100644 public/data/pratiques-pending.json diff --git a/components/PratiqueSidebar.vue b/components/PratiqueSidebar.vue index e591c6f..46f4537 100644 --- a/components/PratiqueSidebar.vue +++ b/components/PratiqueSidebar.vue @@ -130,6 +130,19 @@ + +
+ + + Proposer une pratique + +
+ @@ -238,4 +251,24 @@ const searchInputEl = ref(null) color: var(--nav-text); background: var(--nav-bg-alt); } + +.sidebar-cta-link { + display: block; + width: 100%; + padding: 0.5rem 0.75rem; + text-align: center; + font-size: 0.82rem; + font-weight: 600; + color: var(--nav-primary-solid); + background: transparent; + border: 1px solid var(--nav-primary-solid); + border-radius: 6px; + text-decoration: none; + transition: background 0.15s, color 0.15s; +} + +.sidebar-cta-link:hover { + background: var(--nav-primary); + color: var(--nav-text-on-primary); +} diff --git a/public/data/pratiques-pending.json b/public/data/pratiques-pending.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/public/data/pratiques-pending.json @@ -0,0 +1 @@ +[]