diff --git a/components/SeriesCard.tsx b/components/SeriesCard.tsx index be09c21..abf3f88 100644 --- a/components/SeriesCard.tsx +++ b/components/SeriesCard.tsx @@ -10,15 +10,9 @@ interface SeriesCardProps { selected?: boolean } -export function SeriesCard({ series, onSelect, selected }: SeriesCardProps): React.ReactElement { +function SeriesCardContent({ series, onSelect }: { series: Series; onSelect: (seriesId: string | undefined) => void }): React.ReactElement { return ( -
+ <> {series.coverUrl && (
+ + ) +} + +export function SeriesCard({ series, onSelect, selected }: SeriesCardProps): React.ReactElement { + const cardClasses = selected + ? 'border-neon-cyan ring-1 ring-neon-cyan/50 shadow-glow-cyan' + : 'border-neon-cyan/30 hover:border-neon-cyan/50 hover:shadow-glow-cyan' + return ( +
+
) } diff --git a/components/SponsoringForm.tsx b/components/SponsoringForm.tsx index c35d3c3..77e9241 100644 --- a/components/SponsoringForm.tsx +++ b/components/SponsoringForm.tsx @@ -175,29 +175,31 @@ function SponsoringFormView(params: { onCancel?: () => void }): React.ReactElement { return ( -
-

{t('sponsoring.form.title')}

-

{t('sponsoring.form.description', { amount: '0.046' })}

-