Skip to content

Commit 6b91d23

Browse files
authored
Merge pull request #14410 from Sambit03/migrate-Translatathon/TranslatathonBanner
Migrate TranslatathonBanner to Shadcn/Tailwins
2 parents 94d12a8 + aa8b69c commit 6b91d23

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/Translatathon/TranslatathonBanner.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Center, Text } from "@chakra-ui/react"
2-
31
import DismissableBanner from "@/components/Banners/DismissableBanner"
4-
import { ButtonLink } from "@/components/Buttons"
2+
3+
import { ButtonLink } from "../ui/buttons/Button"
4+
import { Center } from "../ui/flex"
55

66
export const TranslatathonBanner = ({ pathname }) => {
77
const todaysDate = new Date()
@@ -12,8 +12,8 @@ export const TranslatathonBanner = ({ pathname }) => {
1212

1313
return todaysDate < translatathonStartDate && showBanner ? (
1414
<DismissableBanner storageKey="translatathon-banner">
15-
<Center gap={4}>
16-
<Text>🚨 Applications for the 2024 Translathathon are open 🚨</Text>
15+
<Center className="gap-4">
16+
<p>🚨 Applications for the 2024 Translathathon are open 🚨</p>
1717
<ButtonLink
1818
href="/contributing/translation-program/translatathon"
1919
variant="outline"

0 commit comments

Comments
 (0)