diff --git a/src/templates/homepage/HeroSection/HeroImageOnlyLayout.tsx b/src/templates/homepage/HeroSection/HeroImageOnlyLayout.tsx index a7e629220..e44c7ba2d 100644 --- a/src/templates/homepage/HeroSection/HeroImageOnlyLayout.tsx +++ b/src/templates/homepage/HeroSection/HeroImageOnlyLayout.tsx @@ -2,7 +2,20 @@ import editorStyles from "styles/isomer-cms/pages/Editor.module.scss" import { getClassNames } from "templates/utils/stylingUtils" -export const HeroImageOnlyLayout = () => { +import { EditorHeroDropdownSection } from "types/homepage" + +import { HeroDropdown } from "./HeroDropdown" + +interface HeroImageOnlyLayoutProps { + dropdown?: EditorHeroDropdownSection["dropdown"] + dropdownIsActive: boolean + toggleDropdown: () => void +} +export const HeroImageOnlyLayout = ({ + dropdown, + dropdownIsActive, + toggleDropdown, +}: HeroImageOnlyLayoutProps) => { return (
{ "ma", ])} > -
+
+ {dropdown && ( + + )} +
diff --git a/src/templates/homepage/HeroSection/HeroSection.tsx b/src/templates/homepage/HeroSection/HeroSection.tsx index f88d08667..831813d24 100644 --- a/src/templates/homepage/HeroSection/HeroSection.tsx +++ b/src/templates/homepage/HeroSection/HeroSection.tsx @@ -151,7 +151,13 @@ export const TemplateHeroSection = forwardRef< toggleDropdown={toggleDropdown} /> )} - {variant === "image" && } + {variant === "image" && ( + + )} {variant === "side" && (