File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/components/Translatathon Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
- import { Box , Flex } from "@chakra-ui/react"
2
-
3
- import { ButtonLink } from "@/components/Buttons"
4
1
import Callout from "@/components/Callout"
5
2
3
+ import { ButtonLink } from "../ui/buttons/Button"
4
+ import { Flex } from "../ui/flex"
5
+
6
6
import { APPLICATION_END_DATE , APPLICATION_URL } from "./constants"
7
7
8
8
import DolphinImage from "@/public/images/translatathon/translatathon_dolphin.png"
@@ -15,20 +15,20 @@ export const ApplyNow = () => {
15
15
16
16
if ( dateToday < deadline ) {
17
17
return (
18
- < Box pt = { 12 } >
18
+ < div className = "pt-12" >
19
19
< Callout
20
- flex = "1 1 416px"
20
+ className = "flex-1 flex-shrink basis-[ 416px] "
21
21
image = { DolphinImage }
22
22
titleKey = "page-translatathon:translatathon-apply-now"
23
23
descriptionKey = "page-translatathon:translatathon-apply-now-desc"
24
24
alignItems = "center"
25
25
textAlign = "center"
26
26
>
27
- < Flex m = " auto">
27
+ < Flex className = "m- auto">
28
28
< ButtonLink href = { APPLICATION_URL } > Apply now</ ButtonLink >
29
29
</ Flex >
30
30
</ Callout >
31
- </ Box >
31
+ </ div >
32
32
)
33
33
} else {
34
34
return < > </ >
You can’t perform that action at this time.
0 commit comments