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 штат.{' '}
-
-
-
- Подберем и документально оформим IT-специалистов, после чего передадим исполнителей под ваше руководство.
- Вы получаете полное управление над сотрудниками, имея возможность контролировать и заменять IT штат.{' '}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+7 495 156 78 98
-
Будни с 9:00 до 21:00
-
-
-
+
diff --git a/src/components/Calendar/Calendar.js b/src/components/Calendar/Calendar.js
index f36f0a32..a1d1393b 100644
--- a/src/components/Calendar/Calendar.js
+++ b/src/components/Calendar/Calendar.js
@@ -7,6 +7,7 @@ import calendarMale from '../../images/medium_male.png';
import rectangle from '../../images/rectangle_secondPage.png';
import CalendarComponent from './CalendarComponent';
import { currentMonth } from './calendarHelper';
+import { Footer } from '../Footer/Footer';
const Calendar = () => {
const candidateForCalendar = useSelector(selectCurrentCandidate);
@@ -52,6 +53,7 @@ const Calendar = () => {
+
);
};
diff --git a/src/components/Calendar/Calendar.module.css b/src/components/Calendar/Calendar.module.css
index 6b0dc78a..cf0d2939 100644
--- a/src/components/Calendar/Calendar.module.css
+++ b/src/components/Calendar/Calendar.module.css
@@ -293,3 +293,7 @@
letter-spacing: normal;
line-height: normal;
}
+
+.calendar footer {
+ margin-top: 2rem !important;
+}
\ No newline at end of file
diff --git a/src/components/Candidate/Candidate.js b/src/components/Candidate/Candidate.js
index 93139604..20e08cdf 100644
--- a/src/components/Candidate/Candidate.js
+++ b/src/components/Candidate/Candidate.js
@@ -10,6 +10,7 @@ import front from '../../images/front_end.png';
import back from '../../images/back_end.png';
import design from '../../images/design.png';
import { fetchItemsForId } from '../../server/server';
+import { Footer } from '../Footer/Footer';
import './candidate.css';
@@ -129,6 +130,7 @@ const Candidate = () => {
+
);
};
diff --git a/src/components/Candidate/candidate.css b/src/components/Candidate/candidate.css
index f0a02aa8..12eccf2f 100644
--- a/src/components/Candidate/candidate.css
+++ b/src/components/Candidate/candidate.css
@@ -280,4 +280,8 @@
.candidate + .logout-button{
top: 80px !important;
+}
+
+.candidate footer {
+ margin-top: 2.5rem !important;
}
\ No newline at end of file
diff --git a/src/components/Footer/Footer.js b/src/components/Footer/Footer.js
index 506cfb5f..3c9e78b0 100644
--- a/src/components/Footer/Footer.js
+++ b/src/components/Footer/Footer.js
@@ -1,10 +1,46 @@
import React from 'react';
import './footer.css';
+import align from '../../images/align-left.png'
+import phone from '../../images/phone.png'
+import telegram from '../../images/telegram.png'
export const Footer = () => {
return (
+