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