65 lines
1.8 KiB
TypeScript
65 lines
1.8 KiB
TypeScript
import { Flex, Stack, Heading, Box, Text, Button } from '@chakra-ui/react'
|
|
import React from 'react'
|
|
import Image from 'next/image'
|
|
import builderDndSrc from 'public/images/builder-dnd.png'
|
|
import { ArrowRight } from 'assets/icons/ArrowRight'
|
|
import { Flare } from 'assets/illustrations/Flare'
|
|
import Link from 'next/link'
|
|
|
|
export const EasyBuildingExperience = () => {
|
|
return (
|
|
<Flex as="section" justify="center" pos="relative">
|
|
<Flare
|
|
color="blue"
|
|
pos="absolute"
|
|
left="-200px"
|
|
top="-50px"
|
|
data-aos="fade"
|
|
data-aos-delay="500"
|
|
/>
|
|
<Stack
|
|
style={{ maxWidth: '1000px' }}
|
|
pt={'52'}
|
|
w="full"
|
|
px="4"
|
|
spacing={12}
|
|
direction={['column', 'row-reverse']}
|
|
justifyContent="space-between"
|
|
alignItems="center"
|
|
>
|
|
<Stack spacing="6" maxW="300px" minW={[0, '300px']}>
|
|
<Heading as="h1" data-aos="fade">
|
|
Easy building experience
|
|
</Heading>
|
|
<Text
|
|
color="gray.400"
|
|
fontSize={{ base: 'lg', xl: 'xl' }}
|
|
data-aos="fade"
|
|
>
|
|
All you have to do is drag and drop blocks to create your app. Even
|
|
if you have custom needs, you can always add custom code.
|
|
</Text>
|
|
<Flex>
|
|
<Button
|
|
as={Link}
|
|
rightIcon={<ArrowRight />}
|
|
href={`https://app.typebot.io/register`}
|
|
variant="ghost"
|
|
data-aos="fade"
|
|
>
|
|
Try it now
|
|
</Button>
|
|
</Flex>
|
|
</Stack>
|
|
<Box rounded="md" data-aos="fade">
|
|
<Image
|
|
src={builderDndSrc}
|
|
alt="incomplete results illustration"
|
|
placeholder="blur"
|
|
/>
|
|
</Box>
|
|
</Stack>
|
|
</Flex>
|
|
)
|
|
}
|