import { useDisclosure, Modal, ModalOverlay, ModalContent, ModalCloseButton, ModalBody, Stack, Heading, List, ListItem, ListIcon, Text, } from '@chakra-ui/react' import { CheckSquareIcon } from 'assets/icons' import { useRouter } from 'next/router' import { useEffect } from 'react' export const GettingStartedModal = () => { const { query } = useRouter() const { isOpen, onOpen, onClose } = useDisclosure() useEffect(() => { if (query.isFirstBot) onOpen() // eslint-disable-next-line react-hooks/exhaustive-deps }, []) return ( Editor basics The left side bar contains blocks that you can drag and drop to the canva You can group blocks together by dragging them below or above each other Don't forget to connect blocks together Preview your bot by clicking the preview button on the right Feel free to use the bottom-right bubble to contact if you have any question 😃 See it in action ({`<`} 5 minutes)