Skip to content

Commit

Permalink
Merge pull request #14089 from Baystef/migrate/roadmapimagecontent
Browse files Browse the repository at this point in the history
Migrate roadmap/roadmapimagecontent to shadcn/tailwind
  • Loading branch information
pettinarip authored Oct 28, 2024
2 parents 0cb030a + 81d1bf3 commit 9a336dd
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/components/Roadmap/RoadmapImageContent.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Center, Flex, Heading, Stack } from "@chakra-ui/react"

import { Image } from "@/components/Image"
import { TwImage } from "@/components/Image"
import { Center, Flex, Stack } from "@/components/ui/flex"

import wallet from "@/public/images/wallet.png"

Expand All @@ -10,16 +9,16 @@ export type RoadmapImageContentProps = {
}

const RoadmapImageContent = ({ children, title }: RoadmapImageContentProps) => (
<Stack mb={1} mt={16}>
<Heading as="h3">{title}</Heading>
<Flex flexDir={{ base: "column", lg: "row" }}>
<Stack mb={4}>{children}</Stack>
<Center minW="fit-content">
<Image
<Stack className="mb-1 mt-16">
<h3>{title}</h3>
<Flex className="flex-col lg:flex-row">
<Stack className="mb-4">{children}</Stack>
<Center className="min-w-fit">
<TwImage
className="object-contain"
src={wallet}
alt="Ethereum Wallet"
width={350}
style={{ objectFit: "contain" }}
/>
</Center>
</Flex>
Expand Down

0 comments on commit 9a336dd

Please sign in to comment.