File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,9 @@ const Layout: React.FC<IProps> = ({
195
195
</ div >
196
196
</ BannerNotification >
197
197
< SkipLinkAnchor id = "main-content" />
198
- { isMergePage && < Centered id = "confetti-easter-egg" /> }
198
+ { ( isMergePage || isHomepage ) && (
199
+ < Centered id = "confetti-easter-egg" />
200
+ ) }
199
201
< MainContainer >
200
202
{ shouldShowSideNav && (
201
203
< VisuallyHidden isHidden = { isZenMode } >
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ import SimpleTokenContent from "!!raw-loader!../data/SimpleToken.sol"
31
31
import CreateWalletContent from "!!raw-loader!../data/CreateWallet.js"
32
32
import SimpleDomainRegistryContent from "!!raw-loader!../data/SimpleDomainRegistry.sol"
33
33
import { useConsoleEasterEgg } from "../hooks/useConsoleEasterEgg"
34
- import { useConfetti } from "../hooks/useConfetti"
35
34
36
35
const Hero = styled ( GatsbyImage ) `
37
36
width: 100%;
@@ -426,7 +425,6 @@ const HomePage = ({
426
425
}
427
426
428
427
useConsoleEasterEgg ( )
429
- useConfetti ( "confetti-easter-egg" )
430
428
431
429
const cards = [
432
430
{
@@ -571,7 +569,6 @@ const HomePage = ({
571
569
alt = { translateMessageId ( "page-index-hero-image-alt" , intl ) }
572
570
loading = "eager"
573
571
/>
574
- < div id = "confetti-easter-egg" />
575
572
< Morpher />
576
573
< Header >
577
574
< H1 >
You can’t perform that action at this time.
0 commit comments