From e8dd09912f0e359bfef2dc6f0b46b16f8d9be7e1 Mon Sep 17 00:00:00 2001 From: Mell Date: Wed, 29 Nov 2023 13:59:17 +0200 Subject: [PATCH] Add Sub banner --- src/components/utils/PageContainer.tsx | 2 +- src/components/utils/banners/PromoBanner/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/utils/PageContainer.tsx b/src/components/utils/PageContainer.tsx index 7baff5ed..80f15840 100644 --- a/src/components/utils/PageContainer.tsx +++ b/src/components/utils/PageContainer.tsx @@ -85,7 +85,7 @@ const PageContainer: FC = ({ children, isHomePage }) => { {!isValid && !isServerSide && asPath !== '/' && !asPath.includes('#') ? : <> - {false && banner} + {isHomePage && banner} { } const PromoBanner = () => { - const href = 'https://app.hydradx.io/trade/swap?assetIn=5&assetOut=24' + const href = 'https://docs.subsocial.network/docs/tutorials/get-sub' const sendEvent = useBuildSendEvent('promo_banner_clicked') return