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