diff --git a/src/App.js b/src/App.js index 1f52af3..493f572 100644 --- a/src/App.js +++ b/src/App.js @@ -37,8 +37,8 @@ import theme from "assets/theme"; import themeDark from "assets/theme-dark"; // Material Dashboard 2 React routes -import routes from "routes"; -import adminRoutes from "adminroutes"; +import routes from "routes/routes"; +import adminRoutes from "routes/adminroutes"; // Material Dashboard 2 React contexts import { useMaterialUIController, setMiniSidenav, setOpenConfigurator } from "context"; diff --git a/src/assets/images/newspaper1.jpg b/src/assets/images/newspaper1.jpg new file mode 100644 index 0000000..5c1d113 Binary files /dev/null and b/src/assets/images/newspaper1.jpg differ diff --git a/src/assets/images/newspaper2.jpg b/src/assets/images/newspaper2.jpg new file mode 100644 index 0000000..7658555 Binary files /dev/null and b/src/assets/images/newspaper2.jpg differ diff --git a/src/layouts/authentication/sign-in/index.js b/src/layouts/authentication/sign-in/index.js index 646be08..753ec76 100644 --- a/src/layouts/authentication/sign-in/index.js +++ b/src/layouts/authentication/sign-in/index.js @@ -32,7 +32,7 @@ import MDButton from "components/MDButton"; import BasicLayout from "layouts/authentication/components/BasicLayout"; // Images -import bgImage from "assets/images/bg-sign-in-basic.jpeg"; +import bgImage from "assets/images/newspaper1.jpg"; import GoogleButton from "react-google-button"; import { auth, provider } from "../../../firebase"; diff --git a/src/layouts/authentication/sign-up/index.js b/src/layouts/authentication/sign-up/index.js index fd096ca..f950902 100644 --- a/src/layouts/authentication/sign-up/index.js +++ b/src/layouts/authentication/sign-up/index.js @@ -34,7 +34,7 @@ import MDAlert from "components/MDAlert"; import BasicLayout from "../components/BasicLayout"; // Images -import bgImage from "assets/images/bg-sign-up-cover.jpeg"; +import bgImage from "assets/images/newspaper2.jpg"; import VerificationDialog from "./VerificationDialog"; import { useNavigate } from "react-router-dom"; diff --git a/src/adminroutes.js b/src/routes/adminroutes.js similarity index 67% rename from src/adminroutes.js rename to src/routes/adminroutes.js index be9958e..61ebaac 100644 --- a/src/adminroutes.js +++ b/src/routes/adminroutes.js @@ -1,40 +1,3 @@ -/** -========================================================= -* 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. -*/ - -/** - All of the routes for the Material Dashboard 2 React are added here, - You can add a new route, customize the routes and delete the routes here. - - Once you add a new route on this file it will be visible automatically on - the Sidenav. - - For adding a new route you can follow the existing routes in the routes array. - 1. The `type` key with the `collapse` value is used for a route. - 2. The `type` key with the `title` value is used for a title inside the Sidenav. - 3. The `type` key with the `divider` value is used for a divider between Sidenav items. - 4. The `name` key is used for the name of the route on the Sidenav. - 5. The `key` key is used for the key of the route (It will help you with the key prop inside a loop). - 6. The `icon` key is used for the icon of the route on the Sidenav, you have to add a node. - 7. The `collapse` key is used for making a collapsible item on the Sidenav that has other routes - inside (nested routes), you need to pass the nested routes inside an array as a value for the `collapse` key. - 8. The `route` key is used to store the route location which is used for the react router. - 9. The `href` key is used to store the external links location. - 10. The `title` key is only for the item with the type of `title` and its used for the title text on the Sidenav. - 10. The `component` key is used to store the component of its route. -*/ - // Material Dashboard 2 React layouts import Dashboard from "layouts/dashboard"; diff --git a/src/routes.js b/src/routes/routes.js similarity index 72% rename from src/routes.js rename to src/routes/routes.js index bc18332..1df93a2 100644 --- a/src/routes.js +++ b/src/routes/routes.js @@ -1,40 +1,3 @@ -/** -========================================================= -* 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. -*/ - -/** - All of the routes for the Material Dashboard 2 React are added here, - You can add a new route, customize the routes and delete the routes here. - - Once you add a new route on this file it will be visible automatically on - the Sidenav. - - For adding a new route you can follow the existing routes in the routes array. - 1. The `type` key with the `collapse` value is used for a route. - 2. The `type` key with the `title` value is used for a title inside the Sidenav. - 3. The `type` key with the `divider` value is used for a divider between Sidenav items. - 4. The `name` key is used for the name of the route on the Sidenav. - 5. The `key` key is used for the key of the route (It will help you with the key prop inside a loop). - 6. The `icon` key is used for the icon of the route on the Sidenav, you have to add a node. - 7. The `collapse` key is used for making a collapsible item on the Sidenav that has other routes - inside (nested routes), you need to pass the nested routes inside an array as a value for the `collapse` key. - 8. The `route` key is used to store the route location which is used for the react router. - 9. The `href` key is used to store the external links location. - 10. The `title` key is only for the item with the type of `title` and its used for the title text on the Sidenav. - 10. The `component` key is used to store the component of its route. -*/ - // Material Dashboard 2 React layouts import Dashboard from "layouts/dashboard"; // import Tables from "layouts/tables";