From 35ee0fdbc1e131fc3bf608dacef2728c6ecfb14c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Brzezin=CC=81ski?= Date: Fri, 6 Dec 2024 21:18:08 +0400 Subject: [PATCH] alert --- components/Layout.tsx | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/components/Layout.tsx b/components/Layout.tsx index a350ae7a..2c04eae1 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -166,6 +166,12 @@ const Layout = ({ children }: { children: ReactNode }) => { }`} > + {asPath !== '/rewards' ? : null}
@@ -285,3 +291,32 @@ function DeployRefreshManager(): JSX.Element | null { ) } + +const BannerContent = ({ + text, + isClaim, +}: { + text: string + isClaim?: boolean +}) => { + return ( +
+
+

+ {text}{' '} + + Link + +

+
+
+ ) +}