Skip to content

Commit 9a3209f

Browse files
committed
refactor(stakinghowsoloworks): migrate staking/stakinghowsoloworks to shadcn/tailwind
1 parent 2e0e0ed commit 9a3209f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/components/Staking/StakingHowSoloWorks.tsx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/* eslint-disable react/jsx-key */
2-
import { Center } from "@chakra-ui/react"
3-
4-
import { Image } from "@/components/Image"
2+
import { TwImage } from "@/components/Image"
53
import OrderedList from "@/components/OrderedList"
64
import Translation from "@/components/Translation"
5+
import { Center } from "@/components/ui/flex"
76

87
import image from "@/public/images/hackathon_transparent.png"
98

@@ -27,12 +26,9 @@ const StakingHowSoloWorks = () => {
2726
]
2827

2928
return (
30-
<Center
31-
flexDirection={{ base: "column", md: "row" }}
32-
justifyContent="space-between"
33-
>
29+
<Center className="flex-col justify-between md:flex-row">
3430
<OrderedList listData={items} />
35-
<Image src={image} alt="" width={400} />
31+
<TwImage src={image} alt="" width={400} />
3632
</Center>
3733
)
3834
}

0 commit comments

Comments
 (0)