From 8186c600b722dcb741162800dc42d92d93466d4b Mon Sep 17 00:00:00 2001 From: anamontiaga Date: Fri, 15 Dec 2023 19:24:05 +0100 Subject: [PATCH 1/2] change texts --- .../description/component.tsx | 16 +++---- frontend/containers/home/hero/component.tsx | 4 +- .../layouts/static-page/footer/component.tsx | 4 +- frontend/pages/for-investors.tsx | 44 +++++++------------ 4 files changed, 27 insertions(+), 41 deletions(-) diff --git a/frontend/containers/for-public-pages/description/component.tsx b/frontend/containers/for-public-pages/description/component.tsx index 0a9d59bc0..8d32739ae 100644 --- a/frontend/containers/for-public-pages/description/component.tsx +++ b/frontend/containers/for-public-pages/description/component.tsx @@ -32,13 +32,11 @@ export const Description: FC = ({ -
-
+
+
{leftTexts.map((text) => ( -
- {text.title} -
+
{text.title}

{text.description}

))} @@ -46,7 +44,7 @@ export const Description: FC = ({
= ({ } )} > -
-

- {rightText.title} -

+
+

{rightText.title}

{rightText.description}

diff --git a/frontend/containers/home/hero/component.tsx b/frontend/containers/home/hero/component.tsx index 5456e399e..d874577f3 100644 --- a/frontend/containers/home/hero/component.tsx +++ b/frontend/containers/home/hero/component.tsx @@ -10,8 +10,8 @@ export const Hero = () => {

diff --git a/frontend/layouts/static-page/footer/component.tsx b/frontend/layouts/static-page/footer/component.tsx index eac653431..205bc6a20 100644 --- a/frontend/layouts/static-page/footer/component.tsx +++ b/frontend/layouts/static-page/footer/component.tsx @@ -56,8 +56,8 @@ export const Footer: React.FC = ({

diff --git a/frontend/pages/for-investors.tsx b/frontend/pages/for-investors.tsx index 291be8fa3..82bbec872 100644 --- a/frontend/pages/for-investors.tsx +++ b/frontend/pages/for-investors.tsx @@ -166,8 +166,8 @@ const ForInvestorsPage: PageComponent {chunk}, }} @@ -184,52 +184,42 @@ const ForInvestorsPage: PageComponent, + title: ( + + ), description: ( <> - -
), }, { id: 'carbon', - title: , + title: ( + + ), description: ( <> -
- ), }, - { - id: 'biodiversity', - title: , - description: ( - - ), - }, ]} rightText={{ title: , description: ( ), }} From 355d1e32d6bed3c352ded50c3e26daa6533ef2c9 Mon Sep 17 00:00:00 2001 From: anamontiaga Date: Fri, 15 Dec 2023 19:27:15 +0100 Subject: [PATCH 2/2] add bold styles --- frontend/pages/for-investors.tsx | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/frontend/pages/for-investors.tsx b/frontend/pages/for-investors.tsx index 82bbec872..ee81b1ae8 100644 --- a/frontend/pages/for-investors.tsx +++ b/frontend/pages/for-investors.tsx @@ -186,8 +186,11 @@ const ForInvestorsPage: PageComponent {chunk}, + }} /> ), description: ( @@ -202,7 +205,13 @@ const ForInvestorsPage: PageComponent + {chunk}, + }} + /> ), description: ( <>