Skip to content

Commit f2ab047

Browse files
authored
Merge pull request #14012 from saurabhburade/shadcn-migrate/DevconGrantsBanner
Shadcn migrate - DevconGrantsBanner
2 parents aafab81 + c280108 commit f2ab047

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/components/DevconGrantsBanner.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { Text } from "@chakra-ui/react"
2-
31
import DismissableBanner from "@/components/Banners/DismissableBanner"
42
import Emoji from "@/components/Emoji"
5-
import Link from "@/components/Link"
3+
4+
import { BaseLink } from "./ui/Link"
65

76
type DevconGrantsBannerProps = {
87
pathname: string
@@ -12,14 +11,14 @@ const DevconGrantsBanner = ({ pathname }: DevconGrantsBannerProps) => {
1211
if (pathname.includes("community") && pathname.includes("events")) {
1312
return (
1413
<DismissableBanner storageKey="devconGrants">
15-
<Text m={0}>
14+
<p>
1615
The Road to Devcon Grants support Ethereum education initiatives in
1716
and close to Southeast Asia <Emoji text="🦄" /> <Emoji text="🌏" />{" "}
1817
Learn more{" "}
19-
<Link href="https://esp.ethereum.foundation/devcon-grants">
18+
<BaseLink href="https://esp.ethereum.foundation/devcon-grants">
2019
here.
21-
</Link>
22-
</Text>
20+
</BaseLink>
21+
</p>
2322
</DismissableBanner>
2423
)
2524
}

0 commit comments

Comments
 (0)