♻️ (lp) Remove old bot-engine from landing page
This commit is contained in:
@ -11,12 +11,12 @@ import {
|
||||
Textarea,
|
||||
} from '@chakra-ui/react'
|
||||
import React, { useEffect, useState } from 'react'
|
||||
import { TypebotViewer } from 'bot-engine'
|
||||
import { PublicTypebot } from 'models'
|
||||
import { sendRequest } from 'utils'
|
||||
import { DontIcon } from 'assets/icons/DontIcon'
|
||||
import { DoIcon } from 'assets/icons/DoIcon'
|
||||
import { HandDrawnArrow } from 'assets/illustrations/HandDrawnArrow'
|
||||
import { Standard } from '@typebot.io/react'
|
||||
|
||||
export const IntroducingChatApps = () => {
|
||||
const [typebot, setTypebot] = useState<PublicTypebot>()
|
||||
@ -83,18 +83,14 @@ export const IntroducingChatApps = () => {
|
||||
>
|
||||
<DoIcon />
|
||||
{typebot && (
|
||||
<Flex
|
||||
w="full"
|
||||
h="full"
|
||||
minH={['600px', '0']}
|
||||
borderWidth="1px"
|
||||
rounded="md"
|
||||
>
|
||||
<TypebotViewer
|
||||
typebot={typebot}
|
||||
style={{ borderRadius: '0.375rem' }}
|
||||
/>
|
||||
</Flex>
|
||||
<Standard
|
||||
typebot={typebot}
|
||||
style={{
|
||||
borderRadius: '0.375rem',
|
||||
borderWidth: '1px',
|
||||
height: '562px',
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
<Flex top="-20px" right="40px" pos="absolute">
|
||||
<Text fontFamily="'Indie Flower'" fontSize="2xl">
|
||||
|
Reference in New Issue
Block a user