diff --git a/website/src/app/[lang]/[region]/(website)/our-work/(sections)/whats-next.tsx b/website/src/app/[lang]/[region]/(website)/our-work/(sections)/whats-next.tsx deleted file mode 100644 index 54743e580..000000000 --- a/website/src/app/[lang]/[region]/(website)/our-work/(sections)/whats-next.tsx +++ /dev/null @@ -1,89 +0,0 @@ -import { DefaultPageProps } from '@/app/[lang]/[region]'; -import { CheckIcon, ListBulletIcon } from '@heroicons/react/24/solid'; -import { Translator } from '@socialincome/shared/src/utils/i18n'; -import { BaseContainer, Typography } from '@socialincome/ui'; -import classNames from 'classnames'; - -export async function WhatsNext({ params }: DefaultPageProps) { - const translator = await Translator.getInstance({ - language: params.lang, - namespaces: ['website-our-work'], - }); - - const timeline = [ - { - title: translator.t('whats-next.timeline.item-1.title'), - text: translator.t('whats-next.timeline.item-1.text'), - Icon: CheckIcon, - iconColor: 'text-green-500', - }, - { - title: translator.t('whats-next.timeline.item-2.title'), - text: translator.t('whats-next.timeline.item-2.text'), - Icon: CheckIcon, - iconColor: 'text-green-500', - }, - { - title: translator.t('whats-next.timeline.item-3.title'), - text: translator.t('whats-next.timeline.item-3.text'), - Icon: CheckIcon, - iconColor: 'text-green-500', - }, - { - title: translator.t('whats-next.timeline.item-4.title'), - text: translator.t('whats-next.timeline.item-4.text'), - Icon: ListBulletIcon, - iconColor: 'text-secondary', - }, - ]; - - return ( - - - - {translator.t('whats-next.header')} - - - - {translator.t('whats-next.title-1')} - - - {translator.t('whats-next.title-2')} - - - {translator.t('whats-next.subtitle')} - - - - {timeline.map(({ Icon, iconColor, title, text }, index) => ( - - - {index !== timeline.length - 1 ? ( - - ) : null} - - {Icon !== undefined ? ( - - - - - - ) : ( - - )} - - - - {title} - - {text} - - - - - - ))} - - - ); -} diff --git a/website/src/app/[lang]/[region]/(website)/our-work/page.tsx b/website/src/app/[lang]/[region]/(website)/our-work/page.tsx index 42a99383c..017331434 100644 --- a/website/src/app/[lang]/[region]/(website)/our-work/page.tsx +++ b/website/src/app/[lang]/[region]/(website)/our-work/page.tsx @@ -5,7 +5,6 @@ import { Contributors } from './(sections)/contributors'; import { HowItWorks } from './(sections)/how-it-works'; import { OurWork } from './(sections)/our-work'; import { Recipients } from './(sections)/recipients'; -import { WhatsNext } from './(sections)/whats-next'; export async function generateMetadata({ params }: DefaultPageProps) { return getMetadata(params.lang, 'website-our-work'); @@ -18,7 +17,6 @@ export default async function Page(props: DefaultPageProps) { - ); }
- - {translator.t('whats-next.title-1')} - - - {translator.t('whats-next.title-2')} - -