{name}
{' '} -+
{name}
{' '} +{formatDateRange(start_date, end_date)} {' '}–{' '} {city} diff --git a/src/components/CompetitionListItem/__snapshots__/CompetitionListItem.test.tsx.snap b/src/components/CompetitionListItem/__snapshots__/CompetitionListItem.test.tsx.snap index 5db7a40..41defb4 100644 --- a/src/components/CompetitionListItem/__snapshots__/CompetitionListItem.test.tsx.snap +++ b/src/components/CompetitionListItem/__snapshots__/CompetitionListItem.test.tsx.snap @@ -7,7 +7,7 @@ exports[`CompetitionListItem matches snapshot (default) 1`] = ` href="/competitions/123" >
Test Competition @@ -28,7 +28,7 @@ exports[`CompetitionListItem matches snapshot (default) 1`] = `
Jan 1 – 2, 2024 @@ -50,7 +50,7 @@ exports[`CompetitionListItem renders with all props (live and bookmarked) 1`] = href="/competitions/123" >
Test Competition @@ -71,7 +71,7 @@ exports[`CompetitionListItem renders with all props (live and bookmarked) 1`] =
Jan 1 – 2, 2024 diff --git a/src/components/LastFetchedAt/LastFetchedAt.tsx b/src/components/LastFetchedAt/LastFetchedAt.tsx index 38f659a..7a7c069 100644 --- a/src/components/LastFetchedAt/LastFetchedAt.tsx +++ b/src/components/LastFetchedAt/LastFetchedAt.tsx @@ -9,7 +9,7 @@ export const LastFetchedAt = ({ lastFetchedAt }: LastFetchAtProps) => { const { t } = useTranslation(); return ( -
{t('home.subtitle')}
{t('home.explanation')}
- + {t('home.learnMore')}Description
+{title}
+{subtitle}
+{prefix && {prefix}: } diff --git a/src/components/Pill/Pill.tsx b/src/components/Pill/Pill.tsx index ab8b124..bfc3716 100644 --- a/src/components/Pill/Pill.tsx +++ b/src/components/Pill/Pill.tsx @@ -13,3 +13,27 @@ export const Pill = ({ className, ...props }: PillProps) => { /> ); }; + +export const BreadcrumbPill = ({ className, ...props }: PillProps) => { + return ( + + ); +}; + +export const BaseAssignmentPill = ({ className, ...props }: PillProps) => { + return ( + + ); +}; diff --git a/src/components/PinCompetitionButton/PinCompetitionButton.tsx b/src/components/PinCompetitionButton/PinCompetitionButton.tsx index cb7f003..2e520e0 100644 --- a/src/components/PinCompetitionButton/PinCompetitionButton.tsx +++ b/src/components/PinCompetitionButton/PinCompetitionButton.tsx @@ -11,7 +11,7 @@ export const PinCompetitionButton = ({ competitionId }: { competitionId: string return (