import { useDisclosure, Modal, ModalOverlay, ModalContent, ModalCloseButton, ModalBody, Stack, Heading, List, ListItem, ListIcon, Text, Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, Box, } 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 board. You can group blocks together by dropping them below or above each other Connect the groups together Preview your bot by clicking the preview button on the top right Feel free to use the bottom-right bubble to reach out if you have any question. I usually answer within the next 24 hours. 😃 See it in action ({`<`} 5 minutes)