Skip to content

Commit

Permalink
Fixed all Overlay Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahan-Daksh committed Aug 11, 2024
1 parent 2e6141b commit 82abbd3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/MainPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ export default function MainPage() {
<AnimatedBackground isActive={activeSegment === 0}>
<FAQ />
</AnimatedBackground>
<div style={{ zIndex: 9999 }}>
<AnimatedBackground isActive={activeSegment === 1}>
<div>
<AnimatedBackground isActive={activeSegment === 1} style={{ zIndex: 1000 }}>
<Merch />
</AnimatedBackground>
</div>

<AnimatedBackground isActive={activeSegment === 2} style={{ zIndex: -1 }}>
<AnimatedBackground isActive={activeSegment === 2}>
<Partners />
</AnimatedBackground>

<AnimatedBackground isActive={activeSegment === 3} style={{ zIndex: -1 }}>
<AnimatedBackground isActive={activeSegment === 3}>
<Contact />
</AnimatedBackground>

Expand Down

0 comments on commit 82abbd3

Please sign in to comment.