Skip to content

Commit

Permalink
feat(accompagnement): liste des partenaires
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergen-KOVAR committed Dec 2, 2022
1 parent e53abe4 commit 694ae98
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/client/components/features/Partner/Card/PartnerCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import useBreakpoint from '~/client/hooks/useBreakpoint';
import { useIsInternalLink } from '~/client/hooks/useIsInternalLink';
import useReferrer from '~/client/hooks/useReferrer';



interface PartnerCardProps {
description: string
headline?: string
Expand All @@ -21,16 +19,14 @@ interface PartnerCardProps {
link: string
linkLabel: string
title?: string
name?: string
}

export function PartnerCardList(list: PartnerCardProps[], title?: string){
const listPartner = 'Liste des partenaires';

return(
<div className={styles.partnerListWrapper}>
{title && <h2 className={styles.partnerListTitle}>{title}</h2>}
<ul className={styles.partnerList} aria-label={listPartner}>
<ul className={styles.partnerList} aria-label="Liste des partenaires">
{list.map((partnerCardProps, index) => {
return (
<li key={index}>
Expand Down

0 comments on commit 694ae98

Please sign in to comment.