From af5aeebea3496cec171bf380833627dc522d32a5 Mon Sep 17 00:00:00 2001 From: er-ebrahimi Date: Fri, 15 Dec 2023 06:26:26 -0500 Subject: [PATCH] Refactor(Files): Addressing was wrong for building --- src/App.jsx | 2 +- src/components/Admin/Admin_SearchBar.jsx | 2 +- src/views/404.jsx | 2 +- src/views/Landing/PlanningInLanding.jsx | 5 ++--- src/views/Landing/TimeLinelanding.jsx | 2 +- src/views/NewLandingPage.jsx | 5 ++--- 6 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index db76e307..8b5657b5 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -32,7 +32,7 @@ import Timelinepage from "./views/TimeLine/Timelinepage.jsx"; import { ErrorBoundary } from "react-error-boundary"; import NotFound from "./views/404.jsx"; import InternalServerError from "./views/500.jsx"; -import NewLandingpage from "./views/NewLandingpage.jsx"; +import NewLandingpage from "./views/NewLandingPage.jsx"; import AdminPanel from "./views/admin/Admin.jsx" import Replies from "./views/TimeLine/Replies.jsx"; import ErrorBoundrypage from "./views/ErrorBoundrypage.jsx"; diff --git a/src/components/Admin/Admin_SearchBar.jsx b/src/components/Admin/Admin_SearchBar.jsx index 8fccc711..0a4d92b9 100644 --- a/src/components/Admin/Admin_SearchBar.jsx +++ b/src/components/Admin/Admin_SearchBar.jsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from "react"; -import styles from "../../assets/css/Admin/Admin_Searchbar.module.css"; +import styles from "../../assets/css/admin/Admin_Searchbar.module.css"; import Searchfield from "../../views/Searchfield" import UserSearchResponce from "../../views/UserSearchResponce"; import { Card } from "reactstrap"; diff --git a/src/views/404.jsx b/src/views/404.jsx index 61c05fcf..84889d8c 100644 --- a/src/views/404.jsx +++ b/src/views/404.jsx @@ -1,6 +1,6 @@ import React from 'react' import Sidebar from './Sidebar/Sidebar' -import styles from '../assets/css/Notfound.module.css' +import styles from './../assets/css/NotFound.module.css' import Notfoundmain from '../components/notfoundmain' const NotFound = () => { return ( diff --git a/src/views/Landing/PlanningInLanding.jsx b/src/views/Landing/PlanningInLanding.jsx index 8fc5bd93..573736cd 100644 --- a/src/views/Landing/PlanningInLanding.jsx +++ b/src/views/Landing/PlanningInLanding.jsx @@ -1,7 +1,6 @@ import React from "react"; -import styles from "../../assets/css/landing/mainpart.module.css"; -import image from "../../assets/img/imgdarkolive.jpg"; - +import styles from "./../../assets/css/Landing/mainpart.module.css"; +import image from "./../../assets/img/imgdarkolive.jpg"; const PlanningInLanding = () => { return (
diff --git a/src/views/Landing/TimeLinelanding.jsx b/src/views/Landing/TimeLinelanding.jsx index 0acea217..a168b2ab 100644 --- a/src/views/Landing/TimeLinelanding.jsx +++ b/src/views/Landing/TimeLinelanding.jsx @@ -1,5 +1,5 @@ import React from 'react' -import styles from "../../assets/css/landing/mainpart.module.css"; +import styles from "../../assets/css/Landing/mainpart.module.css"; import image from "../../assets/img/timelineeg.png"; const TimeLinelanding = () => { diff --git a/src/views/NewLandingPage.jsx b/src/views/NewLandingPage.jsx index 4b614fe6..c0044dca 100644 --- a/src/views/NewLandingPage.jsx +++ b/src/views/NewLandingPage.jsx @@ -1,13 +1,12 @@ import React, { useEffect } from "react"; import { motion, useScroll, useAnimation } from "framer-motion"; -import styles from "../assets/css/landing/newLanding.module.css"; -import Mainpart from "./Landing/Mainpart"; +import styles from "./../assets/css/Landing/newLanding.module.css"; import PlanningInLanding from "./Landing/PlanningInLanding"; import TimeLinelanding from "./Landing/TimeLinelanding"; import ThirdLanding from "./Landing/ThirdLanding"; import Fourthlanding from "./Landing/Fourthlanding"; import FivethLanding from "./Landing/FivethLanding"; - +import Mainpart from "./Landing/mainpart" const cardVariants = { offscreen: { opacity: 0,