Skip to content

Commit

Permalink
feat: migrate DevconGrantsBanner to tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhburade committed Oct 1, 2024
1 parent 66100fb commit c280108
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/components/DevconGrantsBanner.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Text } from "@chakra-ui/react"

import DismissableBanner from "@/components/Banners/DismissableBanner"
import Emoji from "@/components/Emoji"
import Link from "@/components/Link"

import { BaseLink } from "./ui/Link"

type DevconGrantsBannerProps = {
pathname: string
Expand All @@ -12,14 +11,14 @@ const DevconGrantsBanner = ({ pathname }: DevconGrantsBannerProps) => {
if (pathname.includes("community") && pathname.includes("events")) {
return (
<DismissableBanner storageKey="devconGrants">
<Text m={0}>
<p>
The Road to Devcon Grants support Ethereum education initiatives in
and close to Southeast Asia <Emoji text="🦄" /> <Emoji text="🌏" />{" "}
Learn more{" "}
<Link href="https://esp.ethereum.foundation/devcon-grants">
<BaseLink href="https://esp.ethereum.foundation/devcon-grants">
here.
</Link>
</Text>
</BaseLink>
</p>
</DismissableBanner>
)
}
Expand Down

0 comments on commit c280108

Please sign in to comment.