diff --git a/src/App.js b/src/App.js index 4c6c7d50..5ba9fb9e 100644 --- a/src/App.js +++ b/src/App.js @@ -1,5 +1,7 @@ import React, { Suspense, lazy } from 'react' import { BrowserRouter as Router, Route, Switch } from 'react-router-dom' +import { useSelector } from 'react-redux' +import { selectAuth } from './redux/outstaffingSlice'; import 'bootstrap/dist/css/bootstrap.min.css' import './fonts/stylesheet.css' import { ProtectedRoute } from './components/ProtectedRoute/ProtectedRoute'; @@ -12,7 +14,8 @@ import CalendarPage from'./pages/CalendarPage'; import ReportPage from './pages/ReportFormPage.js'; import FormPage from './pages/FormPage.js'; -const App = () => { +const App = (props) => { + const isAuth = useSelector(selectAuth) return (<>

IT Аутстаффинг в России

diff --git a/src/components/Auth/AuthForDevelopers.js b/src/components/Auth/AuthForDevelopers.js index a1ee30ae..ca58e2ac 100644 --- a/src/components/Auth/AuthForDevelopers.js +++ b/src/components/Auth/AuthForDevelopers.js @@ -8,9 +8,6 @@ import arrow from '../../images/arrow__login_page.png' import authImg from '../../images/auth_img.png' import cross from '../../images/cross.png' import text from '../../images/Body_Text.png' -import align from '../../images/align-left.png' -import phone from '../../images/phone.png' -import telegram from '../../images/telegram.png' import vector from '../../images/Vector_Smart_Object.png' import vectorBlack from '../../images/Vector_Smart_Object_black.png' import { fetchAuth } from '../../server/server' @@ -22,6 +19,7 @@ import { Loader } from '../Loader/Loader' import { withSwalInstance } from 'sweetalert2-react'; import swal from 'sweetalert2'; +import { Footer } from '../Footer/Footer' const SweetAlert = withSwalInstance(swal); @@ -153,36 +151,7 @@ const AuthForDevelopers = () => { - -
-
-
-
- -
-
- - Подберем и документально оформим IT-специалистов, после чего передадим исполнителей под ваше руководство. - Вы получаете полное управление над сотрудниками, имея возможность контролировать и заменять IT штат.{' '} - -
-
-
- -
-
- - -
-
- -
-
-

+7 495 156 78 98

-

Будни с 9:00 до 21:00

-
-
-
+