Skip to content

Commit

Permalink
ordered markup
Browse files Browse the repository at this point in the history
  • Loading branch information
jerem1508 committed Oct 26, 2023
1 parent 4769a55 commit 0ecf30e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions client/src/components/generic-card/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Badge, BadgeGroup, Text } from '@dataesr/react-dsfr';
import { Badge, Text } from '@dataesr/react-dsfr';
import PropTypes from 'prop-types';

export default function PopulationCard({
Expand All @@ -9,17 +9,15 @@ export default function PopulationCard({
return (
<div className="fr-card fr-card--no-border fr-card--shadow text-center fr-card-container">
<div className="fr-card__content">
<div className="badge-container">
<BadgeGroup>
<Badge text={badgeLabel} className="" />
</BadgeGroup>
</div>
<Text as="h3" className="not-bold">
{description}
</Text>
<p>
{indicator}
</p>
<div className="badge-container" title="Année concernée">
<Badge text={badgeLabel} />
</div>
</div>
</div>
);
Expand Down

0 comments on commit 0ecf30e

Please sign in to comment.