import { Avatar, Box, Collapse, Drawer, DrawerContent, DrawerOverlay, Flex, Icon, IconButton, Input, InputGroup, InputLeftElement, Text, useColorModeValue, useDisclosure, } from "@chakra-ui/react"; import { FaBell } from "react-icons/fa"; import { AiFillGift } from "react-icons/ai"; import { FiMenu, FiSearch } from "react-icons/fi"; import { HiCode } from "react-icons/hi"; import { MdKeyboardArrowRight, MdHome } from "react-icons/md"; import AuthButton from '../AuthButton' import Link from 'next/link' import React from "react"; import {session} from 'next-auth/client' export default function Sidebar({children}) { const sidebar = useDisclosure(); const integrations = useDisclosure(); const NavItem = (props) => { const { icon, children, ...rest } = props; return ( {icon && ( )} {children} ); }; const SidebarContent = (props) => ( Cath.exe Home Control Panel Main Commands Coming Soon ); return ( } size="sm" /> {children} ); }