import { Button, Flex, Heading, Stack, Text, FormControl, FormLabel, Input, Checkbox, Textarea, } from '@chakra-ui/react' import React, { useEffect, useState } from 'react' import { PublicTypebot } from '@typebot.io/schemas' import { sendRequest } from '@typebot.io/lib' import { DontIcon } from 'assets/icons/DontIcon' import { DoIcon } from 'assets/icons/DoIcon' import { HandDrawnArrow } from 'assets/illustrations/HandDrawnArrow' import { Standard } from '@typebot.io/nextjs' export const IntroducingChatApps = () => { const [typebot, setTypebot] = useState() useEffect(() => { fetchTemplate() // eslint-disable-next-line react-hooks/exhaustive-deps }, []) const fetchTemplate = async () => { const { data, error } = await sendRequest(`/typebots/lead-gen-lp.json`) if (error) return setTypebot(data as PublicTypebot) } return ( Replace your old school forms with chatbots Typebot is a better way to ask for information. It leads to an increase in customer satisfaction and retention and multiply by 3 your conversion rate compared to classical forms. {typebot && ( )} Try it out! ) } const FakeLeadGenForm = () => ( Full name Email What services are you interested in? Website Dev Content Marketing Social Media UX/UI Design Additional Information