Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
joyponader authored Sep 12, 2024
1 parent cf20b0a commit d2080d1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions components/Section/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,18 @@ export const Section = ({
isFirstSection={isFirstSection}
>
<>
{/* Custom conditional rendering for iframe */}
{section.id === "soliort-karte" && (
<div className={s.customIframeContainer}>
<iframe
src="https://example.com" // Replace with the actual iframe source
width="100%"
height="500px"
frameBorder="0"
allowFullScreen
></iframe>
</div>
)}
<div
className={cN(s.elementContainer, {
[s.hamburg]: IS_HAMBURG_PROJECT,
Expand Down

0 comments on commit d2080d1

Please sign in to comment.