diff --git a/src/layouts/EditHomepage/EditHomepage.jsx b/src/layouts/EditHomepage/EditHomepage.jsx index ea4d8b372..2462c2070 100644 --- a/src/layouts/EditHomepage/EditHomepage.jsx +++ b/src/layouts/EditHomepage/EditHomepage.jsx @@ -966,11 +966,17 @@ const EditHomepage = ({ match }) => { ) : ( ) diff --git a/src/layouts/components/ContactUs/CardsSection.tsx b/src/layouts/components/ContactUs/CardsSection.tsx index 0f8e4cf27..b03b6e53e 100644 --- a/src/layouts/components/ContactUs/CardsSection.tsx +++ b/src/layouts/components/ContactUs/CardsSection.tsx @@ -62,7 +62,7 @@ export const CardsSection = ({ subtitle={CONTACTUS_EMPTY_SECTION_SUBTITLE[contactUsType]} isEmpty={cardFrontMatter.length === 0} > - + {cardFrontMatter.map((card, index) => ( <> {contactUsType === "locations" ? ( diff --git a/src/layouts/components/ContactUs/LocationCard.tsx b/src/layouts/components/ContactUs/LocationCard.tsx index fb96e7878..dcc8d42af 100644 --- a/src/layouts/components/ContactUs/LocationCard.tsx +++ b/src/layouts/components/ContactUs/LocationCard.tsx @@ -133,7 +133,7 @@ export const LocationCard = ({ isEmpty={frontMatter.operating_hours.length === 0} > - + {frontMatter.operating_hours.map( (operatingHour, operatingHourIndex) => ( Delete operating hours diff --git a/src/layouts/components/Homepage/HeroBody.tsx b/src/layouts/components/Homepage/HeroBody.tsx index 2d78e1665..038540a79 100644 --- a/src/layouts/components/Homepage/HeroBody.tsx +++ b/src/layouts/components/Homepage/HeroBody.tsx @@ -120,7 +120,7 @@ export const HeroBody = ({ onFieldChange={onChange} isRequired > - + Hero background image - + {state.dropdown.options.map( ( { title: optionTitle, url: optionUrl }, @@ -131,7 +131,6 @@ export const HeroDropdownSection = ({ alignSelf="center" variant="clear" colorScheme="critical" - mt="1rem" > Delete option diff --git a/src/layouts/components/Homepage/HeroHighlightSection.tsx b/src/layouts/components/Homepage/HeroHighlightSection.tsx index 8effaded5..24991c724 100644 --- a/src/layouts/components/Homepage/HeroHighlightSection.tsx +++ b/src/layouts/components/Homepage/HeroHighlightSection.tsx @@ -85,7 +85,7 @@ export const HeroHighlightSection = ({ title="Highlights you add will appear here" subtitle="You can call out informative links using highlights" > - + {highlights.map( ( { @@ -164,7 +164,6 @@ export const HeroHighlightSection = ({ alignSelf="center" variant="clear" colorScheme="critical" - mt="1rem" > Delete highlight diff --git a/src/layouts/components/Homepage/InfopicBody.tsx b/src/layouts/components/Homepage/InfopicBody.tsx index 55bf43a23..ba38e942a 100644 --- a/src/layouts/components/Homepage/InfopicBody.tsx +++ b/src/layouts/components/Homepage/InfopicBody.tsx @@ -102,7 +102,9 @@ export const InfopicBody = ({ onFieldChange={onChange} isRequired > - Image + + Image + - + {sublinks.map((sublink, sublinkIndex) => ( - - - - - Submenu name - - - {errors.sublinks[sublinkIndex].title} - - - - Destination - - - {errors.sublinks[sublinkIndex].url} - - - - - - + + + + Submenu name + + + {errors.sublinks[sublinkIndex].title} + + + + Destination + + + {errors.sublinks[sublinkIndex].url} + + + + + ))}