File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed
src/components/Translatathon Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change 1
- import { Center , Flex } from "@chakra-ui/react"
1
+ import { TwImage } from "@/components/Image"
2
+ import { Center , Flex } from "@/components/ui/flex"
2
3
3
- import { ButtonLink } from "@/components/Buttons"
4
- import { Image } from "@/components/Image"
4
+ import { ButtonLink } from "../ui/buttons/Button"
5
5
6
6
import WalkingImage from "@/public/images/translatathon/walking.png"
7
7
8
8
export const TranslationHubCallout = ( { children } ) => {
9
9
return (
10
- < Flex
11
- w = "full"
12
- align = "stretch"
13
- bg = "background.highlight"
14
- direction = { { base : "column" , lg : "row" } }
15
- p = { 8 }
16
- gap = { 8 }
17
- >
18
- < Flex w = "full" direction = "column" >
10
+ < Flex className = "w-full flex-col items-stretch gap-8 bg-background-highlight p-8 lg:flex-row" >
11
+ < Flex className = "w-full flex-col" >
19
12
{ children }
20
13
< Flex >
21
14
< ButtonLink href = "/contributing/translation-program/translatathon/translatathon-hubs" >
22
15
Find out more on hubs
23
16
</ ButtonLink >
24
17
</ Flex >
25
18
</ Flex >
26
- < Center w = " full">
27
- < Image
19
+ < Center className = "w- full">
20
+ < TwImage
28
21
src = { WalkingImage }
29
22
alt = ""
30
- maxW = { 265 }
31
23
style = { { objectFit : "contain" } }
24
+ className = "max-w-[265px]"
32
25
/>
33
26
</ Center >
34
27
</ Flex >
You can’t perform that action at this time.
0 commit comments