import React from "react"; import Grid from "@mui/material/Grid"; import Card from "@mui/material/Card"; import Link from 'next/link'; import styles from '@/styles/PageTitle.module.css' import Typography from "@mui/material/Typography"; import Box from "@mui/material/Box"; import { styled, alpha } from "@mui/material/styles"; import InputBase from "@mui/material/InputBase"; import SearchIcon from "@mui/icons-material/Search"; import Badge from "@mui/material/Badge"; import { Tab, Tabs, TabList, TabPanel } from "react-tabs"; import ChatBox from "@/components/Apps/Chat/ChatBox"; import ChatBoxTwo from "@/components/Apps/Chat/ChatBoxTwo"; import ChatBoxThree from "@/components/Apps/Chat/ChatBoxThree"; // Search field style const Search = styled("div")(({ theme }) => ({ position: "relative", borderRadius: 100, backgroundColor: alpha(theme.palette.common.white, 0.15), "&:hover": { backgroundColor: alpha(theme.palette.common.white, 0.25), }, marginRight: 0, marginLeft: 0, marginBottom: 20, width: "100%", [theme.breakpoints.up("xs")]: { marginRight: theme.spacing(1), width: "auto", }, })); const SearchIconWrapper = styled("div")(({ theme }) => ({ color: "#757FEF", padding: theme.spacing(0, 2), height: "100%", position: "absolute", right: "0", pointerEvents: "none", display: "flex", alignItems: "center", justifyContent: "center", zIndex: "5", })); const StyledInputBase = styled(InputBase)(({ theme }) => ({ color: "inherit", width: "100%", "& .MuiInputBase-input": { backgroundColor: "#F5F7FA", borderRadius: "30px", padding: theme.spacing(1.4, 0, 1.4, 2), }, })); export default function Chat() { return ( <> {/* Page title */}