Skip to content

Commit

Permalink
feat(services jeunes): Ajout des colours pour les categories Logement…
Browse files Browse the repository at this point in the history
… et Engagement
  • Loading branch information
KRAM-octo committed Jul 29, 2024
1 parent 34eeb11 commit 2df4ee1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ $transition-visibility: visibility 0ms $transition-duration linear;
background-color: utilities.$color-groupe-3-green;
}

& .categoryEngagement {
background-color: utilities.$color-groupe-3-blue;
}

& .categoryLogement {
background-color: utilities.$color-groupe-3-pink;
}

& .body {
display: grid;
grid-template-rows: auto 1fr;
Expand Down
4 changes: 4 additions & 0 deletions src/client/components/ui/Card/Flipping/FlippingCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ export function FlippingCard(props: FlippingCardProps) {
return styles.categoryVieProfessionnelle;
case ServiceJeune.Categorie.AIDES_FINANCIERES:
return styles.categoryAidesFinancieres;
case ServiceJeune.Categorie.ENGAGEMENT:
return styles.categoryEngagement;
case ServiceJeune.Categorie.LOGEMENT:
return styles.categoryLogement;
}
}, [category]);

Expand Down

0 comments on commit 2df4ee1

Please sign in to comment.