import React from "react"; import { BrowserRouter as Router, Route, Routes, Navigate, } from "react-router-dom"; import { getNotification } from "@redux/outstaffingSlice"; import AuthForPartners from "./pages/AuthForPartners/AuthForPartners"; import AuthForDevelopers from "./pages/AuthForDevelopers/AuthForDevelopers"; import { TrackerIntro } from "./pages/TrackerIntro/TrackerIntro" import { CompanyInfo } from "@pages/CompanyInfo/CompanyInfo"; import { TrackerAuth } from "@pages/TrackerAuth/TrackerAuth"; import { TrackerRegistration } from "@pages/TrackerRegistration/TrackerRegistration"; import Home from "./pages/Home/Home"; import Candidate from "./components/Candidate/Candidate"; import Calendar from "./components/Calendar/Calendar"; import ReportForm from "./components/ReportForm/ReportForm"; import FreeDevelopers from "./components/FreeDevelopers/FreeDevelopers"; import { TicketFullScreen } from "./components/Modal/Tracker/TicketFullScreen/TicketFullScreen"; import { ProfileCalendar } from "./components/ProfileCalendar/ProfileCalendar"; import Article from "./pages/Article/Article"; import FormPage from "./pages/FormPage/FormPage"; import SingleReportPage from "./pages/SingleReportPage/SingleReportPage"; import { QuizPage } from "./pages/quiz/QuizPage"; import { QuizReportPage } from "./pages/quiz/QuizReportPage"; import { Profile } from "./pages/Profile/Profile.js"; import { Summary } from "./pages/Summary/Summary"; import { ViewReport } from "./pages/ViewReport/ViewReport"; import { Tracker } from "./pages/Tracker/Tracker"; import { Payouts } from "./pages/Payouts/Payouts"; import { PartnerSettings } from "./pages/PartnerSettings/PartnerSettings"; import { PartnerRequests } from "./pages/PartnerRequests/PartnerRequests"; import { PartnerAddRequest } from "./pages/PartnerAddRequest/PartnerAddRequest"; import { PartnerBid } from "./pages/PartnerBid/PartnerBid"; import { PartnerCategories } from "./pages/PartnerСategories/PartnerСategories"; import { PartnerTreaties } from "./pages/PartnerTreaties/PartnerTreaties"; import { PartnerEmployees } from "./pages/PartnerEmployees/PartnerEmployees"; import { AuthForCandidate } from "./pages/AuthForCandidate/AuthForCandidate"; import { RegistrationForCandidate } from "./pages/RegistrationForCandidate/RegistrationForCandidate"; import { ProfileCandidate } from "./pages/ProfileCandidate/ProfileCandidate"; import { PassingTests } from "./pages/quiz/PassingTests"; import Blog from "./pages/Blog/Blog"; import Statistics from "@pages/Statistics/Statistics"; import { ProjectTracker } from "./pages/ProjectTracker/ProjectTracker"; import { FrequentlyAskedQuestions } from "./pages/FrequentlyAskedQuestions/FrequentlyAskedQuestions"; import { FrequentlyAskedQuestion } from "./pages/FrequentlyAskedQuestion/FrequentlyAskedQuestion"; import Notification from "@components/Notification/Notification"; import { useSelector } from "react-redux"; import "./assets/global.scss"; import "./assets/fonts/stylesheet.css"; import "bootstrap/dist/css/bootstrap.min.css"; const App = () => { const notification = useSelector(getNotification) return ( <> } /> } /> } /> } /> } /> } /> } /> } > } /> } /> } /> }> }> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> }/> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> {notification.show && } ); }; export default App;