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} - - - -