Skip to content

Commit 81dc9bb

Browse files
committed
remove banner
1 parent 45f9a15 commit 81dc9bb

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

components/Layout.tsx

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,6 @@ const Layout = ({ children }: { children: ReactNode }) => {
166166
}`}
167167
>
168168
<TopBar />
169-
<BannerContent
170-
isClaim={true}
171-
text={'Withdrawal & trading have resumed'}
172-
/>
173169
{asPath !== '/rewards' ? <PromoBanner /> : null}
174170
<NewListingBanner />
175171
<div className="pb-12 md:pb-[27px]">
@@ -289,32 +285,3 @@ function DeployRefreshManager(): JSX.Element | null {
289285
</Transition>
290286
)
291287
}
292-
293-
const BannerContent = ({
294-
text,
295-
isClaim,
296-
}: {
297-
text: string
298-
isClaim?: boolean
299-
}) => {
300-
return (
301-
<div className="relative">
302-
<div
303-
className={`flex flex-wrap items-center justify-center border-b border-th-bkg-3 bg-gradient-to-r from-th-bkg-1 ${
304-
isClaim ? 'via-orange-800' : 'via-th-bkg-3'
305-
} to-th-bkg-1 px-10 py-3`}
306-
>
307-
<p
308-
className={`mr-2 text-center ${
309-
isClaim ? 'text-white' : 'text-th-fgd-1'
310-
} lg:text-base`}
311-
>
312-
{text}{' '}
313-
<a href="https://discord.com/channels/791995070613159966/791995070613159971/1314637420490264668">
314-
Link
315-
</a>
316-
</p>
317-
</div>
318-
</div>
319-
)
320-
}

0 commit comments

Comments
 (0)