diff --git a/web/components/Campaign/CampaignHelper.tsx b/web/components/Campaign/CampaignHelper.tsx index d64ea309..f58b5baf 100644 --- a/web/components/Campaign/CampaignHelper.tsx +++ b/web/components/Campaign/CampaignHelper.tsx @@ -1,6 +1,8 @@ import { HStack, Text, Flex, Button, StackProps } from '@chakra-ui/react' import { useTranslation } from 'next-i18next' import { ActiveCampaign } from '~components/Campaign/CampaignContext' +import Link from '~components/Link' +import { ROUTE_PLACES } from '~constants' const CampaignHelper = ({ campaign, @@ -24,7 +26,15 @@ const CampaignHelper = ({ {campaign ? campaign.description : t('solidarity.helper')} - diff --git a/web/components/Campaign/CampaignProvider.tsx b/web/components/Campaign/CampaignProvider.tsx index 163c747e..2f642d25 100644 --- a/web/components/Campaign/CampaignProvider.tsx +++ b/web/components/Campaign/CampaignProvider.tsx @@ -24,8 +24,8 @@ const CampaignProvider = ({ children }: ICampaignProvider) => { useEffect(() => { if (Boolean(campaigns?.length)) { const activeCampaigns = campaigns?.map((campaign) => { - const mode = getCampaignMode(campaign) - // const mode = 'applications' + //const mode = getCampaignMode(campaign) + const mode = 'applications' const limitDate = getLimitDate(campaign, mode) return { ...campaign, mode, limitDate } }) diff --git a/web/components/Campaign/HomeInsert/HomeCampaignInsert.tsx b/web/components/Campaign/HomeInsert/HomeCampaignInsert.tsx index 9fc866e6..3d915251 100644 --- a/web/components/Campaign/HomeInsert/HomeCampaignInsert.tsx +++ b/web/components/Campaign/HomeInsert/HomeCampaignInsert.tsx @@ -5,6 +5,7 @@ import { useTranslation } from 'next-i18next' import { ROUTE_ACCOUNT_PLACES, ROUTE_PLACES } from '~constants' import { CampaignMode } from '~components/Campaign/CampaignContext' import Tag from '~components/Tag' +import Link from '~components/Link' const HomeCampaignInsert = ({ mode, @@ -48,8 +49,11 @@ const HomeCampaignInsert = ({