From 3ce8e17645d2a3f21f630c0a173df6736d123742 Mon Sep 17 00:00:00 2001 From: kurpfish Date: Wed, 18 Aug 2021 18:16:57 +0300 Subject: [PATCH 1/3] footer changed --- src/App.js | 5 +- src/components/Auth/AuthForDevelopers.js | 35 +------ .../Auth/AuthForDevelopers.module.css | 85 ----------------- src/components/Auth/AuthForPartners.js | 32 +------ src/components/Calendar/Calendar.js | 2 + src/components/Calendar/Calendar.module.css | 4 + src/components/Candidate/Candidate.js | 2 + src/components/Candidate/candidate.css | 4 + src/components/Footer/Footer.js | 38 +++++++- src/components/Footer/footer.css | 95 +++++++++++++++++-- src/components/Home/Home.js | 2 + src/index.js | 2 - src/pages/FormPage.js | 2 + src/pages/formPage.scss | 4 + 14 files changed, 154 insertions(+), 158 deletions(-) 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

-
-
-
+