File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
1
/* eslint-disable react/jsx-key */
2
- import { Center } from "@chakra-ui/react"
3
-
4
- import { Image } from "@/components/Image"
5
- import OrderedList from "@/components/OrderedList"
2
+ import { TwImage } from "@/components/Image"
6
3
import Translation from "@/components/Translation"
4
+ import { Center } from "@/components/ui/flex"
5
+
6
+ import { ListItem , OrderedList } from "../ui/list"
7
7
8
8
import image from "@/public/images/hackathon_transparent.png"
9
9
@@ -27,12 +27,13 @@ const StakingHowSoloWorks = () => {
27
27
]
28
28
29
29
return (
30
- < Center
31
- flexDirection = { { base : "column" , md : "row" } }
32
- justifyContent = "space-between"
33
- >
34
- < OrderedList listData = { items } />
35
- < Image src = { image } alt = "" width = { 400 } />
30
+ < Center className = "flex-col justify-between md:flex-row" >
31
+ < OrderedList >
32
+ { items . map ( ( item , index ) => (
33
+ < ListItem key = { index } > { item } </ ListItem >
34
+ ) ) }
35
+ </ OrderedList >
36
+ < TwImage src = { image } alt = "" width = { 400 } />
36
37
</ Center >
37
38
)
38
39
}
You can’t perform that action at this time.
0 commit comments