commit
6a09d71d45
@ -17,7 +17,7 @@ const Calendar = () => {
|
|||||||
setMonth(currentMonth);
|
setMonth(currentMonth);
|
||||||
}, [month]);
|
}, [month]);
|
||||||
|
|
||||||
const { name, skillsName } = candidateForCalendar;
|
const { name, skillsName, photo } = candidateForCalendar;
|
||||||
|
|
||||||
const abbreviatedName = name && name.substring(0, name.lastIndexOf(' '));
|
const abbreviatedName = name && name.substring(0, name.lastIndexOf(' '));
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ const Calendar = () => {
|
|||||||
</h2>
|
</h2>
|
||||||
<div className="col-12 col-xl-12 d-flex justify-content-between align-items-center flex-column flex-sm-row">
|
<div className="col-12 col-xl-12 d-flex justify-content-between align-items-center flex-column flex-sm-row">
|
||||||
<div className={style.calendarHeader__info}>
|
<div className={style.calendarHeader__info}>
|
||||||
<img className={style.calendarHeader__info__img} src={calendarMale} alt="img" />
|
<img className={style.calendarHeader__info__img} src={`${process.env.REACT_APP_BASE_URL}${photo}`} alt="img" />
|
||||||
<h3 className={style.calendarHeader__info__name}>{abbreviatedName}</h3>
|
<h3 className={style.calendarHeader__info__name}>{abbreviatedName}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div className={style.calendarHeader__title}>
|
<div className={style.calendarHeader__title}>
|
||||||
|
@ -27,7 +27,7 @@ const Description = ({ onLoadMore }) => {
|
|||||||
candidatesListArr.map((el) => (
|
candidatesListArr.map((el) => (
|
||||||
<div className="row" key={el.id}>
|
<div className="row" key={el.id}>
|
||||||
<div className="col-2">
|
<div className="col-2">
|
||||||
<img className={style.description__img} src={male} alt="" />
|
<img className={style.description__img} src={`${process.env.REACT_APP_BASE_URL}${el.photo}`} alt="" />
|
||||||
</div>
|
</div>
|
||||||
<div className="col-12 col-xl-6">
|
<div className="col-12 col-xl-6">
|
||||||
<h3 className={style.description__title}>
|
<h3 className={style.description__title}>
|
||||||
@ -84,7 +84,7 @@ const Description = ({ onLoadMore }) => {
|
|||||||
? filteredListArr.map((el) => (
|
? filteredListArr.map((el) => (
|
||||||
<div className="row" key={el.id}>
|
<div className="row" key={el.id}>
|
||||||
<div className="col-2">
|
<div className="col-2">
|
||||||
<img className={style.description__img} src={male} alt="" />
|
<img className={style.description__img} src={`${process.env.REACT_APP_BASE_URL}${el.photo}`} alt="" />
|
||||||
</div>
|
</div>
|
||||||
<div className="col-12 col-xl-6">
|
<div className="col-12 col-xl-6">
|
||||||
<h3 className={style.description__title}>
|
<h3 className={style.description__title}>
|
||||||
|
@ -19,7 +19,7 @@ const Sidebar = ({ candidate }) => {
|
|||||||
return (
|
return (
|
||||||
<div className={style.candidateSidebar}>
|
<div className={style.candidateSidebar}>
|
||||||
<div className={style.candidateSidebar__info}>
|
<div className={style.candidateSidebar__info}>
|
||||||
<img src={maleBig} alt="" />
|
<img src={`${process.env.REACT_APP_BASE_URL}${candidate.photo}`} alt="" />
|
||||||
{ candidate && candidate.years_of_exp && <>
|
{ candidate && candidate.years_of_exp && <>
|
||||||
<p className={style.candidateSidebar__info__e}>Опыт работы</p>
|
<p className={style.candidateSidebar__info__e}>Опыт работы</p>
|
||||||
<p className={style.candidateSidebar__info__y}>{getYearsString(candidate.years_of_exp)}</p>
|
<p className={style.candidateSidebar__info__y}>{getYearsString(candidate.years_of_exp)}</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user