File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/components/Translatathon Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- import { Center , Text } from "@chakra-ui/react"
2
-
3
1
import DismissableBanner from "@/components/Banners/DismissableBanner"
4
2
import { ButtonLink } from "@/components/Buttons"
5
3
4
+ import { Center } from "../ui/flex"
5
+
6
6
export const TranslatathonBanner = ( { pathname } ) => {
7
7
const todaysDate = new Date ( )
8
8
const translatathonStartDate = new Date ( "August 9, 2024 12:00:00 UTC" )
@@ -12,8 +12,8 @@ export const TranslatathonBanner = ({ pathname }) => {
12
12
13
13
return todaysDate < translatathonStartDate && showBanner ? (
14
14
< 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 >
17
17
< ButtonLink
18
18
href = "/contributing/translation-program/translatathon"
19
19
variant = "outline"
You can’t perform that action at this time.
0 commit comments