Skip to content

Commit

Permalink
Update app-card.js
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne0101 authored and nkokla committed Nov 15, 2023
1 parent a5261f6 commit 378a88f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/donnees-nationales/app-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ import PropTypes from 'prop-types'

const statusColors = {
'en cours de test': '#ECC94B',
'en réflexion': '#8d99ae',
default: '#E2E8F0',
'en réflexion': '#f4a259',
default: '#68D391',
}

const typeColors = {
'Non défini': '#ced4da',
API: '#68D391',
Téléchargement: '#a3cef1',
default: '#E2E8F0',
Géocodeur: '#70a0af'
}

const getStatusColor = status => statusColors?.[status] || statusColors.default
Expand Down

0 comments on commit 378a88f

Please sign in to comment.