diff --git a/ui/src/interfaces/color.ts b/ui/src/interfaces/color.ts index 4d8e9fec4..19d373173 100644 --- a/ui/src/interfaces/color.ts +++ b/ui/src/interfaces/color.ts @@ -28,6 +28,8 @@ export const COLORS = [ 'bg-purple-50', 'bg-pink-50', 'bg-muted', + 'bg-primary', + 'bg-foreground-dark', ] as const; export type Color = (typeof COLORS)[number]; @@ -63,4 +65,6 @@ export type BackgroundColor = Extract< | 'bg-purple-50' | 'bg-pink-50' | 'bg-muted' + | 'bg-primary' + | 'bg-foreground-dark' >; diff --git a/website/src/app/[lang]/[region]/v2/(home)/(assets)/avatarImgData.jpg b/website/src/app/[lang]/[region]/v2/(home)/(assets)/avatarImgData.jpg index f1fab92f7..2367c268c 100644 Binary files a/website/src/app/[lang]/[region]/v2/(home)/(assets)/avatarImgData.jpg and b/website/src/app/[lang]/[region]/v2/(home)/(assets)/avatarImgData.jpg differ diff --git a/website/src/app/[lang]/[region]/v2/(home)/(assets)/mobilesImgData.png b/website/src/app/[lang]/[region]/v2/(home)/(assets)/mobilesImgData.png index ed86e0b06..66fb05be6 100644 Binary files a/website/src/app/[lang]/[region]/v2/(home)/(assets)/mobilesImgData.png and b/website/src/app/[lang]/[region]/v2/(home)/(assets)/mobilesImgData.png differ diff --git a/website/src/app/[lang]/[region]/v2/(home)/(assets)/sdg-town.jpg b/website/src/app/[lang]/[region]/v2/(home)/(assets)/sdg-town.jpg new file mode 100644 index 000000000..f67c56223 Binary files /dev/null and b/website/src/app/[lang]/[region]/v2/(home)/(assets)/sdg-town.jpg differ diff --git a/website/src/app/[lang]/[region]/v2/(home)/(components)/approach-cards.tsx b/website/src/app/[lang]/[region]/v2/(home)/(components)/approach-cards.tsx index e2e97ca3d..aa9e33789 100644 --- a/website/src/app/[lang]/[region]/v2/(home)/(components)/approach-cards.tsx +++ b/website/src/app/[lang]/[region]/v2/(home)/(components)/approach-cards.tsx @@ -11,7 +11,7 @@ type ApproachCardProps = { export function ApproachCard({ category, title, points }: ApproachCardProps) { return ( - + {category} diff --git a/website/src/app/[lang]/[region]/v2/(home)/(components)/contributors-people-carousel.tsx b/website/src/app/[lang]/[region]/v2/(home)/(components)/contributors-people-carousel.tsx index f6a15e928..7dfda212e 100644 --- a/website/src/app/[lang]/[region]/v2/(home)/(components)/contributors-people-carousel.tsx +++ b/website/src/app/[lang]/[region]/v2/(home)/(components)/contributors-people-carousel.tsx @@ -15,7 +15,7 @@ function Portrait({ name, text, country, image }: PortraitProps) { return ( - + {text} @@ -54,7 +54,6 @@ export function ContributorsPeopleCarouselv2({ portraits }: { portraits: Portrai autoPlay: { enabled: true, delay: 5000 }, slidesToScroll: slidesToScroll, }} - showControls showDots={true} > {portraits.map((portrait, index) => ( diff --git a/website/src/app/[lang]/[region]/v2/(home)/(components)/income-input.tsx b/website/src/app/[lang]/[region]/v2/(home)/(components)/income-input.tsx index 04ada3fe8..042597b09 100644 --- a/website/src/app/[lang]/[region]/v2/(home)/(components)/income-input.tsx +++ b/website/src/app/[lang]/[region]/v2/(home)/(components)/income-input.tsx @@ -9,13 +9,13 @@ export function IncomeInput() { return (
- + 6 - diff --git a/website/src/app/[lang]/[region]/v2/(home)/(components)/quotes-carousel.tsx b/website/src/app/[lang]/[region]/v2/(home)/(components)/quotes-carousel.tsx index 7e0c2e3d0..fe89f010c 100644 --- a/website/src/app/[lang]/[region]/v2/(home)/(components)/quotes-carousel.tsx +++ b/website/src/app/[lang]/[region]/v2/(home)/(components)/quotes-carousel.tsx @@ -46,14 +46,14 @@ export function QuotesCarousel(cardsObj: CarouselCardProps) { > {cardsArr.map((card, index) => ( -
+
{card.quote.map((title, index) => ( - + {title.text}{' '} ))}
- UN symbol + UN symbol {card.author} diff --git a/website/src/app/[lang]/[region]/v2/(home)/(sections)/approach.tsx b/website/src/app/[lang]/[region]/v2/(home)/(sections)/approach.tsx index a69d3a3f6..02034120c 100644 --- a/website/src/app/[lang]/[region]/v2/(home)/(sections)/approach.tsx +++ b/website/src/app/[lang]/[region]/v2/(home)/(sections)/approach.tsx @@ -20,7 +20,7 @@ export async function Approach({ lang, region }: DefaultParams) { return ( - + {translator.t('section-7.title-1')}
diff --git a/website/src/app/[lang]/[region]/v2/(home)/(sections)/explainer-video.tsx b/website/src/app/[lang]/[region]/v2/(home)/(sections)/explainer-video.tsx index cbbb5bb53..647c7679b 100644 --- a/website/src/app/[lang]/[region]/v2/(home)/(sections)/explainer-video.tsx +++ b/website/src/app/[lang]/[region]/v2/(home)/(sections)/explainer-video.tsx @@ -11,20 +11,20 @@ export async function ExplainerVideo({ lang, region }: DefaultParams) { }); return ( - +
-
+
{translator.t<{ text: string; color?: FontColor }[]>('section-4.title-1').map((title, index) => ( - + {title.text} {index ? '' :
}
))}
-
+
- + {translator.t('section-4.cta')}
diff --git a/website/src/app/[lang]/[region]/v2/(home)/(sections)/faq.tsx b/website/src/app/[lang]/[region]/v2/(home)/(sections)/faq.tsx index 30e3709fa..247323a48 100644 --- a/website/src/app/[lang]/[region]/v2/(home)/(sections)/faq.tsx +++ b/website/src/app/[lang]/[region]/v2/(home)/(sections)/faq.tsx @@ -28,15 +28,17 @@ export async function Faq({ lang, region }: DefaultParams) { return ( - + {translator.t('section-6.title-1')}
{questions.map((question, index) => ( - - {question.prompt} + + + {question.prompt} + {question.answer} diff --git a/website/src/app/[lang]/[region]/v2/(home)/(sections)/hero-video.tsx b/website/src/app/[lang]/[region]/v2/(home)/(sections)/hero-video.tsx index 711977730..4ea8b92c0 100644 --- a/website/src/app/[lang]/[region]/v2/(home)/(sections)/hero-video.tsx +++ b/website/src/app/[lang]/[region]/v2/(home)/(sections)/hero-video.tsx @@ -1,7 +1,8 @@ import { DefaultParams } from '@/app/[lang]/[region]'; import { Translator } from '@socialincome/shared/src/utils/i18n'; -import { BaseContainer, Typography } from '@socialincome/ui'; +import { BaseContainer, Button, Typography } from '@socialincome/ui'; import { FontColor } from '@socialincome/ui/src/interfaces/color'; +import Script from 'next/script'; export async function HeroVideo({ lang, region }: DefaultParams) { const translator = await Translator.getInstance({ @@ -10,13 +11,28 @@ export async function HeroVideo({ lang, region }: DefaultParams) { }); return ( - -
- {translator.t<{ text: string; color?: FontColor }[]>('section-1.title-1').map((title, index) => ( - - {title.text}{' '} - - ))} + +
+
+
+ {translator.t<{ text: string; color?: FontColor }[]>('section-1.title-1').map((title, index) => ( + + {title.text}{' '} + + ))} +
+ +
+
+