diff --git a/web/components/home/HowItWorksSection.tsx b/web/components/home/HowItWorksSection.tsx new file mode 100644 index 0000000..284782a --- /dev/null +++ b/web/components/home/HowItWorksSection.tsx @@ -0,0 +1,61 @@ +import { AddIcon, MinusIcon } from '@chakra-ui/icons' +import { + Accordion, + AccordionButton, + AccordionIcon, + AccordionItem, + AccordionPanel, + Box, + Container, + Heading, + Stack, + Text, +} from '@chakra-ui/react' +import React from 'react' +import { howItWorksContent } from './howItWorksContent' + +export default function HowItWorksSection() { + return ( + + + + + How It Works + + + + Lorem ipsum dolor sit, amet consectetur adipisicing elit. Illo + exercitationem quo quibusdam, fugit quaerat odio quisquam commodi ut? + Aliquid ab sapiente, expedita quas neque amet consectetur quisquam + reprehenderit voluptas commodi? + + + + + + {howItWorksContent.map(({ title, description }) => ( + + {({ isExpanded }) => ( + <> +

+ + + {title} + + {isExpanded ? ( + + ) : ( + + )} + +

+ {description} + + )} +
+ ))} +
+
+
+ ) +} diff --git a/web/components/home/IntroSection.tsx b/web/components/home/IntroSection.tsx index 04adf64..e7d74be 100644 --- a/web/components/home/IntroSection.tsx +++ b/web/components/home/IntroSection.tsx @@ -10,6 +10,7 @@ import { IconButton, createIcon, } from '@chakra-ui/react' +import Link from 'next/link' import Router from 'next/router' export default function IntroSection() { @@ -70,15 +71,17 @@ export default function IntroSection() { > Get Started - + + + + ) }