diff --git a/public/index.html b/public/index.html
index 86f3333c9..3653102dd 100644
--- a/public/index.html
+++ b/public/index.html
@@ -22,7 +22,7 @@
-
Material Dashboard 2 React
+ My Duka
- links.map((link) => (
-
-
-
- {link.name}
-
-
-
- ));
-
- return (
-
-
- © {new Date().getFullYear()}, made with
-
-
- favorite
-
-
- by
-
-
- {name}
-
-
- for a better web.
-
- ({
- display: "flex",
- flexWrap: "wrap",
- alignItems: "center",
- justifyContent: "center",
- listStyle: "none",
- mt: 3,
- mb: 0,
- p: 0,
-
- [breakpoints.up("lg")]: {
- mt: 0,
- },
- })}
- >
- {renderLinks()}
-
-
- );
-}
-
-// Setting default values for the props of Footer
-Footer.defaultProps = {
- company: { href: "https://www.creative-tim.com/", name: "Creative Tim" },
- links: [
- { href: "https://www.creative-tim.com/", name: "Creative Tim" },
- { href: "https://www.creative-tim.com/presentation", name: "About Us" },
- { href: "https://www.creative-tim.com/blog", name: "Blog" },
- { href: "https://www.creative-tim.com/license", name: "License" },
- ],
-};
-
-// Typechecking props for the Footer
-Footer.propTypes = {
- company: PropTypes.objectOf(PropTypes.string),
- links: PropTypes.arrayOf(PropTypes.object),
-};
-
-export default Footer;
diff --git a/src/examples/Sidenav/index.js b/src/examples/Sidenav/index.js
index 5efd2d2c7..ae2193d6e 100644
--- a/src/examples/Sidenav/index.js
+++ b/src/examples/Sidenav/index.js
@@ -179,19 +179,6 @@ function Sidenav({ color, brand, brandName, routes, ...rest }) {
}
/>
{renderRoutes}
-
-
- upgrade to pro
-
-
);
}
diff --git a/src/layouts/Auth/login.jsx b/src/layouts/Auth/login.jsx
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/layouts/admin/AdminDashboard.jsx b/src/layouts/admin/AdminDashboard.jsx
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/layouts/admin/ClerkManagment.jsx b/src/layouts/admin/ClerkManagment.jsx
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/layouts/admin/components/AddClerk.jsx b/src/layouts/admin/components/AddClerk.jsx
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/layouts/admin/components/AddPayments.jsx b/src/layouts/admin/components/AddPayments.jsx
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/layouts/authentication/components/BasicLayout/index.js b/src/layouts/authentication/components/BasicLayout/index.js
deleted file mode 100644
index 140b00b05..000000000
--- a/src/layouts/authentication/components/BasicLayout/index.js
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// prop-types is a library for typechecking of props
-import PropTypes from "prop-types";
-
-// @mui material components
-import Grid from "@mui/material/Grid";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-
-// Material Dashboard 2 React example components
-import DefaultNavbar from "examples/Navbars/DefaultNavbar";
-import PageLayout from "examples/LayoutContainers/PageLayout";
-
-// Authentication pages components
-import Footer from "layouts/authentication/components/Footer";
-
-function BasicLayout({ image, children }) {
- return (
-
-
-
- image &&
- `${linearGradient(
- rgba(gradients.dark.main, 0.6),
- rgba(gradients.dark.state, 0.6)
- )}, url(${image})`,
- backgroundSize: "cover",
- backgroundPosition: "center",
- backgroundRepeat: "no-repeat",
- }}
- />
-
-
-
- {children}
-
-
-
-
-
- );
-}
-
-// Typechecking props for the BasicLayout
-BasicLayout.propTypes = {
- image: PropTypes.string.isRequired,
- children: PropTypes.node.isRequired,
-};
-
-export default BasicLayout;
diff --git a/src/layouts/authentication/components/CoverLayout/index.js b/src/layouts/authentication/components/CoverLayout/index.js
deleted file mode 100644
index 14b2cbf38..000000000
--- a/src/layouts/authentication/components/CoverLayout/index.js
+++ /dev/null
@@ -1,89 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// prop-types is a library for typechecking of props
-import PropTypes from "prop-types";
-
-// @mui material components
-import Grid from "@mui/material/Grid";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-// import MDTypography from "components/MDTypography";
-
-// Material Dashboard 2 React example components
-import DefaultNavbar from "examples/Navbars/DefaultNavbar";
-import PageLayout from "examples/LayoutContainers/PageLayout";
-
-// Authentication layout components
-import Footer from "layouts/authentication/components/Footer";
-
-function CoverLayout({ coverHeight, image, children }) {
- return (
-
-
-
- image &&
- `${linearGradient(
- rgba(gradients.dark.main, 0.4),
- rgba(gradients.dark.state, 0.4)
- )}, url(${image})`,
- backgroundSize: "cover",
- backgroundPosition: "center",
- backgroundRepeat: "no-repeat",
- }}
- />
-
-
-
- {children}
-
-
-
-
-
- );
-}
-
-// Setting default props for the CoverLayout
-CoverLayout.defaultProps = {
- coverHeight: "35vh",
-};
-
-// Typechecking props for the CoverLayout
-CoverLayout.propTypes = {
- coverHeight: PropTypes.string,
- image: PropTypes.string.isRequired,
- children: PropTypes.node.isRequired,
-};
-
-export default CoverLayout;
diff --git a/src/layouts/authentication/components/Footer/index.js b/src/layouts/authentication/components/Footer/index.js
deleted file mode 100644
index e5d1bf4d4..000000000
--- a/src/layouts/authentication/components/Footer/index.js
+++ /dev/null
@@ -1,145 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// prop-types is a library for typechecking of props
-import PropTypes from "prop-types";
-
-// @mui material components
-import Container from "@mui/material/Container";
-import Link from "@mui/material/Link";
-import Icon from "@mui/material/Icon";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-
-// Material Dashboard 2 React base styles
-import typography from "assets/theme/base/typography";
-
-function Footer({ light }) {
- const { size } = typography;
-
- return (
-
-
-
-
- © {new Date().getFullYear()}, made with
-
-
- favorite
-
-
- by
-
-
- Creative Tim
-
-
- for a better web.
-
- ({
- display: "flex",
- flexWrap: "wrap",
- alignItems: "center",
- justifyContent: "center",
- listStyle: "none",
- mt: 3,
- mb: 0,
- p: 0,
-
- [breakpoints.up("lg")]: {
- mt: 0,
- },
- })}
- >
-
-
-
- Creative Tim
-
-
-
-
-
-
- About Us
-
-
-
-
-
-
- Blog
-
-
-
-
-
-
- License
-
-
-
-
-
-
-
- );
-}
-
-// Setting default props for the Footer
-Footer.defaultProps = {
- light: false,
-};
-
-// Typechecking props for the Footer
-Footer.propTypes = {
- light: PropTypes.bool,
-};
-
-export default Footer;
diff --git a/src/layouts/authentication/reset-password/cover/index.js b/src/layouts/authentication/reset-password/cover/index.js
deleted file mode 100644
index 67b17cfc1..000000000
--- a/src/layouts/authentication/reset-password/cover/index.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Card from "@mui/material/Card";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import MDInput from "components/MDInput";
-import MDButton from "components/MDButton";
-
-// Authentication layout components
-import CoverLayout from "layouts/authentication/components/CoverLayout";
-
-// Images
-import bgImage from "assets/images/bg-reset-cover.jpeg";
-
-function Cover() {
- return (
-
-
-
-
- Reset Password
-
-
- You will receive an e-mail in maximum 60 seconds
-
-
-
-
-
-
-
-
-
- reset
-
-
-
-
-
-
- );
-}
-
-export default Cover;
diff --git a/src/layouts/authentication/sign-in/index.js b/src/layouts/authentication/sign-in/index.js
deleted file mode 100644
index 660842aad..000000000
--- a/src/layouts/authentication/sign-in/index.js
+++ /dev/null
@@ -1,131 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-import { useState } from "react";
-
-// react-router-dom components
-import { Link } from "react-router-dom";
-
-// @mui material components
-import Card from "@mui/material/Card";
-import Switch from "@mui/material/Switch";
-import Grid from "@mui/material/Grid";
-import MuiLink from "@mui/material/Link";
-
-// @mui icons
-import FacebookIcon from "@mui/icons-material/Facebook";
-import GitHubIcon from "@mui/icons-material/GitHub";
-import GoogleIcon from "@mui/icons-material/Google";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import MDInput from "components/MDInput";
-import MDButton from "components/MDButton";
-
-// Authentication layout components
-import BasicLayout from "layouts/authentication/components/BasicLayout";
-
-// Images
-import bgImage from "assets/images/bg-sign-in-basic.jpeg";
-
-function Basic() {
- const [rememberMe, setRememberMe] = useState(false);
-
- const handleSetRememberMe = () => setRememberMe(!rememberMe);
-
- return (
-
-
-
-
- Sign in
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remember me
-
-
-
-
- sign in
-
-
-
-
- Don't have an account?{" "}
-
- Sign up
-
-
-
-
-
-
-
- );
-}
-
-export default Basic;
diff --git a/src/layouts/authentication/sign-up/index.js b/src/layouts/authentication/sign-up/index.js
deleted file mode 100644
index c43b1005e..000000000
--- a/src/layouts/authentication/sign-up/index.js
+++ /dev/null
@@ -1,116 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// react-router-dom components
-import { Link } from "react-router-dom";
-
-// @mui material components
-import Card from "@mui/material/Card";
-import Checkbox from "@mui/material/Checkbox";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import MDInput from "components/MDInput";
-import MDButton from "components/MDButton";
-
-// Authentication layout components
-import CoverLayout from "layouts/authentication/components/CoverLayout";
-
-// Images
-import bgImage from "assets/images/bg-sign-up-cover.jpeg";
-
-function Cover() {
- return (
-
-
-
-
- Join us today
-
-
- Enter your email and password to register
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- I agree the
-
-
- Terms and Conditions
-
-
-
-
- sign in
-
-
-
-
- Already have an account?{" "}
-
- Sign In
-
-
-
-
-
-
-
- );
-}
-
-export default Cover;
diff --git a/src/layouts/billing/components/Bill/index.js b/src/layouts/billing/components/Bill/index.js
deleted file mode 100644
index 525b0370a..000000000
--- a/src/layouts/billing/components/Bill/index.js
+++ /dev/null
@@ -1,110 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// prop-types is a library for typechecking of props
-import PropTypes from "prop-types";
-
-// @mui material components
-import Icon from "@mui/material/Icon";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import MDButton from "components/MDButton";
-
-// Material Dashboard 2 React context
-import { useMaterialUIController } from "context";
-
-function Bill({ name, company, email, vat, noGutter }) {
- const [controller] = useMaterialUIController();
- const { darkMode } = controller;
-
- return (
-
-
-
-
- {name}
-
-
-
-
-
- delete delete
-
-
-
- edit edit
-
-
-
-
-
- Company Name:
-
- {company}
-
-
-
-
-
- Email Address:
-
- {email}
-
-
-
-
- VAT Number:
-
- {vat}
-
-
-
-
- );
-}
-
-// Setting default values for the props of Bill
-Bill.defaultProps = {
- noGutter: false,
-};
-
-// Typechecking props for the Bill
-Bill.propTypes = {
- name: PropTypes.string.isRequired,
- company: PropTypes.string.isRequired,
- email: PropTypes.string.isRequired,
- vat: PropTypes.string.isRequired,
- noGutter: PropTypes.bool,
-};
-
-export default Bill;
diff --git a/src/layouts/billing/components/BillingInformation/index.js b/src/layouts/billing/components/BillingInformation/index.js
deleted file mode 100644
index d46bcfe02..000000000
--- a/src/layouts/billing/components/BillingInformation/index.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Card from "@mui/material/Card";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-
-// Billing page components
-import Bill from "layouts/billing/components/Bill";
-
-function BillingInformation() {
- return (
-
-
-
- Billing Information
-
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default BillingInformation;
diff --git a/src/layouts/billing/components/Invoice/index.js b/src/layouts/billing/components/Invoice/index.js
deleted file mode 100644
index 2fd822b59..000000000
--- a/src/layouts/billing/components/Invoice/index.js
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// prop-types is a library for typechecking of props
-import PropTypes from "prop-types";
-
-// @mui material components
-import Icon from "@mui/material/Icon";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-
-function Invoice({ date, id, price, noGutter }) {
- return (
-
-
-
- {date}
-
-
- {id}
-
-
-
-
- {price}
-
-
- picture_as_pdf
-
- PDF
-
-
-
-
- );
-}
-
-// Setting default values for the props of Invoice
-Invoice.defaultProps = {
- noGutter: false,
-};
-
-// Typechecking props for the Invoice
-Invoice.propTypes = {
- date: PropTypes.string.isRequired,
- id: PropTypes.string.isRequired,
- price: PropTypes.string.isRequired,
- noGutter: PropTypes.bool,
-};
-
-export default Invoice;
diff --git a/src/layouts/billing/components/Invoices/index.js b/src/layouts/billing/components/Invoices/index.js
deleted file mode 100644
index 37350b993..000000000
--- a/src/layouts/billing/components/Invoices/index.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Card from "@mui/material/Card";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import MDButton from "components/MDButton";
-
-// Billing page components
-import Invoice from "layouts/billing/components/Invoice";
-
-function Invoices() {
- return (
-
-
-
- Invoices
-
-
- view all
-
-
-
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default Invoices;
diff --git a/src/layouts/billing/components/PaymentMethod/index.js b/src/layouts/billing/components/PaymentMethod/index.js
deleted file mode 100644
index cdea519e6..000000000
--- a/src/layouts/billing/components/PaymentMethod/index.js
+++ /dev/null
@@ -1,107 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Card from "@mui/material/Card";
-import Grid from "@mui/material/Grid";
-import Icon from "@mui/material/Icon";
-import Tooltip from "@mui/material/Tooltip";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import MDButton from "components/MDButton";
-
-// Images
-import masterCardLogo from "assets/images/logos/mastercard.png";
-import visaLogo from "assets/images/logos/visa.png";
-
-// Material Dashboard 2 React context
-import { useMaterialUIController } from "context";
-
-function PaymentMethod() {
- const [controller] = useMaterialUIController();
- const { darkMode } = controller;
-
- return (
-
-
-
- Payment Method
-
-
- add
- add new card
-
-
-
-
-
-
- `${borderWidth[1]} solid ${borderColor}`,
- }}
- >
-
-
- **** **** **** 7852
-
-
-
-
- edit
-
-
-
-
-
-
-
- `${borderWidth[1]} solid ${borderColor}`,
- }}
- >
-
-
- **** **** **** 5248
-
-
-
-
- edit
-
-
-
-
-
-
-
-
- );
-}
-
-export default PaymentMethod;
diff --git a/src/layouts/billing/components/Transaction/index.js b/src/layouts/billing/components/Transaction/index.js
deleted file mode 100644
index 4249f8fd7..000000000
--- a/src/layouts/billing/components/Transaction/index.js
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// prop-types is a library for typechecking of props
-import PropTypes from "prop-types";
-
-// @mui material components
-import Icon from "@mui/material/Icon";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import MDButton from "components/MDButton";
-
-function Transaction({ color, icon, name, description, value }) {
- return (
-
-
-
-
-
- {icon}
-
-
-
-
- {name}
-
-
- {description}
-
-
-
-
- {value}
-
-
-
- );
-}
-
-// Typechecking props of the Transaction
-Transaction.propTypes = {
- color: PropTypes.oneOf([
- "primary",
- "secondary",
- "info",
- "success",
- "warning",
- "error",
- "light",
- "dark",
- ]).isRequired,
- icon: PropTypes.node.isRequired,
- name: PropTypes.string.isRequired,
- description: PropTypes.string.isRequired,
- value: PropTypes.string.isRequired,
-};
-
-export default Transaction;
diff --git a/src/layouts/billing/components/Transactions/index.js b/src/layouts/billing/components/Transactions/index.js
deleted file mode 100644
index 554d77c44..000000000
--- a/src/layouts/billing/components/Transactions/index.js
+++ /dev/null
@@ -1,123 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Card from "@mui/material/Card";
-// import Divider from "@mui/material/Divider";
-import Icon from "@mui/material/Icon";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-// import MDButton from "components/MDButton";
-
-// Billing page components
-import Transaction from "layouts/billing/components/Transaction";
-
-function Transactions() {
- return (
-
-
-
- Your Transaction's
-
-
-
-
- date_range
-
-
-
- 23 - 30 March 2020
-
-
-
-
-
-
- newest
-
-
-
-
-
-
-
-
- yesterday
-
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default Transactions;
diff --git a/src/layouts/billing/index.js b/src/layouts/billing/index.js
deleted file mode 100644
index b78e3ea50..000000000
--- a/src/layouts/billing/index.js
+++ /dev/null
@@ -1,89 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Grid from "@mui/material/Grid";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-
-// Material Dashboard 2 React examples
-import DashboardLayout from "examples/LayoutContainers/DashboardLayout";
-import DashboardNavbar from "examples/Navbars/DashboardNavbar";
-import Footer from "examples/Footer";
-import MasterCard from "examples/Cards/MasterCard";
-import DefaultInfoCard from "examples/Cards/InfoCards/DefaultInfoCard";
-
-// Billing page components
-import PaymentMethod from "layouts/billing/components/PaymentMethod";
-import Invoices from "layouts/billing/components/Invoices";
-import BillingInformation from "layouts/billing/components/BillingInformation";
-import Transactions from "layouts/billing/components/Transactions";
-
-function Billing() {
- return (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default Billing;
diff --git a/src/layouts/clerk/data/authorsTableData.js b/src/layouts/clerk/data/authorsTableData.js
new file mode 100644
index 000000000..22fb934d6
--- /dev/null
+++ b/src/layouts/clerk/data/authorsTableData.js
@@ -0,0 +1,219 @@
+// Material Dashboard 2 React components
+import MDBox from "components/MDBox";
+import MDTypography from "components/MDTypography";
+
+export default function data() {
+ const imageSrc = "path_to_image"; // replace with the actual image source
+
+ return {
+ columns: [
+ { Header: "name", accessor: "name", width: "20%", align: "left" },
+ { Header: "price", accessor: "price", width: "15%", align: "right" },
+ { Header: "stock_quantity", accessor: "stock_quantity", width: "15%", align: "center" },
+ { Header: "buying_price", accessor: "buying_price", width: "15%", align: "right" },
+ { Header: "selling_price", accessor: "selling_price", width: "15%", align: "right" },
+ { Header: "store_id", accessor: "store_id", width: "10%", align: "center" },
+ { Header: "image", accessor: "image", width: "10%", align: "center" },
+ ],
+ rows: [
+ {
+ name: (
+
+ Product Name
+
+ ),
+ price: (
+
+ $99.99
+
+ ),
+ stock_quantity: (
+
+ 100
+
+ ),
+ buying_price: (
+
+ $50.00
+
+ ),
+ selling_price: (
+
+ $99.99
+
+ ),
+ store_id: (
+
+ Store_123
+
+ ),
+ image: ,
+ },
+ {
+ name: (
+
+ Product Name
+
+ ),
+ price: (
+
+ $99.99
+
+ ),
+ stock_quantity: (
+
+ 100
+
+ ),
+ buying_price: (
+
+ $50.00
+
+ ),
+ selling_price: (
+
+ $99.99
+
+ ),
+ store_id: (
+
+ Store_123
+
+ ),
+ image: ,
+ },
+ {
+ name: (
+
+ Product Name
+
+ ),
+ price: (
+
+ $99.99
+
+ ),
+ stock_quantity: (
+
+ 100
+
+ ),
+ buying_price: (
+
+ $50.00
+
+ ),
+ selling_price: (
+
+ $99.99
+
+ ),
+ store_id: (
+
+ Store_123
+
+ ),
+ image: ,
+ },
+ {
+ name: (
+
+ Product Name
+
+ ),
+ price: (
+
+ $99.99
+
+ ),
+ stock_quantity: (
+
+ 100
+
+ ),
+ buying_price: (
+
+ $50.00
+
+ ),
+ selling_price: (
+
+ $99.99
+
+ ),
+ store_id: (
+
+ Store_123
+
+ ),
+ image: ,
+ },
+ {
+ name: (
+
+ Product Name
+
+ ),
+ price: (
+
+ $99.99
+
+ ),
+ stock_quantity: (
+
+ 100
+
+ ),
+ buying_price: (
+
+ $50.00
+
+ ),
+ selling_price: (
+
+ $99.99
+
+ ),
+ store_id: (
+
+ Store_123
+
+ ),
+ image: ,
+ },
+ {
+ name: (
+
+ Product Name
+
+ ),
+ price: (
+
+ $99.99
+
+ ),
+ stock_quantity: (
+
+ 100
+
+ ),
+ buying_price: (
+
+ $50.00
+
+ ),
+ selling_price: (
+
+ $99.99
+
+ ),
+ store_id: (
+
+ Store_123
+
+ ),
+ image: ,
+ },
+ ],
+ };
+}
diff --git a/src/layouts/clerk/data/projectsTableData.js b/src/layouts/clerk/data/projectsTableData.js
new file mode 100644
index 000000000..0bbf1d207
--- /dev/null
+++ b/src/layouts/clerk/data/projectsTableData.js
@@ -0,0 +1,65 @@
+/* eslint-disable react/prop-types */
+/* eslint-disable react/function-component-definition */
+/**
+=========================================================
+* Material Dashboard 2 React - v2.2.0
+=========================================================
+
+* Product Page: https://www.creative-tim.com/product/material-dashboard-react
+* Copyright 2023 Creative Tim (https://www.creative-tim.com)
+
+Coded by www.creative-tim.com
+
+ =========================================================
+
+* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+*/
+
+// @mui material components
+import Icon from "@mui/material/Icon";
+
+// Material Dashboard 2 React components
+import MDBox from "components/MDBox";
+import MDTypography from "components/MDTypography";
+import MDAvatar from "components/MDAvatar";
+import MDProgress from "components/MDProgress";
+
+// Images
+import LogoAsana from "assets/images/small-logos/logo-asana.svg";
+import logoGithub from "assets/images/small-logos/github.svg";
+import logoAtlassian from "assets/images/small-logos/logo-atlassian.svg";
+import logoSlack from "assets/images/small-logos/logo-slack.svg";
+import logoSpotify from "assets/images/small-logos/logo-spotify.svg";
+import logoInvesion from "assets/images/small-logos/logo-invision.svg";
+
+export default function data() {
+ const Project = ({ image, name }) => (
+
+
+
+ {name}
+
+
+ );
+
+ const Progress = ({ color, value }) => (
+
+
+ {value}%
+
+
+
+
+
+ );
+
+ return {
+ columns: [
+ { Header: "project", accessor: "project", width: "30%", align: "left" },
+ { Header: "budget", accessor: "budget", align: "left" },
+ { Header: "status", accessor: "status", align: "center" },
+ { Header: "completion", accessor: "completion", align: "center" },
+ { Header: "action", accessor: "action", align: "center" },
+ ],
+ };
+}
diff --git a/src/layouts/clerk/index.js b/src/layouts/clerk/index.js
new file mode 100644
index 000000000..e6985d94f
--- /dev/null
+++ b/src/layouts/clerk/index.js
@@ -0,0 +1,77 @@
+// @mui material components
+import Grid from "@mui/material/Grid";
+import Card from "@mui/material/Card";
+import Button from "@mui/material/Button";
+
+// Material Dashboard 2 React components
+import MDBox from "components/MDBox";
+import MDTypography from "components/MDTypography";
+
+// Material Dashboard 2 React example components
+import DashboardLayout from "examples/LayoutContainers/DashboardLayout";
+import DashboardNavbar from "examples/Navbars/DashboardNavbar";
+import DataTable from "examples/Tables/DataTable";
+
+// Data
+import authorsTableData from "layouts/clerk/data/authorsTableData";
+
+function Tables() {
+ const { columns, rows } = authorsTableData();
+
+ return (
+
+
+
+
+
+
+
+
+ My Products
+
+
+
+
+
+
+
+
+
+
+
+ );
+}
+
+export default Tables;
diff --git a/src/layouts/dashboard/components/OrdersOverview/index.js b/src/layouts/dashboard/components/OrdersOverview/index.js
deleted file mode 100644
index 5fedc2914..000000000
--- a/src/layouts/dashboard/components/OrdersOverview/index.js
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Card from "@mui/material/Card";
-import Icon from "@mui/material/Icon";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-
-// Material Dashboard 2 React example components
-import TimelineItem from "examples/Timeline/TimelineItem";
-
-function OrdersOverview() {
- return (
-
-
-
- Orders overview
-
-
-
-
- success.main }}>arrow_upward
-
-
-
- 24%
- {" "}
- this month
-
-
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default OrdersOverview;
diff --git a/src/layouts/dashboard/components/Projects/data/index.js b/src/layouts/dashboard/components/Projects/data/index.js
deleted file mode 100644
index e31abbb3f..000000000
--- a/src/layouts/dashboard/components/Projects/data/index.js
+++ /dev/null
@@ -1,210 +0,0 @@
-/* eslint-disable react/prop-types */
-/* eslint-disable react/function-component-definition */
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Tooltip from "@mui/material/Tooltip";
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import MDAvatar from "components/MDAvatar";
-import MDProgress from "components/MDProgress";
-
-// Images
-import logoXD from "assets/images/small-logos/logo-xd.svg";
-import logoAtlassian from "assets/images/small-logos/logo-atlassian.svg";
-import logoSlack from "assets/images/small-logos/logo-slack.svg";
-import logoSpotify from "assets/images/small-logos/logo-spotify.svg";
-import logoJira from "assets/images/small-logos/logo-jira.svg";
-import logoInvesion from "assets/images/small-logos/logo-invision.svg";
-import team1 from "assets/images/team-1.jpg";
-import team2 from "assets/images/team-2.jpg";
-import team3 from "assets/images/team-3.jpg";
-import team4 from "assets/images/team-4.jpg";
-
-export default function data() {
- const avatars = (members) =>
- members.map(([image, name]) => (
-
-
- `${borderWidth[2]} solid ${white.main}`,
- cursor: "pointer",
- position: "relative",
-
- "&:not(:first-of-type)": {
- ml: -1.25,
- },
-
- "&:hover, &:focus": {
- zIndex: "10",
- },
- }}
- />
-
- ));
-
- const Company = ({ image, name }) => (
-
-
-
- {name}
-
-
- );
-
- return {
- columns: [
- { Header: "companies", accessor: "companies", width: "45%", align: "left" },
- { Header: "members", accessor: "members", width: "10%", align: "left" },
- { Header: "budget", accessor: "budget", align: "center" },
- { Header: "completion", accessor: "completion", align: "center" },
- ],
-
- rows: [
- {
- companies: ,
- members: (
-
- {avatars([
- [team1, "Ryan Tompson"],
- [team2, "Romina Hadid"],
- [team3, "Alexander Smith"],
- [team4, "Jessica Doe"],
- ])}
-
- ),
- budget: (
-
- $14,000
-
- ),
- completion: (
-
-
-
- ),
- },
- {
- companies: ,
- members: (
-
- {avatars([
- [team2, "Romina Hadid"],
- [team4, "Jessica Doe"],
- ])}
-
- ),
- budget: (
-
- $3,000
-
- ),
- completion: (
-
-
-
- ),
- },
- {
- companies: ,
- members: (
-
- {avatars([
- [team1, "Ryan Tompson"],
- [team3, "Alexander Smith"],
- ])}
-
- ),
- budget: (
-
- Not set
-
- ),
- completion: (
-
-
-
- ),
- },
- {
- companies: ,
- members: (
-
- {avatars([
- [team4, "Jessica Doe"],
- [team3, "Alexander Smith"],
- [team2, "Romina Hadid"],
- [team1, "Ryan Tompson"],
- ])}
-
- ),
- budget: (
-
- $20,500
-
- ),
- completion: (
-
-
-
- ),
- },
- {
- companies: ,
- members: (
-
- {avatars([[team4, "Jessica Doe"]])}
-
- ),
- budget: (
-
- $500
-
- ),
- completion: (
-
-
-
- ),
- },
- {
- companies: ,
- members: (
-
- {avatars([
- [team1, "Ryan Tompson"],
- [team4, "Jessica Doe"],
- ])}
-
- ),
- budget: (
-
- $2,000
-
- ),
- completion: (
-
-
-
- ),
- },
- ],
- };
-}
diff --git a/src/layouts/dashboard/components/Projects/index.js b/src/layouts/dashboard/components/Projects/index.js
deleted file mode 100644
index f579b7121..000000000
--- a/src/layouts/dashboard/components/Projects/index.js
+++ /dev/null
@@ -1,104 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-import { useState } from "react";
-
-// @mui material components
-import Card from "@mui/material/Card";
-import Icon from "@mui/material/Icon";
-import Menu from "@mui/material/Menu";
-import MenuItem from "@mui/material/MenuItem";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-
-// Material Dashboard 2 React examples
-import DataTable from "examples/Tables/DataTable";
-
-// Data
-import data from "layouts/dashboard/components/Projects/data";
-
-function Projects() {
- const { columns, rows } = data();
- const [menu, setMenu] = useState(null);
-
- const openMenu = ({ currentTarget }) => setMenu(currentTarget);
- const closeMenu = () => setMenu(null);
-
- const renderMenu = (
-
- );
-
- return (
-
-
-
-
- Projects
-
-
- info.main,
- mt: -0.5,
- }}
- >
- done
-
-
- 30 done this month
-
-
-
-
-
- more_vert
-
-
- {renderMenu}
-
-
-
-
-
- );
-}
-
-export default Projects;
diff --git a/src/layouts/dashboard/data/reportsBarChartData.js b/src/layouts/dashboard/data/reportsBarChartData.js
deleted file mode 100644
index 7a5eced1e..000000000
--- a/src/layouts/dashboard/data/reportsBarChartData.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-export default {
- labels: ["M", "T", "W", "T", "F", "S", "S"],
- datasets: { label: "Sales", data: [50, 20, 10, 22, 50, 10, 40] },
-};
diff --git a/src/layouts/dashboard/data/reportsLineChartData.js b/src/layouts/dashboard/data/reportsLineChartData.js
deleted file mode 100644
index 09bd7b5d4..000000000
--- a/src/layouts/dashboard/data/reportsLineChartData.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-export default {
- sales: {
- labels: ["Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
- datasets: { label: "Mobile apps", data: [50, 40, 300, 320, 500, 350, 200, 230, 500] },
- },
- tasks: {
- labels: ["Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
- datasets: { label: "Desktop apps", data: [50, 40, 300, 220, 500, 250, 400, 230, 500] },
- },
-};
diff --git a/src/layouts/dashboard/index.js b/src/layouts/dashboard/index.js
deleted file mode 100644
index a454536f2..000000000
--- a/src/layouts/dashboard/index.js
+++ /dev/null
@@ -1,163 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Grid from "@mui/material/Grid";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-
-// Material Dashboard 2 React example components
-import DashboardLayout from "examples/LayoutContainers/DashboardLayout";
-import DashboardNavbar from "examples/Navbars/DashboardNavbar";
-import Footer from "examples/Footer";
-import ReportsBarChart from "examples/Charts/BarCharts/ReportsBarChart";
-import ReportsLineChart from "examples/Charts/LineCharts/ReportsLineChart";
-import ComplexStatisticsCard from "examples/Cards/StatisticsCards/ComplexStatisticsCard";
-
-// Data
-import reportsBarChartData from "layouts/dashboard/data/reportsBarChartData";
-import reportsLineChartData from "layouts/dashboard/data/reportsLineChartData";
-
-// Dashboard components
-import Projects from "layouts/dashboard/components/Projects";
-import OrdersOverview from "layouts/dashboard/components/OrdersOverview";
-
-function Dashboard() {
- const { sales, tasks } = reportsLineChartData;
-
- return (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (+15%) increase in today sales.
- >
- }
- date="updated 4 min ago"
- chart={sales}
- />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default Dashboard;
diff --git a/src/layouts/merchant/AdminManagment.jsx b/src/layouts/merchant/AdminManagment.jsx
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/layouts/merchant/MerchantDashboard.jsx b/src/layouts/merchant/MerchantDashboard.jsx
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/layouts/merchant/components/AddStore.jsx b/src/layouts/merchant/components/AddStore.jsx
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/layouts/merchant/components/MerchantNavBar.jsx b/src/layouts/merchant/components/MerchantNavBar.jsx
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/layouts/merchant/components/RegisterAdmin.jsx b/src/layouts/merchant/components/RegisterAdmin.jsx
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/layouts/merchant/components/Stores.jsx b/src/layouts/merchant/components/Stores.jsx
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/layouts/notifications/index.js b/src/layouts/notifications/index.js
deleted file mode 100644
index 8290c296f..000000000
--- a/src/layouts/notifications/index.js
+++ /dev/null
@@ -1,197 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-import { useState } from "react";
-
-// @mui material components
-import Grid from "@mui/material/Grid";
-import Card from "@mui/material/Card";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import MDAlert from "components/MDAlert";
-import MDButton from "components/MDButton";
-import MDSnackbar from "components/MDSnackbar";
-
-// Material Dashboard 2 React example components
-import DashboardLayout from "examples/LayoutContainers/DashboardLayout";
-import DashboardNavbar from "examples/Navbars/DashboardNavbar";
-import Footer from "examples/Footer";
-
-function Notifications() {
- const [successSB, setSuccessSB] = useState(false);
- const [infoSB, setInfoSB] = useState(false);
- const [warningSB, setWarningSB] = useState(false);
- const [errorSB, setErrorSB] = useState(false);
-
- const openSuccessSB = () => setSuccessSB(true);
- const closeSuccessSB = () => setSuccessSB(false);
- const openInfoSB = () => setInfoSB(true);
- const closeInfoSB = () => setInfoSB(false);
- const openWarningSB = () => setWarningSB(true);
- const closeWarningSB = () => setWarningSB(false);
- const openErrorSB = () => setErrorSB(true);
- const closeErrorSB = () => setErrorSB(false);
-
- const alertContent = (name) => (
-
- A simple {name} alert with{" "}
-
- an example link
-
- . Give it a click if you like.
-
- );
-
- const renderSuccessSB = (
-
- );
-
- const renderInfoSB = (
-
- );
-
- const renderWarningSB = (
-
- );
-
- const renderErrorSB = (
-
- );
-
- return (
-
-
-
-
-
-
-
- Alerts
-
-
-
- {alertContent("primary")}
-
-
- {alertContent("secondary")}
-
-
- {alertContent("success")}
-
-
- {alertContent("error")}
-
-
- {alertContent("warning")}
-
-
- {alertContent("info")}
-
-
- {alertContent("light")}
-
-
- {alertContent("dark")}
-
-
-
-
-
-
-
-
- Notifications
-
- Notifications on this page use Toasts from Bootstrap. Read more details here.
-
-
-
-
-
-
- success notification
-
- {renderSuccessSB}
-
-
-
- info notification
-
- {renderInfoSB}
-
-
-
- warning notification
-
- {renderWarningSB}
-
-
-
- error notification
-
- {renderErrorSB}
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default Notifications;
diff --git a/src/layouts/profile/components/Header/index.js b/src/layouts/profile/components/Header/index.js
deleted file mode 100644
index e11541efc..000000000
--- a/src/layouts/profile/components/Header/index.js
+++ /dev/null
@@ -1,156 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-import { useState, useEffect } from "react";
-
-// prop-types is a library for typechecking of props.
-import PropTypes from "prop-types";
-
-// @mui material components
-import Card from "@mui/material/Card";
-import Grid from "@mui/material/Grid";
-import AppBar from "@mui/material/AppBar";
-import Tabs from "@mui/material/Tabs";
-import Tab from "@mui/material/Tab";
-import Icon from "@mui/material/Icon";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import MDAvatar from "components/MDAvatar";
-
-// Material Dashboard 2 React base styles
-import breakpoints from "assets/theme/base/breakpoints";
-
-// Images
-import burceMars from "assets/images/bruce-mars.jpg";
-import backgroundImage from "assets/images/bg-profile.jpeg";
-
-function Header({ children }) {
- const [tabsOrientation, setTabsOrientation] = useState("horizontal");
- const [tabValue, setTabValue] = useState(0);
-
- useEffect(() => {
- // A function that sets the orientation state of the tabs.
- function handleTabsOrientation() {
- return window.innerWidth < breakpoints.values.sm
- ? setTabsOrientation("vertical")
- : setTabsOrientation("horizontal");
- }
-
- /**
- The event listener that's calling the handleTabsOrientation function when resizing the window.
- */
- window.addEventListener("resize", handleTabsOrientation);
-
- // Call the handleTabsOrientation function to set the state with the initial value.
- handleTabsOrientation();
-
- // Remove event listener on cleanup
- return () => window.removeEventListener("resize", handleTabsOrientation);
- }, [tabsOrientation]);
-
- const handleSetTabValue = (event, newValue) => setTabValue(newValue);
-
- return (
-
-
- `${linearGradient(
- rgba(gradients.info.main, 0.6),
- rgba(gradients.info.state, 0.6)
- )}, url(${backgroundImage})`,
- backgroundSize: "cover",
- backgroundPosition: "50%",
- overflow: "hidden",
- }}
- />
-
-
-
-
-
-
-
-
- Richard Davis
-
-
- CEO / Co-Founder
-
-
-
-
-
-
-
- home
-
- }
- />
-
- email
-
- }
- />
-
- settings
-
- }
- />
-
-
-
-
- {children}
-
-
- );
-}
-
-// Setting default props for the Header
-Header.defaultProps = {
- children: "",
-};
-
-// Typechecking props for the Header
-Header.propTypes = {
- children: PropTypes.node,
-};
-
-export default Header;
diff --git a/src/layouts/profile/components/PlatformSettings/index.js b/src/layouts/profile/components/PlatformSettings/index.js
deleted file mode 100644
index 398c0d4b6..000000000
--- a/src/layouts/profile/components/PlatformSettings/index.js
+++ /dev/null
@@ -1,115 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-import { useState } from "react";
-
-// @mui material components
-import Card from "@mui/material/Card";
-import Switch from "@mui/material/Switch";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-
-function PlatformSettings() {
- const [followsMe, setFollowsMe] = useState(true);
- const [answersPost, setAnswersPost] = useState(false);
- const [mentionsMe, setMentionsMe] = useState(true);
- const [newLaunches, setNewLaunches] = useState(false);
- const [productUpdate, setProductUpdate] = useState(true);
- const [newsletter, setNewsletter] = useState(false);
-
- return (
-
-
-
- platform settings
-
-
-
-
- account
-
-
-
- setFollowsMe(!followsMe)} />
-
-
-
- Email me when someone follows me
-
-
-
-
-
- setAnswersPost(!answersPost)} />
-
-
-
- Email me when someone answers on my post
-
-
-
-
-
- setMentionsMe(!mentionsMe)} />
-
-
-
- Email me when someone mentions me
-
-
-
-
-
- application
-
-
-
-
- setNewLaunches(!newLaunches)} />
-
-
-
- New launches and projects
-
-
-
-
-
- setProductUpdate(!productUpdate)} />
-
-
-
- Monthly product updates
-
-
-
-
-
- setNewsletter(!newsletter)} />
-
-
-
- Subscribe to newsletter
-
-
-
-
-
- );
-}
-
-export default PlatformSettings;
diff --git a/src/layouts/profile/data/profilesListData.js b/src/layouts/profile/data/profilesListData.js
deleted file mode 100644
index 61a4aecdf..000000000
--- a/src/layouts/profile/data/profilesListData.js
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// Images
-import kal from "assets/images/kal-visuals-square.jpg";
-import marie from "assets/images/marie.jpg";
-import ivana from "assets/images/ivana-square.jpg";
-import team3 from "assets/images/team-3.jpg";
-import team4 from "assets/images/team-4.jpg";
-
-export default [
- {
- image: kal,
- name: "Sophie B.",
- description: "Hi! I need more information..",
- action: {
- type: "internal",
- route: "/pages/profile/profile-overview",
- color: "info",
- label: "reply",
- },
- },
- {
- image: marie,
- name: "Anne Marie",
- description: "Awesome work, can you..",
- action: {
- type: "internal",
- route: "/pages/profile/profile-overview",
- color: "info",
- label: "reply",
- },
- },
- {
- image: ivana,
- name: "Ivanna",
- description: "About files I can..",
- action: {
- type: "internal",
- route: "/pages/profile/profile-overview",
- color: "info",
- label: "reply",
- },
- },
- {
- image: team4,
- name: "Peterson",
- description: "Have a great afternoon..",
- action: {
- type: "internal",
- route: "/pages/profile/profile-overview",
- color: "info",
- label: "reply",
- },
- },
- {
- image: team3,
- name: "Nick Daniel",
- description: "Hi! I need more information..",
- action: {
- type: "internal",
- route: "/pages/profile/profile-overview",
- color: "info",
- label: "reply",
- },
- },
-];
diff --git a/src/layouts/profile/index.js b/src/layouts/profile/index.js
deleted file mode 100644
index f51f6108f..000000000
--- a/src/layouts/profile/index.js
+++ /dev/null
@@ -1,203 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Grid from "@mui/material/Grid";
-import Divider from "@mui/material/Divider";
-
-// @mui icons
-import FacebookIcon from "@mui/icons-material/Facebook";
-import TwitterIcon from "@mui/icons-material/Twitter";
-import InstagramIcon from "@mui/icons-material/Instagram";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-
-// Material Dashboard 2 React example components
-import DashboardLayout from "examples/LayoutContainers/DashboardLayout";
-import DashboardNavbar from "examples/Navbars/DashboardNavbar";
-import Footer from "examples/Footer";
-import ProfileInfoCard from "examples/Cards/InfoCards/ProfileInfoCard";
-import ProfilesList from "examples/Lists/ProfilesList";
-import DefaultProjectCard from "examples/Cards/ProjectCards/DefaultProjectCard";
-
-// Overview page components
-import Header from "layouts/profile/components/Header";
-import PlatformSettings from "layouts/profile/components/PlatformSettings";
-
-// Data
-import profilesListData from "layouts/profile/data/profilesListData";
-
-// Images
-import homeDecor1 from "assets/images/home-decor-1.jpg";
-import homeDecor2 from "assets/images/home-decor-2.jpg";
-import homeDecor3 from "assets/images/home-decor-3.jpg";
-import homeDecor4 from "assets/images/home-decor-4.jpeg";
-import team1 from "assets/images/team-1.jpg";
-import team2 from "assets/images/team-2.jpg";
-import team3 from "assets/images/team-3.jpg";
-import team4 from "assets/images/team-4.jpg";
-
-function Overview() {
- return (
-
-
-
-
-
-
-
-
-
-
-
- ,
- color: "facebook",
- },
- {
- link: "https://twitter.com/creativetim",
- icon: ,
- color: "twitter",
- },
- {
- link: "https://www.instagram.com/creativetimofficial/",
- icon: ,
- color: "instagram",
- },
- ]}
- action={{ route: "", tooltip: "Edit Profile" }}
- shadow={false}
- />
-
-
-
-
-
-
-
-
-
- Projects
-
-
-
- Architects design houses
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default Overview;
diff --git a/src/layouts/rtl/components/OrdersOverview/index.js b/src/layouts/rtl/components/OrdersOverview/index.js
deleted file mode 100644
index eea10609c..000000000
--- a/src/layouts/rtl/components/OrdersOverview/index.js
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Card from "@mui/material/Card";
-import Icon from "@mui/material/Icon";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-
-// Material Dashboard 2 React example components
-import TimelineItem from "examples/Timeline/TimelineItem";
-
-function OrdersOverview() {
- return (
-
-
-
- نظرة عامة على الطلبات
-
-
-
-
- success.main }}>arrow_upward
-
-
-
- 24%
- {" "}
- هذا الشهر
-
-
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default OrdersOverview;
diff --git a/src/layouts/rtl/components/Projects/data/index.js b/src/layouts/rtl/components/Projects/data/index.js
deleted file mode 100644
index 845dac3e1..000000000
--- a/src/layouts/rtl/components/Projects/data/index.js
+++ /dev/null
@@ -1,212 +0,0 @@
-/* eslint-disable react/prop-types */
-/* eslint-disable react/function-component-definition */
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Tooltip from "@mui/material/Tooltip";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import MDAvatar from "components/MDAvatar";
-import MDProgress from "components/MDProgress";
-
-// Images
-import logoXD from "assets/images/small-logos/logo-xd.svg";
-import logoAtlassian from "assets/images/small-logos/logo-atlassian.svg";
-import logoSlack from "assets/images/small-logos/logo-slack.svg";
-import logoSpotify from "assets/images/small-logos/logo-spotify.svg";
-import logoJira from "assets/images/small-logos/logo-jira.svg";
-import logoInvesion from "assets/images/small-logos/logo-invision.svg";
-import team1 from "assets/images/team-1.jpg";
-import team2 from "assets/images/team-2.jpg";
-import team3 from "assets/images/team-3.jpg";
-import team4 from "assets/images/team-4.jpg";
-
-export default function data() {
- const avatars = (أعضاء) =>
- أعضاء.map(([image, name]) => (
-
-
- `${borderWidth[2]} solid ${white.main}`,
- cursor: "pointer",
- position: "relative",
-
- "&:not(:first-of-type)": {
- ml: -1.25,
- },
-
- "&:hover, &:focus": {
- zIndex: "10",
- },
- }}
- />
-
- ));
-
- const Company = ({ image, name }) => (
-
-
-
- {name}
-
-
- );
-
- return {
- columns: [
- { Header: "المشروع", accessor: "المشروع", width: "45%", align: "left" },
- { Header: "أعضاء", accessor: "أعضاء", width: "10%", align: "left" },
- { Header: "ميزانية", accessor: "ميزانية", align: "center" },
- { Header: "إكمال", accessor: "إكمال", align: "center" },
- ],
-
- rows: [
- {
- المشروع: ,
- أعضاء: (
-
- {avatars([
- [team1, "Ryan Tompson"],
- [team2, "Romina Hadid"],
- [team3, "Alexander Smith"],
- [team4, "Jessica Doe"],
- ])}
-
- ),
- ميزانية: (
-
- $14,000
-
- ),
- إكمال: (
-
-
-
- ),
- },
- {
- المشروع: ,
- أعضاء: (
-
- {avatars([
- [team2, "Romina Hadid"],
- [team4, "Jessica Doe"],
- ])}
-
- ),
- ميزانية: (
-
- $3,000
-
- ),
- إكمال: (
-
-
-
- ),
- },
- {
- المشروع: ,
- أعضاء: (
-
- {avatars([
- [team1, "Ryan Tompson"],
- [team3, "Alexander Smith"],
- ])}
-
- ),
- ميزانية: (
-
- غير مضبوط
-
- ),
- إكمال: (
-
-
-
- ),
- },
- {
- المشروع: ,
- أعضاء: (
-
- {avatars([
- [team4, "Jessica Doe"],
- [team3, "Alexander Smith"],
- [team2, "Romina Hadid"],
- [team1, "Ryan Tompson"],
- ])}
-
- ),
- ميزانية: (
-
- $20,500
-
- ),
- إكمال: (
-
-
-
- ),
- },
- {
- المشروع: ,
- أعضاء: (
-
- {avatars([[team4, "Jessica Doe"]])}
-
- ),
- ميزانية: (
-
- $500
-
- ),
- إكمال: (
-
-
-
- ),
- },
- {
- المشروع: ,
- أعضاء: (
-
- {avatars([
- [team1, "Ryan Tompson"],
- [team4, "Jessica Doe"],
- ])}
-
- ),
- ميزانية: (
-
- $2,000
-
- ),
- إكمال: (
-
-
-
- ),
- },
- ],
- };
-}
diff --git a/src/layouts/rtl/components/Projects/index.js b/src/layouts/rtl/components/Projects/index.js
deleted file mode 100644
index 38cfc3c8c..000000000
--- a/src/layouts/rtl/components/Projects/index.js
+++ /dev/null
@@ -1,102 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-import { useState } from "react";
-
-// @mui material components
-import Card from "@mui/material/Card";
-import Icon from "@mui/material/Icon";
-import Menu from "@mui/material/Menu";
-import MenuItem from "@mui/material/MenuItem";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import DataTable from "examples/Tables/DataTable";
-
-// Data
-import data from "layouts/rtl/components/Projects/data";
-
-function Projects() {
- const { columns, rows } = data();
- const [menu, setMenu] = useState(null);
-
- const openMenu = ({ currentTarget }) => setMenu(currentTarget);
- const closeMenu = () => setMenu(null);
-
- const renderMenu = (
-
- );
-
- return (
-
-
-
-
- المشاريع
-
-
- info.main,
- mt: -0.5,
- }}
- >
- done
-
-
- 30 انتهى هذا الشهر
-
-
-
-
-
- more_vert
-
-
- {renderMenu}
-
-
-
-
-
- );
-}
-
-export default Projects;
diff --git a/src/layouts/rtl/data/reportsBarChartData.js b/src/layouts/rtl/data/reportsBarChartData.js
deleted file mode 100644
index 7a5eced1e..000000000
--- a/src/layouts/rtl/data/reportsBarChartData.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-export default {
- labels: ["M", "T", "W", "T", "F", "S", "S"],
- datasets: { label: "Sales", data: [50, 20, 10, 22, 50, 10, 40] },
-};
diff --git a/src/layouts/rtl/data/reportsLineChartData.js b/src/layouts/rtl/data/reportsLineChartData.js
deleted file mode 100644
index 09bd7b5d4..000000000
--- a/src/layouts/rtl/data/reportsLineChartData.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-export default {
- sales: {
- labels: ["Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
- datasets: { label: "Mobile apps", data: [50, 40, 300, 320, 500, 350, 200, 230, 500] },
- },
- tasks: {
- labels: ["Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
- datasets: { label: "Desktop apps", data: [50, 40, 300, 220, 500, 250, 400, 230, 500] },
- },
-};
diff --git a/src/layouts/rtl/index.js b/src/layouts/rtl/index.js
deleted file mode 100644
index 6057c0eb0..000000000
--- a/src/layouts/rtl/index.js
+++ /dev/null
@@ -1,176 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-import { useEffect } from "react";
-
-// @mui material components
-import Grid from "@mui/material/Grid";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-
-// Material Dashboard 2 React example components
-import DashboardLayout from "examples/LayoutContainers/DashboardLayout";
-import DashboardNavbar from "examples/Navbars/DashboardNavbar";
-import Footer from "examples/Footer";
-import ReportsBarChart from "examples/Charts/BarCharts/ReportsBarChart";
-import ReportsLineChart from "examples/Charts/LineCharts/ReportsLineChart";
-import ComplexStatisticsCard from "examples/Cards/StatisticsCards/ComplexStatisticsCard";
-
-// Data
-import reportsBarChartData from "layouts/rtl/data/reportsBarChartData";
-import reportsLineChartData from "layouts/rtl/data/reportsLineChartData";
-
-// RTL components
-import Projects from "layouts/rtl/components/Projects";
-import OrdersOverview from "layouts/rtl/components/OrdersOverview";
-
-// Material Dashboard 2 React contexts
-import { useMaterialUIController, setDirection } from "context";
-
-function RTL() {
- const [, dispatch] = useMaterialUIController();
- const { sales, tasks } = reportsLineChartData;
-
- // Changing the direction to rtl
- useEffect(() => {
- setDirection(dispatch, "rtl");
-
- return () => setDirection(dispatch, "ltr");
- }, []);
-
- return (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (+15%) زيادة في مبيعات اليوم..
- >
- }
- date="تم التحديث منذ 4 دقائق"
- chart={sales}
- />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default RTL;
diff --git a/src/layouts/tables/data/authorsTableData.js b/src/layouts/tables/data/authorsTableData.js
deleted file mode 100644
index 77be87274..000000000
--- a/src/layouts/tables/data/authorsTableData.js
+++ /dev/null
@@ -1,177 +0,0 @@
-/* eslint-disable react/prop-types */
-/* eslint-disable react/function-component-definition */
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import MDAvatar from "components/MDAvatar";
-import MDBadge from "components/MDBadge";
-
-// Images
-import team2 from "assets/images/team-2.jpg";
-import team3 from "assets/images/team-3.jpg";
-import team4 from "assets/images/team-4.jpg";
-
-export default function data() {
- const Author = ({ image, name, email }) => (
-
-
-
-
- {name}
-
- {email}
-
-
- );
-
- const Job = ({ title, description }) => (
-
-
- {title}
-
- {description}
-
- );
-
- return {
- columns: [
- { Header: "author", accessor: "author", width: "45%", align: "left" },
- { Header: "function", accessor: "function", align: "left" },
- { Header: "status", accessor: "status", align: "center" },
- { Header: "employed", accessor: "employed", align: "center" },
- { Header: "action", accessor: "action", align: "center" },
- ],
-
- rows: [
- {
- author: ,
- function: ,
- status: (
-
-
-
- ),
- employed: (
-
- 23/04/18
-
- ),
- action: (
-
- Edit
-
- ),
- },
- {
- author: ,
- function: ,
- status: (
-
-
-
- ),
- employed: (
-
- 11/01/19
-
- ),
- action: (
-
- Edit
-
- ),
- },
- {
- author: ,
- function: ,
- status: (
-
-
-
- ),
- employed: (
-
- 19/09/17
-
- ),
- action: (
-
- Edit
-
- ),
- },
- {
- author: ,
- function: ,
- status: (
-
-
-
- ),
- employed: (
-
- 24/12/08
-
- ),
- action: (
-
- Edit
-
- ),
- },
- {
- author: ,
- function: ,
- status: (
-
-
-
- ),
- employed: (
-
- 04/10/21
-
- ),
- action: (
-
- Edit
-
- ),
- },
- {
- author: ,
- function: ,
- status: (
-
-
-
- ),
- employed: (
-
- 14/09/20
-
- ),
- action: (
-
- Edit
-
- ),
- },
- ],
- };
-}
diff --git a/src/layouts/tables/data/projectsTableData.js b/src/layouts/tables/data/projectsTableData.js
deleted file mode 100644
index fe02186e2..000000000
--- a/src/layouts/tables/data/projectsTableData.js
+++ /dev/null
@@ -1,182 +0,0 @@
-/* eslint-disable react/prop-types */
-/* eslint-disable react/function-component-definition */
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Icon from "@mui/material/Icon";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-import MDAvatar from "components/MDAvatar";
-import MDProgress from "components/MDProgress";
-
-// Images
-import LogoAsana from "assets/images/small-logos/logo-asana.svg";
-import logoGithub from "assets/images/small-logos/github.svg";
-import logoAtlassian from "assets/images/small-logos/logo-atlassian.svg";
-import logoSlack from "assets/images/small-logos/logo-slack.svg";
-import logoSpotify from "assets/images/small-logos/logo-spotify.svg";
-import logoInvesion from "assets/images/small-logos/logo-invision.svg";
-
-export default function data() {
- const Project = ({ image, name }) => (
-
-
-
- {name}
-
-
- );
-
- const Progress = ({ color, value }) => (
-
-
- {value}%
-
-
-
-
-
- );
-
- return {
- columns: [
- { Header: "project", accessor: "project", width: "30%", align: "left" },
- { Header: "budget", accessor: "budget", align: "left" },
- { Header: "status", accessor: "status", align: "center" },
- { Header: "completion", accessor: "completion", align: "center" },
- { Header: "action", accessor: "action", align: "center" },
- ],
-
- rows: [
- {
- project: ,
- budget: (
-
- $2,500
-
- ),
- status: (
-
- working
-
- ),
- completion: ,
- action: (
-
- more_vert
-
- ),
- },
- {
- project: ,
- budget: (
-
- $5,000
-
- ),
- status: (
-
- done
-
- ),
- completion: ,
- action: (
-
- more_vert
-
- ),
- },
- {
- project: ,
- budget: (
-
- $3,400
-
- ),
- status: (
-
- canceled
-
- ),
- completion: ,
- action: (
-
- more_vert
-
- ),
- },
- {
- project: ,
- budget: (
-
- $14,000
-
- ),
- status: (
-
- working
-
- ),
- completion: ,
- action: (
-
- more_vert
-
- ),
- },
- {
- project: ,
- budget: (
-
- $1,000
-
- ),
- status: (
-
- canceled
-
- ),
- completion: ,
- action: (
-
- more_vert
-
- ),
- },
- {
- project: ,
- budget: (
-
- $2,300
-
- ),
- status: (
-
- done
-
- ),
- completion: ,
- action: (
-
- more_vert
-
- ),
- },
- ],
- };
-}
diff --git a/src/layouts/tables/index.js b/src/layouts/tables/index.js
deleted file mode 100644
index 0f7d96cf6..000000000
--- a/src/layouts/tables/index.js
+++ /dev/null
@@ -1,104 +0,0 @@
-/**
-=========================================================
-* Material Dashboard 2 React - v2.2.0
-=========================================================
-
-* Product Page: https://www.creative-tim.com/product/material-dashboard-react
-* Copyright 2023 Creative Tim (https://www.creative-tim.com)
-
-Coded by www.creative-tim.com
-
- =========================================================
-
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*/
-
-// @mui material components
-import Grid from "@mui/material/Grid";
-import Card from "@mui/material/Card";
-
-// Material Dashboard 2 React components
-import MDBox from "components/MDBox";
-import MDTypography from "components/MDTypography";
-
-// Material Dashboard 2 React example components
-import DashboardLayout from "examples/LayoutContainers/DashboardLayout";
-import DashboardNavbar from "examples/Navbars/DashboardNavbar";
-import Footer from "examples/Footer";
-import DataTable from "examples/Tables/DataTable";
-
-// Data
-import authorsTableData from "layouts/tables/data/authorsTableData";
-import projectsTableData from "layouts/tables/data/projectsTableData";
-
-function Tables() {
- const { columns, rows } = authorsTableData();
- const { columns: pColumns, rows: pRows } = projectsTableData();
-
- return (
-
-
-
-
-
-
-
-
- Authors Table
-
-
-
-
-
-
-
-
-
-
-
- Projects Table
-
-
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default Tables;
diff --git a/src/routes.js b/src/routes.js
index a17b439ad..e9c249686 100644
--- a/src/routes.js
+++ b/src/routes.js
@@ -36,83 +36,76 @@ Coded by www.creative-tim.com
*/
// Material Dashboard 2 React layouts
-import Dashboard from "layouts/dashboard";
-import Tables from "layouts/tables";
-import Billing from "layouts/billing";
-import RTL from "layouts/rtl";
-import Notifications from "layouts/notifications";
-import Profile from "layouts/profile";
-import SignIn from "layouts/authentication/sign-in";
-import SignUp from "layouts/authentication/sign-up";
+import Tables from "layouts/clerk";
// @mui icons
import Icon from "@mui/material/Icon";
const routes = [
+ // {
+ // type: "collapse",
+ // name: "Dashboard",
+ // key: "dashboard",
+ // icon: dashboard,
+ // route: "/dashboard",
+ // component: ,
+ // },
{
type: "collapse",
- name: "Dashboard",
- key: "dashboard",
- icon: dashboard,
- route: "/dashboard",
- component: ,
- },
- {
- type: "collapse",
- name: "Tables",
+ name: "Products",
key: "tables",
icon: table_view,
route: "/tables",
component: ,
},
- {
- type: "collapse",
- name: "Billing",
- key: "billing",
- icon: receipt_long,
- route: "/billing",
- component: ,
- },
- {
- type: "collapse",
- name: "RTL",
- key: "rtl",
- icon: format_textdirection_r_to_l,
- route: "/rtl",
- component: ,
- },
- {
- type: "collapse",
- name: "Notifications",
- key: "notifications",
- icon: notifications,
- route: "/notifications",
- component: ,
- },
- {
- type: "collapse",
- name: "Profile",
- key: "profile",
- icon: person,
- route: "/profile",
- component: ,
- },
- {
- type: "collapse",
- name: "Sign In",
- key: "sign-in",
- icon: login,
- route: "/authentication/sign-in",
- component: ,
- },
- {
- type: "collapse",
- name: "Sign Up",
- key: "sign-up",
- icon: assignment,
- route: "/authentication/sign-up",
- component: ,
- },
+ // {
+ // type: "collapse",
+ // name: "Billing",
+ // key: "billing",
+ // icon: receipt_long,
+ // route: "/billing",
+ // component: ,
+ // },
+ // {
+ // type: "collapse",
+ // name: "RTL",
+ // key: "rtl",
+ // icon: format_textdirection_r_to_l,
+ // route: "/rtl",
+ // component: ,
+ // },
+ // {
+ // type: "collapse",
+ // name: "Notifications",
+ // key: "notifications",
+ // icon: notifications,
+ // route: "/notifications",
+ // component: ,
+ // },
+ // {
+ // type: "collapse",
+ // name: "Profile",
+ // key: "profile",
+ // icon: person,
+ // route: "/profile",
+ // component: ,
+ // },
+ // {
+ // type: "collapse",
+ // name: "Sign In",
+ // key: "sign-in",
+ // icon: login,
+ // route: "/authentication/sign-in",
+ // component: ,
+ // },
+ // {
+ // type: "collapse",
+ // name: "Sign Up",
+ // key: "sign-up",
+ // icon: assignment,
+ // route: "/authentication/sign-up",
+ // component: ,
+ // },
];
export default routes;