feat(pratiques): pending.json init + CTA sidebar proposer une pratique

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 <noreply@anthropic.com>
This commit is contained in:
Jules Neny
2026-04-29 00:33:45 +02:00
parent d10586c432
commit f25a7d3884
2 changed files with 34 additions and 0 deletions

View File

@@ -130,6 +130,19 @@
</div>
</div>
<!-- CTA PROPOSER -->
<div
class="shrink-0 px-4 py-3 border-t"
style="border-color: var(--nav-bg-alt);"
>
<NuxtLink
to="/proposer-pratique"
class="sidebar-cta-link"
>
+ Proposer une pratique
</NuxtLink>
</div>
</aside>
</template>
@@ -238,4 +251,24 @@ const searchInputEl = ref<HTMLInputElement | null>(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);
}
</style>

View File

@@ -0,0 +1 @@
[]