-
- { candidate && candidate.years_of_exp && <>
-
Опыт работы
-
{getYearsString(candidate.years_of_exp)}
- > }
-
-
+
+
+
+ {candidate && candidate.years_of_exp && (
+ <>
+
Опыт работы
+
+ {getYearsString(candidate.years_of_exp)}
+
+ >
+ )}
+
+
+
+ {candidate &&
+ candidate.achievements &&
+ candidate.achievements.map((item) => {
+ return
+ })}
+
- );
-};
+ )
+}
-export default Sidebar;
+export default Sidebar
diff --git a/src/components/Sidebar/Sidebar.module.css b/src/components/Sidebar/sidebar.scss
similarity index 86%
rename from src/components/Sidebar/Sidebar.module.css
rename to src/components/Sidebar/sidebar.scss
index 04efe60f..d1d991cc 100644
--- a/src/components/Sidebar/Sidebar.module.css
+++ b/src/components/Sidebar/sidebar.scss
@@ -6,6 +6,14 @@
border-bottom: none !important;
position: sticky;
top: 80px;
+
+ &__achievements {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: flex-start;
+ padding: 0 1rem;
+ margin-bottom: 80px;
+ }
}
.candidateSidebar__info {
@@ -25,7 +33,7 @@
border-radius: 100px;
}
-.candidateSidebar__info__e {
+.candidateSidebar__experience-title {
font-family: 'GT Eesti Pro Display';
font-size: 1.8em;
font-weight: normal;
@@ -35,7 +43,7 @@
margin-top: 20px;
}
-.candidateSidebar__info__y {
+.candidateSidebar__experience {
font-family: 'GT Eesti Pro Display';
font-size: 3em;
font-weight: 700;
@@ -44,7 +52,7 @@
line-height: normal;
}
-.candidateSidebar__info__btn {
+.candidateSidebar__select {
width: 280px;
height: 60px;
border-radius: 100px;
@@ -58,10 +66,10 @@
line-height: normal;
text-align: center;
margin-top: 20px;
- margin-bottom: 120px;
+ margin-bottom: 40px;
}
-.candidateSidebar__info__btn:hover {
+.candidateSidebar__select:hover {
background: rgba(0, 0, 0, 0);
color: #73c141;
box-shadow: inset 0 0 0 3px #73c141;
@@ -142,7 +150,8 @@
flex-direction: column;
}
- .candidateSidebar__info__e, .candidateSidebar__info__y {
+ .candidateSidebar__info__e,
+ .candidateSidebar__info__y {
width: 180px;
}
-}
\ No newline at end of file
+}