diff --git a/package-lock.json b/package-lock.json index 34ecb04b..25eaf03f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13070,6 +13070,11 @@ "prop-types": "^15.6.2" } }, + "react-yandex-metrika": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/react-yandex-metrika/-/react-yandex-metrika-2.6.0.tgz", + "integrity": "sha512-8K4wExsNZtY3DTxh1G8a+zWH9Pg8fw23MJcoJ4I/562qrHRnh7L5nteq3lnNL58dnNQbuuHIRoGgMjIo+r1GjA==" + }, "read-pkg": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", diff --git a/package.json b/package.json index f9b0e868..d45ab80c 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "react-router-dom": "^5.2.0", "react-scripts": "4.0.3", "react-select": "^4.3.1", + "react-yandex-metrika": "^2.6.0", "redux-devtools-extension": "^2.13.9", "sass": "^1.34.0", "sass-loader": "^11.1.1", diff --git a/src/App.js b/src/App.js index 5ba9fb9e..76e4a26a 100644 --- a/src/App.js +++ b/src/App.js @@ -6,6 +6,8 @@ import 'bootstrap/dist/css/bootstrap.min.css' import './fonts/stylesheet.css' import { ProtectedRoute } from './components/ProtectedRoute/ProtectedRoute'; +import { YMInitializer } from 'react-yandex-metrika'; + import AuthPageForDevelopers from './pages/AuthPageForDevelopers'; import AuthPageForPartners from './pages/AuthPageForPartners'; import HomePage from './pages/HomePage'; @@ -34,8 +36,20 @@ const App = (props) => {
Page not found
} /> + + ) } + export default App diff --git a/src/components/Candidate/candidate.css b/src/components/Candidate/candidate.css index 54cd4e81..6a2617bd 100644 --- a/src/components/Candidate/candidate.css +++ b/src/components/Candidate/candidate.css @@ -180,9 +180,10 @@ @media (max-width: 575.98px) { .candidate__main__description > img { - width: 50%; + /* width: 50%; display: block; - margin: 0 auto; + margin: 0 auto; */ + display: none; } } diff --git a/src/components/Sidebar/Sidebar.module.css b/src/components/Sidebar/Sidebar.module.css index 879d64f8..e5b358dc 100644 --- a/src/components/Sidebar/Sidebar.module.css +++ b/src/components/Sidebar/Sidebar.module.css @@ -142,4 +142,8 @@ display: flex; flex-direction: column; } + + .candidateSidebar__info__e, .candidateSidebar__info__y { + width: 180px; + } } \ No newline at end of file