first commit
This commit is contained in:
@@ -0,0 +1,269 @@
|
||||
import React from "react";
|
||||
import Link from 'next/link';
|
||||
import styles from '@/styles/PageTitle.module.css'
|
||||
import FullCalendar from "@fullcalendar/react";
|
||||
import dayGridPlugin from "@fullcalendar/daygrid";
|
||||
import events from "@/components/Apps/Calendar/Events";
|
||||
import Card from "@mui/material/Card";
|
||||
import { Box, Typography } from "@mui/material";
|
||||
import IconButton from "@mui/material/IconButton";
|
||||
import Grid from "@mui/material/Grid";
|
||||
import Backdrop from "@mui/material/Backdrop";
|
||||
import Button from "@mui/material/Button";
|
||||
import Fade from "@mui/material/Fade";
|
||||
import Modal from "@mui/material/Modal";
|
||||
import TextField from "@mui/material/TextField";
|
||||
import AddIcon from "@mui/icons-material/Add";
|
||||
import ClearIcon from "@mui/icons-material/Clear";
|
||||
import dayjs from "dayjs";
|
||||
import Stack from "@mui/material/Stack";
|
||||
import { LocalizationProvider } from "@mui/x-date-pickers/LocalizationProvider";
|
||||
import { AdapterDayjs } from "@mui/x-date-pickers/AdapterDayjs";
|
||||
import { DateTimePicker } from "@mui/x-date-pickers/DateTimePicker";
|
||||
|
||||
// Add event modal style
|
||||
const style = {
|
||||
position: "absolute",
|
||||
top: "50%",
|
||||
left: "50%",
|
||||
transform: "translate(-50%, -50%)",
|
||||
maxWidth: 500,
|
||||
width: '100%',
|
||||
bgcolor: "background.paper",
|
||||
boxShadow: 24,
|
||||
borderRadius: "8px",
|
||||
};
|
||||
|
||||
const Calendar = () => {
|
||||
// Add event modal
|
||||
const [open, setOpen] = React.useState(false);
|
||||
const handleOpen = () => setOpen(true);
|
||||
const handleClose = () => setOpen(false);
|
||||
|
||||
const handleSubmit = (event) => {
|
||||
event.preventDefault();
|
||||
const data = new FormData(event.currentTarget);
|
||||
console.log({
|
||||
email: data.get("email"),
|
||||
password: data.get("password"),
|
||||
});
|
||||
};
|
||||
|
||||
// Date & Time ickers
|
||||
const [value, setValue] = React.useState(dayjs("2023-01-01T21:11:54"));
|
||||
|
||||
const handleChange = (newValue) => {
|
||||
setValue(newValue);
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
{/* Page title */}
|
||||
<div className={styles.pageTitle}>
|
||||
<h1>Calendar</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/">Dashboard</Link>
|
||||
</li>
|
||||
<li>Calendar</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<Card
|
||||
sx={{
|
||||
boxShadow: "none",
|
||||
borderRadius: "10px",
|
||||
p: "25px 20px",
|
||||
mb: "15px",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
justifyContent: "space-between",
|
||||
alignItems: "center",
|
||||
borderBottom: "1px solid #EEF0F7",
|
||||
paddingBottom: "10px",
|
||||
mb: "20px",
|
||||
}}
|
||||
className="for-dark-bottom-border"
|
||||
>
|
||||
<Typography
|
||||
as="h3"
|
||||
sx={{
|
||||
fontSize: 18,
|
||||
fontWeight: 500,
|
||||
}}
|
||||
>
|
||||
Calendar
|
||||
</Typography>
|
||||
|
||||
<Button
|
||||
onClick={handleOpen}
|
||||
variant="contained"
|
||||
sx={{
|
||||
textTransform: "capitalize",
|
||||
borderRadius: "8px",
|
||||
fontWeight: "500",
|
||||
fontSize: "13px",
|
||||
padding: "12px 20px",
|
||||
color: "#fff !important",
|
||||
}}
|
||||
>
|
||||
<AddIcon
|
||||
sx={{ position: "relative", top: "-1px" }}
|
||||
className='mr-5px'
|
||||
/>{" "}
|
||||
Add Event
|
||||
</Button>
|
||||
</Box>
|
||||
|
||||
<FullCalendar
|
||||
defaultView="dayGridMonth"
|
||||
plugins={[dayGridPlugin]}
|
||||
events={events}
|
||||
displayEventEnd="true"
|
||||
eventColor={"#" + Math.floor(Math.random() * 16777215).toString(16)}
|
||||
/>
|
||||
</Card>
|
||||
|
||||
{/* Add event modal */}
|
||||
<Modal
|
||||
aria-labelledby="transition-modal-title"
|
||||
aria-describedby="transition-modal-description"
|
||||
open={open}
|
||||
onClose={handleClose}
|
||||
closeAfterTransition
|
||||
BackdropComponent={Backdrop}
|
||||
BackdropProps={{
|
||||
timeout: 500,
|
||||
}}
|
||||
>
|
||||
<Fade in={open}>
|
||||
<Box sx={style} className="dark-BG-101010">
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
justifyContent: "space-between",
|
||||
alignItems: "center",
|
||||
background: "#EDEFF5",
|
||||
borderRadius: "8px",
|
||||
padding: "20px 20px",
|
||||
}}
|
||||
className="bg-black"
|
||||
>
|
||||
<Typography
|
||||
id="modal-modal-title"
|
||||
variant="h6"
|
||||
component="h2"
|
||||
sx={{
|
||||
fontWeight: "500",
|
||||
fontSize: "18px",
|
||||
}}
|
||||
>
|
||||
Add New Event
|
||||
</Typography>
|
||||
|
||||
<IconButton
|
||||
aria-label="remove"
|
||||
size="small"
|
||||
onClick={handleClose}
|
||||
className="modal-close"
|
||||
>
|
||||
<ClearIcon />
|
||||
</IconButton>
|
||||
</Box>
|
||||
|
||||
<Box component="form" noValidate onSubmit={handleSubmit}>
|
||||
<Box
|
||||
sx={{
|
||||
background: "#fff",
|
||||
padding: "20px 20px",
|
||||
borderRadius: "8px",
|
||||
}}
|
||||
className="dark-BG-101010"
|
||||
>
|
||||
<Grid container alignItems="center" spacing={2}>
|
||||
<Grid item xs={12} md={12} lg={12}>
|
||||
<Typography
|
||||
as="h5"
|
||||
sx={{
|
||||
fontWeight: "500",
|
||||
fontSize: "14px",
|
||||
mb: "12px",
|
||||
}}
|
||||
>
|
||||
Event Name
|
||||
</Typography>
|
||||
|
||||
<TextField
|
||||
autoComplete="event-name"
|
||||
name="eventName"
|
||||
fullWidth
|
||||
id="eventName"
|
||||
label="Event Name"
|
||||
autoFocus
|
||||
InputProps={{
|
||||
style: { borderRadius: 8 },
|
||||
}}
|
||||
/>
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={12} md={12} lg={12}>
|
||||
<Typography
|
||||
as="h5"
|
||||
sx={{
|
||||
fontWeight: "500",
|
||||
fontSize: "14px",
|
||||
mb: "12px",
|
||||
}}
|
||||
>
|
||||
Date & Time
|
||||
</Typography>
|
||||
|
||||
<LocalizationProvider dateAdapter={AdapterDayjs}>
|
||||
<Stack className="date-time-picker">
|
||||
<DateTimePicker
|
||||
value={value}
|
||||
onChange={handleChange}
|
||||
renderInput={(params) => <TextField {...params} />}
|
||||
/>
|
||||
</Stack>
|
||||
</LocalizationProvider>
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={12} textAlign="end">
|
||||
<Button
|
||||
type="submit"
|
||||
variant="contained"
|
||||
sx={{
|
||||
mt: 1,
|
||||
textTransform: "capitalize",
|
||||
borderRadius: "8px",
|
||||
fontWeight: "500",
|
||||
fontSize: "13px",
|
||||
padding: "12px 20px",
|
||||
color: "#fff !important",
|
||||
}}
|
||||
>
|
||||
<AddIcon
|
||||
sx={{
|
||||
position: "relative",
|
||||
top: "-2px",
|
||||
}}
|
||||
className='mr-5px'
|
||||
/>{" "}
|
||||
Save
|
||||
</Button>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
</Fade>
|
||||
</Modal>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default Calendar;
|
||||
@@ -0,0 +1,716 @@
|
||||
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 */}
|
||||
<div className={styles.pageTitle}>
|
||||
<h1>Chat</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/">Dashboard</Link>
|
||||
</li>
|
||||
<li>
|
||||
Chat
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<Tabs className="chat-tabs">
|
||||
<Grid
|
||||
container
|
||||
rowSpacing={1}
|
||||
columnSpacing={{ xs: 1, sm: 1, md: 1, lg: 1, xl: 2 }}
|
||||
>
|
||||
<Grid item xs={12} sm={12} md={4} lg={4} xl={3}>
|
||||
<Card
|
||||
sx={{
|
||||
boxShadow: "none",
|
||||
p: "20px",
|
||||
mb: "15px",
|
||||
}}
|
||||
>
|
||||
<Typography
|
||||
as="h1"
|
||||
sx={{
|
||||
fontSize: 17,
|
||||
fontWeight: 500,
|
||||
mb: 1,
|
||||
}}
|
||||
>
|
||||
Messages
|
||||
</Typography>
|
||||
|
||||
{/* Search */}
|
||||
<Search className="ls-search-form">
|
||||
<SearchIconWrapper className="search-btn">
|
||||
<SearchIcon />
|
||||
</SearchIconWrapper>
|
||||
<StyledInputBase
|
||||
placeholder="Search here.."
|
||||
inputProps={{ "aria-label": "search" }}
|
||||
/>
|
||||
</Search>
|
||||
|
||||
{/* All Messages */}
|
||||
<Typography mb="10px">
|
||||
<i className="ri-message-2-line"></i> ALL MESSAGES
|
||||
</Typography>
|
||||
|
||||
<TabList>
|
||||
{/* Tab 1 */}
|
||||
<Tab>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
position: "relative",
|
||||
}}
|
||||
>
|
||||
<img
|
||||
src="/images/user1.png"
|
||||
alt="User"
|
||||
width="45px"
|
||||
height="45px"
|
||||
className="borRadius100"
|
||||
/>
|
||||
<span className="active-status successBgColor"></span>
|
||||
</Box>
|
||||
|
||||
<Box className="ml-1">
|
||||
<Typography
|
||||
as="h4"
|
||||
fontSize="13px"
|
||||
fontWeight="500"
|
||||
mb="5px"
|
||||
>
|
||||
Laurent Perrier
|
||||
</Typography>
|
||||
<Typography fontSize="12px">Typing...</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
<Box textAlign="right">
|
||||
<Typography
|
||||
sx={{
|
||||
color: "#A9A9C8",
|
||||
fontSize: "11px",
|
||||
}}
|
||||
>
|
||||
4:30 PM
|
||||
</Typography>
|
||||
|
||||
<Box className="mr-10px">
|
||||
<Badge
|
||||
badgeContent={2}
|
||||
color="primary"
|
||||
className="for-dark-text-white"
|
||||
></Badge>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
</Tab>
|
||||
|
||||
{/* Tab 2 */}
|
||||
<Tab>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
position: "relative",
|
||||
}}
|
||||
>
|
||||
<img
|
||||
src="/images/user2.png"
|
||||
alt="User"
|
||||
width="45px"
|
||||
height="45px"
|
||||
className="borRadius100"
|
||||
/>
|
||||
<span className="active-status successBgColor"></span>
|
||||
</Box>
|
||||
|
||||
<Box className="ml-1">
|
||||
<Typography
|
||||
as="h4"
|
||||
fontSize="13px"
|
||||
fontWeight="500"
|
||||
mb="5px"
|
||||
>
|
||||
Nunez Faulkner
|
||||
</Typography>
|
||||
<Typography fontSize="12px">
|
||||
Hello everyone ...
|
||||
</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
<Box textAlign="right">
|
||||
<Typography
|
||||
sx={{
|
||||
color: "#A9A9C8",
|
||||
fontSize: "11px",
|
||||
}}
|
||||
>
|
||||
9.36 AM
|
||||
</Typography>
|
||||
|
||||
<Box className="mr-10px">
|
||||
<Badge
|
||||
badgeContent={1}
|
||||
color="primary"
|
||||
className="for-dark-text-white"
|
||||
></Badge>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
</Tab>
|
||||
|
||||
{/* Tab 3 */}
|
||||
<Tab>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
position: "relative",
|
||||
}}
|
||||
>
|
||||
<img
|
||||
src="/images/user3.png"
|
||||
alt="User"
|
||||
width="45px"
|
||||
height="45px"
|
||||
className="borRadius100"
|
||||
/>
|
||||
<span className="active-status successBgColor"></span>
|
||||
</Box>
|
||||
|
||||
<Box className="ml-1">
|
||||
<Typography
|
||||
as="h4"
|
||||
fontSize="13px"
|
||||
fontWeight="500"
|
||||
mb="5px"
|
||||
>
|
||||
Bernard Langley
|
||||
</Typography>
|
||||
<Typography fontSize="12px">
|
||||
That cool, go for it...
|
||||
</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
<Box textAlign="right">
|
||||
<Typography
|
||||
sx={{
|
||||
color: "#A9A9C8",
|
||||
fontSize: "11px",
|
||||
}}
|
||||
>
|
||||
7.18 PM
|
||||
</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
</Tab>
|
||||
|
||||
{/* Tab 4 */}
|
||||
<Tab>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
position: "relative",
|
||||
}}
|
||||
>
|
||||
<img
|
||||
src="/images/user4.png"
|
||||
alt="User"
|
||||
width="45px"
|
||||
height="45px"
|
||||
className="borRadius100"
|
||||
/>
|
||||
<span className="active-status successBgColor"></span>
|
||||
</Box>
|
||||
|
||||
<Box className="ml-1">
|
||||
<Typography
|
||||
as="h4"
|
||||
fontSize="13px"
|
||||
fontWeight="500"
|
||||
mb="5px"
|
||||
>
|
||||
Edwards Mckenz
|
||||
</Typography>
|
||||
<Typography fontSize="12px">Great ! 🔥</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
<Box textAlign="right">
|
||||
<Typography
|
||||
sx={{
|
||||
color: "#A9A9C8",
|
||||
fontSize: "11px",
|
||||
}}
|
||||
>
|
||||
08:30 PM
|
||||
</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
</Tab>
|
||||
|
||||
{/* Tab 5 */}
|
||||
<Tab>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
position: "relative",
|
||||
}}
|
||||
>
|
||||
<img
|
||||
src="/images/user5.png"
|
||||
alt="User"
|
||||
width="45px"
|
||||
height="45px"
|
||||
className="borRadius100"
|
||||
/>
|
||||
<span className="active-status successBgColor"></span>
|
||||
</Box>
|
||||
|
||||
<Box className="ml-1">
|
||||
<Typography
|
||||
as="h4"
|
||||
fontSize="13px"
|
||||
fontWeight="500"
|
||||
mb="5px"
|
||||
>
|
||||
Elsie Melendez
|
||||
</Typography>
|
||||
<Typography fontSize="12px">Typing...</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
<Box textAlign="right">
|
||||
<Typography
|
||||
sx={{
|
||||
color: "#A9A9C8",
|
||||
fontSize: "11px",
|
||||
}}
|
||||
>
|
||||
2:30 PM
|
||||
</Typography>
|
||||
|
||||
<Box className="mr-10px">
|
||||
<Badge
|
||||
badgeContent={5}
|
||||
color="primary"
|
||||
className="for-dark-text-white"
|
||||
></Badge>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
</Tab>
|
||||
|
||||
{/* Tab 6 */}
|
||||
<Tab>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
position: "relative",
|
||||
}}
|
||||
>
|
||||
<img
|
||||
src="/images/user6.png"
|
||||
alt="User"
|
||||
width="45px"
|
||||
height="45px"
|
||||
className="borRadius100"
|
||||
/>
|
||||
<span className="active-status secondaryBgColor"></span>
|
||||
</Box>
|
||||
|
||||
<Box className="ml-1">
|
||||
<Typography
|
||||
as="h4"
|
||||
fontSize="13px"
|
||||
fontWeight="500"
|
||||
mb="5px"
|
||||
>
|
||||
Mcleod Wagner
|
||||
</Typography>
|
||||
<Typography fontSize="12px">What are you...</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
<Box textAlign="right">
|
||||
<Typography
|
||||
sx={{
|
||||
color: "#A9A9C8",
|
||||
fontSize: "11px",
|
||||
}}
|
||||
>
|
||||
1:30 PM
|
||||
</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
</Tab>
|
||||
|
||||
{/* Tab 7 */}
|
||||
<Tab>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
position: "relative",
|
||||
}}
|
||||
>
|
||||
<img
|
||||
src="/images/user7.png"
|
||||
alt="User"
|
||||
width="45px"
|
||||
height="45px"
|
||||
className="borRadius100"
|
||||
/>
|
||||
</Box>
|
||||
|
||||
<Box className="ml-1">
|
||||
<Typography
|
||||
as="h4"
|
||||
fontSize="13px"
|
||||
fontWeight="500"
|
||||
mb="5px"
|
||||
>
|
||||
Joseph Strickland
|
||||
</Typography>
|
||||
<Typography fontSize="12px">Hello Joseph!!</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
<Box textAlign="right">
|
||||
<Typography
|
||||
sx={{
|
||||
color: "#A9A9C8",
|
||||
fontSize: "11px",
|
||||
}}
|
||||
>
|
||||
7:30 PM
|
||||
</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
</Tab>
|
||||
|
||||
{/* Tab 8 */}
|
||||
<Tab>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
position: "relative",
|
||||
}}
|
||||
>
|
||||
<img
|
||||
src="/images/user8.png"
|
||||
alt="User"
|
||||
width="45px"
|
||||
height="45px"
|
||||
className="borRadius100"
|
||||
/>
|
||||
</Box>
|
||||
|
||||
<Box className="ml-1">
|
||||
<Typography
|
||||
as="h4"
|
||||
fontSize="13px"
|
||||
fontWeight="500"
|
||||
mb="5px"
|
||||
>
|
||||
Joseph Strickland
|
||||
</Typography>
|
||||
<Typography fontSize="12px">How are you?</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
<Box textAlign="right">
|
||||
<Typography
|
||||
sx={{
|
||||
color: "#A9A9C8",
|
||||
fontSize: "11px",
|
||||
}}
|
||||
>
|
||||
5:30 PM
|
||||
</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
</Tab>
|
||||
|
||||
{/* Tab 9 */}
|
||||
<Tab>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
position: "relative",
|
||||
}}
|
||||
>
|
||||
<img
|
||||
src="/images/user9.png"
|
||||
alt="User"
|
||||
width="45px"
|
||||
height="45px"
|
||||
className="borRadius100"
|
||||
/>
|
||||
</Box>
|
||||
|
||||
<Box className="ml-1">
|
||||
<Typography
|
||||
as="h4"
|
||||
fontSize="13px"
|
||||
fontWeight="500"
|
||||
mb="5px"
|
||||
>
|
||||
Silva Foster
|
||||
</Typography>
|
||||
<Typography fontSize="12px">Cool! 🔥</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
<Box textAlign="right">
|
||||
<Typography
|
||||
sx={{
|
||||
color: "#A9A9C8",
|
||||
fontSize: "11px",
|
||||
}}
|
||||
>
|
||||
8:30 PM
|
||||
</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
</Tab>
|
||||
</TabList>
|
||||
</Card>
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={12} sm={12} md={8} lg={8} xl={9}>
|
||||
<Card
|
||||
sx={{
|
||||
boxShadow: "none",
|
||||
p: "25px 20px",
|
||||
mb: "15px",
|
||||
borderRadius: "10px",
|
||||
}}
|
||||
>
|
||||
<TabPanel>
|
||||
{/* ChatBox */}
|
||||
<ChatBox />
|
||||
</TabPanel>
|
||||
|
||||
<TabPanel>
|
||||
{/* ChatBox */}
|
||||
<ChatBoxTwo />
|
||||
</TabPanel>
|
||||
|
||||
<TabPanel>
|
||||
{/* ChatBox */}
|
||||
<ChatBoxThree />
|
||||
</TabPanel>
|
||||
|
||||
<TabPanel>
|
||||
{/* ChatBox */}
|
||||
<ChatBox />
|
||||
</TabPanel>
|
||||
|
||||
<TabPanel>
|
||||
{/* ChatBox */}
|
||||
<ChatBoxTwo />
|
||||
</TabPanel>
|
||||
|
||||
<TabPanel>
|
||||
{/* ChatBox */}
|
||||
<ChatBoxThree />
|
||||
</TabPanel>
|
||||
|
||||
<TabPanel>
|
||||
{/* ChatBox */}
|
||||
<ChatBox />
|
||||
</TabPanel>
|
||||
|
||||
<TabPanel>
|
||||
{/* ChatBox */}
|
||||
<ChatBoxTwo />
|
||||
</TabPanel>
|
||||
|
||||
<TabPanel>
|
||||
{/* ChatBox */}
|
||||
<ChatBoxThree />
|
||||
</TabPanel>
|
||||
</Card>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Tabs>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
import React from 'react';
|
||||
import Grid from "@mui/material/Grid";
|
||||
import Link from 'next/link';
|
||||
import styles from '@/styles/PageTitle.module.css'
|
||||
import LeftSidebar from '@/components/Apps/FileManager/LeftSidebar';
|
||||
import AllAssets from '@/components/Apps/FileManager/AllAssets';
|
||||
|
||||
export default function Assets() {
|
||||
return (
|
||||
<>
|
||||
{/* Page title */}
|
||||
<div className={styles.pageTitle}>
|
||||
<h1>Assets</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/">Dashboard</Link>
|
||||
</li>
|
||||
<li>Assets</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<Grid
|
||||
container
|
||||
rowSpacing={1}
|
||||
columnSpacing={{ xs: 1, sm: 1, md: 1, lg: 1, xl: 2 }}
|
||||
>
|
||||
<Grid item xs={12} sm={12} md={4} lg={4} xl={3}>
|
||||
{/* LeftSidebar */}
|
||||
<LeftSidebar />
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={12} sm={12} md={8} lg={8} xl={9}>
|
||||
{/* AllAssets */}
|
||||
<AllAssets />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
import React from 'react';
|
||||
import Grid from "@mui/material/Grid";
|
||||
import Link from 'next/link';
|
||||
import styles from '@/styles/PageTitle.module.css'
|
||||
import LeftSidebar from '@/components/Apps/FileManager/LeftSidebar';
|
||||
import DocumentsFiles from '@/components/Apps/FileManager/DocumentsFiles';
|
||||
|
||||
export default function Documents() {
|
||||
return (
|
||||
<>
|
||||
{/* Page title */}
|
||||
<div className={styles.pageTitle}>
|
||||
<h1>Documents</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/">Dashboard</Link>
|
||||
</li>
|
||||
<li>Documents</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<Grid
|
||||
container
|
||||
rowSpacing={1}
|
||||
columnSpacing={{ xs: 1, sm: 1, md: 1, lg: 1, xl: 2 }}
|
||||
>
|
||||
<Grid item xs={12} sm={12} md={4} lg={4} xl={3}>
|
||||
{/* LeftSidebar */}
|
||||
<LeftSidebar />
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={12} sm={12} md={8} lg={8} xl={9}>
|
||||
{/* DocumentsFiles */}
|
||||
<DocumentsFiles />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
import React from 'react';
|
||||
import Grid from "@mui/material/Grid";
|
||||
import Link from 'next/link';
|
||||
import styles from '@/styles/PageTitle.module.css'
|
||||
import LeftSidebar from '@/components/Apps/FileManager/LeftSidebar';
|
||||
import ImportantFiles from '@/components/Apps/FileManager/ImportantFiles';
|
||||
|
||||
export default function Important() {
|
||||
return (
|
||||
<>
|
||||
{/* Page title */}
|
||||
<div className={styles.pageTitle}>
|
||||
<h1>Important</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/">Dashboard</Link>
|
||||
</li>
|
||||
<li>Important</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<Grid
|
||||
container
|
||||
rowSpacing={1}
|
||||
columnSpacing={{ xs: 1, sm: 1, md: 1, lg: 1, xl: 2 }}
|
||||
>
|
||||
<Grid item xs={12} sm={12} md={4} lg={4} xl={3}>
|
||||
{/* LeftSidebar */}
|
||||
<LeftSidebar />
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={12} sm={12} md={8} lg={8} xl={9}>
|
||||
{/* ImportantFiles */}
|
||||
<ImportantFiles />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
import React from 'react';
|
||||
import Link from 'next/link';
|
||||
import styles from '@/styles/PageTitle.module.css'
|
||||
import Grid from "@mui/material/Grid";
|
||||
import LeftSidebar from '@/components/Apps/FileManager/LeftSidebar';
|
||||
import MyDrive from '@/components/Apps/FileManager/MyDrive';
|
||||
import RecentFiles from '@/components/Apps/FileManager/RecentFiles';
|
||||
import Files from '@/components/Apps/FileManager/Files';
|
||||
|
||||
export default function FileManager() {
|
||||
return (
|
||||
<>
|
||||
{/* Page title */}
|
||||
<div className={styles.pageTitle}>
|
||||
<h1>File Manager</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/">Dashboard</Link>
|
||||
</li>
|
||||
<li>
|
||||
File Manager
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<Grid
|
||||
container
|
||||
rowSpacing={1}
|
||||
columnSpacing={{ xs: 1, sm: 1, md: 1, lg: 1, xl: 2 }}
|
||||
>
|
||||
<Grid item xs={12} sm={12} md={4} lg={4} xl={3}>
|
||||
{/* LeftSidebar */}
|
||||
<LeftSidebar />
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={12} sm={12} md={8} lg={8} xl={9}>
|
||||
{/* MyDrive */}
|
||||
<MyDrive />
|
||||
|
||||
{/* RecentFiles */}
|
||||
<RecentFiles />
|
||||
|
||||
{/* Files */}
|
||||
<Files />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
import React from 'react';
|
||||
import Grid from "@mui/material/Grid";
|
||||
import Link from 'next/link';
|
||||
import styles from '@/styles/PageTitle.module.css'
|
||||
import LeftSidebar from '@/components/Apps/FileManager/LeftSidebar';
|
||||
import MediaFiles from '@/components/Apps/FileManager/MediaFiles';
|
||||
|
||||
export default function Media() {
|
||||
return (
|
||||
<>
|
||||
{/* Page title */}
|
||||
<div className={styles.pageTitle}>
|
||||
<h1>Media</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/">Dashboard</Link>
|
||||
</li>
|
||||
<li>Media</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<Grid
|
||||
container
|
||||
rowSpacing={1}
|
||||
columnSpacing={{ xs: 1, sm: 1, md: 1, lg: 1, xl: 2 }}
|
||||
>
|
||||
<Grid item xs={12} sm={12} md={4} lg={4} xl={3}>
|
||||
{/* LeftSidebar */}
|
||||
<LeftSidebar />
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={12} sm={12} md={8} lg={8} xl={9}>
|
||||
{/* MediaFiles */}
|
||||
<MediaFiles />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
import React from 'react';
|
||||
import Grid from "@mui/material/Grid";
|
||||
import Link from 'next/link';
|
||||
import styles from '@/styles/PageTitle.module.css'
|
||||
import LeftSidebar from '@/components/Apps/FileManager/LeftSidebar';
|
||||
import PersonalFiles from '@/components/Apps/FileManager/PersonalFiles';
|
||||
|
||||
export default function Personal() {
|
||||
return (
|
||||
<>
|
||||
{/* Page title */}
|
||||
<div className={styles.pageTitle}>
|
||||
<h1>Personal</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/">Dashboard</Link>
|
||||
</li>
|
||||
<li>Personal</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<Grid
|
||||
container
|
||||
rowSpacing={1}
|
||||
columnSpacing={{ xs: 1, sm: 1, md: 1, lg: 1, xl: 2 }}
|
||||
>
|
||||
<Grid item xs={12} sm={12} md={4} lg={4} xl={3}>
|
||||
{/* LeftSidebar */}
|
||||
<LeftSidebar />
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={12} sm={12} md={8} lg={8} xl={9}>
|
||||
{/* PersonalFiles */}
|
||||
<PersonalFiles />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
import React from 'react';
|
||||
import Grid from "@mui/material/Grid";
|
||||
import Link from 'next/link';
|
||||
import styles from '@/styles/PageTitle.module.css'
|
||||
import LeftSidebar from '@/components/Apps/FileManager/LeftSidebar';
|
||||
import AllProjects from '@/components/Apps/FileManager/AllProjects';
|
||||
|
||||
export default function Projects() {
|
||||
return (
|
||||
<>
|
||||
{/* Page title */}
|
||||
<div className={styles.pageTitle}>
|
||||
<h1>Projects</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/">Dashboard</Link>
|
||||
</li>
|
||||
<li>Projects</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<Grid
|
||||
container
|
||||
rowSpacing={1}
|
||||
columnSpacing={{ xs: 1, sm: 1, md: 1, lg: 1, xl: 2 }}
|
||||
>
|
||||
<Grid item xs={12} sm={12} md={4} lg={4} xl={3}>
|
||||
{/* LeftSidebar */}
|
||||
<LeftSidebar />
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={12} sm={12} md={8} lg={8} xl={9}>
|
||||
{/* AllProjects */}
|
||||
<AllProjects />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
import React from 'react';
|
||||
import Grid from "@mui/material/Grid";
|
||||
import Link from 'next/link';
|
||||
import styles from '@/styles/PageTitle.module.css'
|
||||
import LeftSidebar from '@/components/Apps/FileManager/LeftSidebar';
|
||||
import AllRecentFiles from '@/components/Apps/FileManager/AllRecentFiles';
|
||||
|
||||
export default function Recents() {
|
||||
return (
|
||||
<>
|
||||
{/* Page title */}
|
||||
<div className={styles.pageTitle}>
|
||||
<h1>Recents</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/">Dashboard</Link>
|
||||
</li>
|
||||
<li>Recents</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<Grid
|
||||
container
|
||||
rowSpacing={1}
|
||||
columnSpacing={{ xs: 1, sm: 1, md: 1, lg: 1, xl: 2 }}
|
||||
>
|
||||
<Grid item xs={12} sm={12} md={4} lg={4} xl={3}>
|
||||
{/* LeftSidebar */}
|
||||
<LeftSidebar />
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={12} sm={12} md={8} lg={8} xl={9}>
|
||||
{/* AllRecentFiles */}
|
||||
<AllRecentFiles />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
import React from 'react';
|
||||
import Grid from "@mui/material/Grid";
|
||||
import Link from 'next/link';
|
||||
import styles from '@/styles/PageTitle.module.css'
|
||||
import LeftSidebar from '@/components/Apps/FileManager/LeftSidebar';
|
||||
import TemplateFiles from '@/components/Apps/FileManager/TemplateFiles';
|
||||
|
||||
export default function Templates() {
|
||||
return (
|
||||
<>
|
||||
{/* Page title */}
|
||||
<div className={styles.pageTitle}>
|
||||
<h1>Templates</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/">Dashboard</Link>
|
||||
</li>
|
||||
<li>Templates</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<Grid
|
||||
container
|
||||
rowSpacing={1}
|
||||
columnSpacing={{ xs: 1, sm: 1, md: 1, lg: 1, xl: 2 }}
|
||||
>
|
||||
<Grid item xs={12} sm={12} md={4} lg={4} xl={3}>
|
||||
{/* LeftSidebar */}
|
||||
<LeftSidebar />
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={12} sm={12} md={8} lg={8} xl={9}>
|
||||
{/* TemplateFiles */}
|
||||
<TemplateFiles />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
import React from 'react';
|
||||
import Grid from "@mui/material/Grid";
|
||||
import Link from 'next/link';
|
||||
import styles from '@/styles/PageTitle.module.css'
|
||||
import LeftSidebar from '@/components/Apps/FileManager/LeftSidebar';
|
||||
import TrashFiles from '@/components/Apps/FileManager/TrashFiles';
|
||||
|
||||
export default function Trash() {
|
||||
return (
|
||||
<>
|
||||
{/* Page title */}
|
||||
<div className={styles.pageTitle}>
|
||||
<h1>Trash</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/">Dashboard</Link>
|
||||
</li>
|
||||
<li>Trash</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<Grid
|
||||
container
|
||||
rowSpacing={1}
|
||||
columnSpacing={{ xs: 1, sm: 1, md: 1, lg: 1, xl: 2 }}
|
||||
>
|
||||
<Grid item xs={12} sm={12} md={4} lg={4} xl={3}>
|
||||
{/* LeftSidebar */}
|
||||
<LeftSidebar />
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={12} sm={12} md={8} lg={8} xl={9}>
|
||||
{/* TrashFiles */}
|
||||
<TrashFiles />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
import React from 'react';
|
||||
import Link from 'next/link';
|
||||
import styles from '@/styles/PageTitle.module.css'
|
||||
import ToDoLists from '@/components/Apps/ToDoLists'
|
||||
|
||||
export default function ToDo() {
|
||||
return (
|
||||
<>
|
||||
{/* Page title */}
|
||||
<div className={styles.pageTitle}>
|
||||
<h1>To Do</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/">Dashboard</Link>
|
||||
</li>
|
||||
<li>To Do</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<ToDoLists />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user