import { useDisclosure, Modal, ModalOverlay, ModalContent, ModalCloseButton, ModalBody, Stack, Heading, List, ListItem, Text, Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, Box, HStack, Flex, } from '@chakra-ui/react' 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 1 The left side bar contains blocks that you can drag and drop to the board. 2 You can group blocks together by dropping them below or above each other 3 Connect the groups together 4 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)