Skip to content

Commit

Permalink
remove bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohitha-pudu committed Jun 14, 2024
1 parent c33372a commit f5f58fa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 67 deletions.
65 changes: 1 addition & 64 deletions frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@ import Review from "./Component/Review";

import AOS from "aos";
import "aos/dist/aos.css";



import Review from "./Component/Review.js";


import Review from "./Component/Review";

import AOS from "aos";
import "aos/dist/aos.css";
import { Toaster } from "react-hot-toast";


Expand All @@ -42,11 +32,10 @@ import Extension from "./pages/Extension";
import UI from "./pages/UI";
import FrontendTools from "./pages/FrontendTools";
import EthicalHacking from "./pages/EthicalHacking";
import CodingPlateform from "./pages/CodingPlatform.jsx";
import CodingPlateform from "./pages/CodingPlateform.jsx";
import CourcesPlatform from "./pages/CoursesPlatform.jsx";


import Faq from "./Component/Faq";

function App() {
const [searchQuery, setSearchQuery] = useState("");
Expand Down Expand Up @@ -80,58 +69,6 @@ function App() {
<ChatAssistant /> <Footer />
</>

import CoursesPlatform from "./pages/CoursesPlatform";
import Productivity from "./pages/Productivity";
import Collaboration from "./pages/Collaboration";
import CodingPlatform from "./pages/CodingPlateform";



import "aos/dist/aos.css";

function App() {

import CodingPlateform from "./pages/CodingPlateform";

function App() {
const [searchQuery, setSearchQuery] = useState("");
AOS.init();
return (
<>
<ScrollToTop />
<Navbar setSearchQuery={setSearchQuery} />
<Routes>
<Route path="/" element={<Home searchQuery={searchQuery} />} />
<Route path="/bookmark" element={<BookMark />} />
<Route path="/about" element={<About />} />
<Route path="/open-source" element={<OpenSource />} />
<Route path="/review" element={<Review />} />
<Route path="/faq" element={<Faq />} />
<Route path="/rateus" element={<Rateus />} />
<Route path="/remote-jobs" element={<RemoteJobs />} />
<Route path="/ai" element={<AI />} />
<Route path="/movies-series" element={<Movie />} />
<Route path="/extension" element={<Extension />} />
<Route path="/ui-design" element={<UI />} />
<Route path="/front-end-tools" element={<FrontendTools />} />
<Route path="/ethical-hacking" element={<EthicalHacking />} />
<Route path="/coding-platform" element={<CodingPlatform />} />
<Route path="/cources-platform" element={<CoursesPlatform />} />
<Route path="/coding-platform" element={<CodingPlatform />} />


<Route path="/courses-platform" element={<CoursesPlatform />} />

<Route path="/productivity-tools" element={<Productivity />} />
<Route path="/collaboration-tools" element={<Collaboration />} />
<Route path="*" element={<NotFound />} /> {/* 404 route */}
</Routes>
<BackToTopButton />
<Toaster />
<Footer />
<ChatAssistant />
</>

);
}

Expand Down
1 change: 0 additions & 1 deletion frontend/src/Component/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from "react";
import logo from "../image/logo.png";
import "../style/Footer.css";

import { FaGithubSquare, FaTwitter } from "react-icons/fa";
import { BsLinkedin } from "react-icons/bs";

import { FaGithubSquare, FaLinkedin, FaTwitter } from "react-icons/fa";
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ darkmode.showWidget();
root.render(
<Provider store={store}>p
<BrowserRouter> {/* Ensure BrowserRouter is only here */}
<App />
<BrowserRouter>
<App />

<ToastContainer />
Expand Down

0 comments on commit f5f58fa

Please sign in to comment.