diff --git a/public/static/locales/en/profile.json b/public/static/locales/en/profile.json index a7033f0fa1..3eabd28583 100644 --- a/public/static/locales/en/profile.json +++ b/public/static/locales/en/profile.json @@ -112,7 +112,8 @@ "m2": "m²" }, "infoAndCtaContainer": { - "sdgCardsSectionHeading": "Restoring Ecosystems & Fighting the Climate Crisis for the SDGs", + "sdgSectionHeadingPrimary": "Restoring Ecosystems & Fighting the Climate Crisis.", + "sdgSectionHeadingSecondary": "Contributing to the Sustainable Development Goals.", "pfpDonorCircleMember": "Plant-for-the-Planet donor circle member", "publicProfileActions": { "becomeAMember": "Become a Member", diff --git a/src/features/common/CarouselSlider/index.tsx b/src/features/common/CarouselSlider/index.tsx index 1b896d145d..56291fb6c3 100644 --- a/src/features/common/CarouselSlider/index.tsx +++ b/src/features/common/CarouselSlider/index.tsx @@ -38,7 +38,10 @@ const CarouselArrow = (props: { }; interface CarouselSliderProps { - carouselTitle: string; + carouselTitles: { + primary: string; + secondary: string; + }; carouselData: ReactElement[]; settings: Settings; currentSlide: number; @@ -47,7 +50,7 @@ interface CarouselSliderProps { } const CarouselSlider = ({ - carouselTitle, + carouselTitles, carouselData, settings, currentSlide, @@ -105,7 +108,8 @@ const CarouselSlider = ({
-

{carouselTitle}

+

{carouselTitles.primary}

+

{carouselTitles.secondary}

{ return (