Skip to content

Commit a686c3c

Browse files
committed
update notification bar for solana
1 parent e6303ff commit a686c3c

File tree

2 files changed

+38
-36
lines changed

2 files changed

+38
-36
lines changed

components/Body/NotificationBar.tsx

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -41,54 +41,52 @@ function NotificationBar() {
4141
// });
4242
// }, []);
4343

44-
return process.env.NEXT_PUBLIC_GITCOIN_GRANTS_ACTIVE === "true" ? (
44+
return (
4545
<Alert status="info" bg={"#151515"}>
4646
<Center w="100%">
4747
<Link
48-
href={process.env.NEXT_PUBLIC_GITCOIN_GRANTS_LINK}
48+
href={"https://solana.impersonator.xyz"}
4949
isExternal
5050
_hover={{
5151
textDecor: "none",
5252
}}
5353
>
54-
<HStack
55-
position="relative"
56-
sx={{
57-
"&::after": {
58-
content: '""',
59-
position: "absolute",
60-
bottom: 0,
61-
left: 0,
62-
right: 0,
63-
height: "2px",
64-
background: "linear-gradient(90deg, #FF0080, #7928CA, #FF0080)",
65-
backgroundSize: "200% 100%",
66-
animation: "gradient 3s linear infinite",
67-
"@keyframes gradient": {
68-
"0%": { backgroundPosition: "0% 0%" },
69-
"100%": { backgroundPosition: "200% 0%" },
70-
},
71-
},
72-
}}
73-
>
74-
<Text>Support on</Text>
54+
<HStack>
55+
<Text>
56+
🟣 <b>SOLANA</b> support is live:
57+
</Text>
7558

76-
<HStack ml={-0.5} fontWeight="bold">
77-
<Text>Gitcoin Grants</Text>
59+
<HStack
60+
ml={-0.5}
61+
fontWeight="bold"
62+
position="relative"
63+
sx={{
64+
"&::after": {
65+
content: '""',
66+
position: "absolute",
67+
bottom: 0,
68+
left: 0,
69+
right: 0,
70+
height: "2px",
71+
background:
72+
"linear-gradient(90deg, #FF0080, #7928CA, #FF0080)",
73+
backgroundSize: "200% 100%",
74+
animation: "gradient 3s linear infinite",
75+
"@keyframes gradient": {
76+
"0%": { backgroundPosition: "0% 0%" },
77+
"100%": { backgroundPosition: "200% 0%" },
78+
},
79+
},
80+
}}
81+
>
82+
<Text>solana.impersonator.xyz</Text>
7883
<ExternalLinkIcon />
7984
</HStack>
8085
</HStack>
8186
</Link>
8287
</Center>
83-
{/* <CloseButton
84-
alignSelf="flex-start"
85-
position="relative"
86-
right={-1}
87-
top={-1}
88-
onClick={() => setIsVisible(false)}
89-
/> */}
9088
</Alert>
91-
) : null;
89+
);
9290
}
9391

9492
export default NotificationBar;

components/Body/index.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,10 +677,14 @@ function Body() {
677677

678678
return (
679679
<>
680-
{process.env.NEXT_PUBLIC_GITCOIN_GRANTS_ACTIVE === "true" && (
680+
{/* {process.env.NEXT_PUBLIC_GITCOIN_GRANTS_ACTIVE === "true" && (
681681
<NotificationBar />
682-
)}
683-
<Container mt="10" mb="16" minW={["0", "0", "2xl", "2xl"]}>
682+
)} */}
683+
<NotificationBar />
684+
<Center mt="8" fontStyle={"italic"}>
685+
Connect to dapps as any ETH Address!
686+
</Center>
687+
<Container mt="2" mb="16" minW={["0", "0", "2xl", "2xl"]}>
684688
<Flex>
685689
<Spacer flex="1" />
686690
<TenderlySettings

0 commit comments

Comments
 (0)