Skip to content

Commit

Permalink
Fix sideImage
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-chassagne committed Dec 13, 2023
1 parent cc9d90d commit 83c364f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/Contentful/ContentfulLayoutHero.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,15 @@ const ContentfulLayoutHero = props => {
backgroundImageDarkMode={backgroundImageDarkMode}
modules={modules}
sideImage={sideImage}
sideImagePortfolio={sideImagePortfolio}
sideImagePortfolio={
!isEmpty(sideImagePortfolio) ? sideImagePortfolio : sideImage
}
sideImageDarkMode={sideImageDarkMode}
sideImagePortfolioDarkMode={sideImagePortfolioDarkMode}
sideImagePortfolioDarkMode={
!isEmpty(sideImagePortfolioDarkMode)
? sideImagePortfolioDarkMode
: sideImageDarkMode
}
hideHeadline={hideHeadline}
showLearnMore={showLearnMore}
showFavIcon={showFavIcon}
Expand Down

0 comments on commit 83c364f

Please sign in to comment.