Skip to content

Commit

Permalink
Merge pull request #14090 from Baystef/migrate/stakinghowsoloworks
Browse files Browse the repository at this point in the history
Migrate staking/stakinghowsoloworks to shadcn/tailwind
  • Loading branch information
pettinarip authored Dec 27, 2024
2 parents a013534 + ccd22bc commit 34bab34
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/components/Staking/StakingHowSoloWorks.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* eslint-disable react/jsx-key */
import { Center } from "@chakra-ui/react"

import { Image } from "@/components/Image"
import OrderedList from "@/components/OrderedList"
import { TwImage } from "@/components/Image"
import Translation from "@/components/Translation"
import { Center } from "@/components/ui/flex"

import { ListItem, OrderedList } from "../ui/list"

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

Expand All @@ -27,12 +27,13 @@ const StakingHowSoloWorks = () => {
]

return (
<Center
flexDirection={{ base: "column", md: "row" }}
justifyContent="space-between"
>
<OrderedList listData={items} />
<Image src={image} alt="" width={400} />
<Center className="flex-col justify-between md:flex-row">
<OrderedList>
{items.map((item, index) => (
<ListItem key={index}>{item}</ListItem>
))}
</OrderedList>
<TwImage src={image} alt="" width={400} />
</Center>
)
}
Expand Down

0 comments on commit 34bab34

Please sign in to comment.