7
0
forked from yvv/decision

Home : titres complets des blocs + burger mobile-only + seed CI
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

- Titres cards : "Décisions et consultation d'avis", "Documents de référence",
  "Mandats et nominations", "Protocoles et fonctionnement"
- Burger supprimé sur desktop (≥768px), conservé mobile uniquement
- CI : step seed (docker exec python seed.py) entre test-deploy et healthcheck

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Yvv
2026-03-24 02:45:38 +01:00
parent 075c3c944c
commit b63c6f95e1
3 changed files with 28 additions and 8 deletions

View File

@@ -192,10 +192,23 @@ steps:
done done
echo "PASS: tous les containers running" echo "PASS: tous les containers running"
- name: seed
image: docker:27-cli
depends_on:
- test-deploy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /opt/libredecision:/opt/libredecision
commands:
- |
PROJECT=$(grep '^COMPOSE_PROJECT_NAME=' /opt/libredecision/.env | cut -d= -f2)
docker exec "$PROJECT-backend-1" python seed.py
echo "Seed terminée"
- name: healthcheck - name: healthcheck
image: alpine:3.20 image: alpine:3.20
depends_on: depends_on:
- test-deploy - seed
commands: commands:
- apk add --no-cache --quiet curl - apk add --no-cache --quiet curl
- | - |

View File

@@ -97,7 +97,7 @@ function isActive(to: string) {
<!-- Left: Hamburger (mobile) + Logo --> <!-- Left: Hamburger (mobile) + Logo -->
<div class="app-header__left"> <div class="app-header__left">
<button <button
class="app-header__menu-btn md:hidden" class="app-header__menu-btn"
aria-label="Ouvrir le menu" aria-label="Ouvrir le menu"
@click="mobileMenuOpen = true" @click="mobileMenuOpen = true"
> >
@@ -327,6 +327,12 @@ function isActive(to: string) {
background: var(--mood-accent-soft); background: var(--mood-accent-soft);
} }
@media (min-width: 768px) {
.app-header__menu-btn {
display: none;
}
}
.app-header__logo { .app-header__logo {
text-decoration: none; text-decoration: none;
display: flex; display: flex;

View File

@@ -37,7 +37,7 @@ const entryCards = computed(() => {
return [ return [
{ {
key: 'decisions', key: 'decisions',
title: 'Décisions', title: 'Décisions et consultation d\'avis',
icon: 'i-lucide-scale', icon: 'i-lucide-scale',
to: '/decisions', to: '/decisions',
count: decisionsTotal, count: decisionsTotal,
@@ -47,7 +47,7 @@ const entryCards = computed(() => {
}, },
{ {
key: 'documents', key: 'documents',
title: 'Documents', title: 'Documents de référence',
icon: 'i-lucide-book-open', icon: 'i-lucide-book-open',
to: '/documents', to: '/documents',
count: docsActive || docsTotal, count: docsActive || docsTotal,
@@ -57,7 +57,7 @@ const entryCards = computed(() => {
}, },
{ {
key: 'mandats', key: 'mandats',
title: 'Mandats', title: 'Mandats et nominations',
icon: 'i-lucide-user-check', icon: 'i-lucide-user-check',
to: '/mandates', to: '/mandates',
count: mandatesTotal || null, count: mandatesTotal || null,
@@ -67,7 +67,7 @@ const entryCards = computed(() => {
}, },
{ {
key: 'protocoles', key: 'protocoles',
title: 'Protocoles', title: 'Protocoles et fonctionnement',
icon: 'i-lucide-settings', icon: 'i-lucide-settings',
to: '/protocols', to: '/protocols',
count: protocolsCount || null, count: protocolsCount || null,
@@ -347,15 +347,16 @@ function formatDate(dateStr: string): string {
} }
.entry-card__title { .entry-card__title {
font-size: 1rem; font-size: 0.875rem;
font-weight: 700; font-weight: 700;
color: var(--mood-text); color: var(--mood-text);
margin: 0; margin: 0;
line-height: 1.25;
} }
@media (min-width: 640px) { @media (min-width: 640px) {
.entry-card__title { .entry-card__title {
font-size: 1.125rem; font-size: 0.9375rem;
} }
} }