diff --git a/e2e/pages/web-pages/campaigns/campaigns.page.ts b/e2e/pages/web-pages/campaigns/campaigns.page.ts index 6c311245a..b814f335b 100644 --- a/e2e/pages/web-pages/campaigns/campaigns.page.ts +++ b/e2e/pages/web-pages/campaigns/campaigns.page.ts @@ -20,8 +20,8 @@ export class CampaignsPage extends HomePage { private readonly enMainCampaignsHeading = enLocalizationCampaigns.campaigns private readonly bgSupportCauseTodayHeading = bgLocalizationCampaigns.cta['support-cause-today'] private readonly enSupportCauseTodayHeading = enLocalizationCampaigns.cta['support-cause-today'] - private readonly bgSupportNowActionButtonText = bgLocalizationCampaigns.cta['support-now'] - private readonly enSupportNowActionButtonText = enLocalizationCampaigns.cta['support-now'] + private readonly bgSupportNowActionButtonText = bgLocalizationCampaigns.cta['support'] + private readonly enSupportNowActionButtonText = enLocalizationCampaigns.cta['support'] async checkPageUrlByRegExp(urlRegExpAsString?: string, timeoutParam = 10000): Promise { await this.page.waitForTimeout(1000) diff --git a/src/components/client/campaigns/CampaignCard/CampaignCard.tsx b/src/components/client/campaigns/CampaignCard/CampaignCard.tsx index fb501b58b..5a1392d84 100644 --- a/src/components/client/campaigns/CampaignCard/CampaignCard.tsx +++ b/src/components/client/campaigns/CampaignCard/CampaignCard.tsx @@ -1,7 +1,7 @@ import { useTranslation, i18n } from 'next-i18next' import { CampaignResponse } from 'gql/campaigns' -import { CardMedia } from '@mui/material' +import { CardActionArea, CardMedia } from '@mui/material' import { routes } from 'common/routes' import theme from 'common/theme' @@ -43,7 +43,9 @@ export default function ActiveCampaignCard({ campaign, index }: Props) { return ( - + {title} - + )} - + {mobile ? ( ({ alignItems: 'initial', boxShadow: 'none', position: 'relative', + borderRadius: theme.spacing(0.37), '&:hover': { filter: 'grayscale(15%)',