add original image

This commit is contained in:
Hope87 2021-07-14 17:13:23 +03:00
parent 580355afe0
commit bccc5f98dc
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
import React from 'react'; import React from 'react';
import style from './Description.module.css'; import style from './Description.module.css';
import dog from '../../images/dog.jpg'; import male from '../../images/medium_male.png';
import rectangle from '../../images/rectangle_secondPage.png'; import rectangle from '../../images/rectangle_secondPage.png';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
import { LEVELS, SKILLS } from '../constants/constants'; import { LEVELS, SKILLS } from '../constants/constants';
@ -23,7 +23,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={dog} alt="" /> <img className={style.description__img} src={male} 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}>
@ -58,7 +58,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={dog} alt="" /> <img className={style.description__img} src={male} 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}>

View File

@ -1,13 +1,13 @@
import React from 'react'; import React from 'react';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
import dogBig from '../../images/dog.jpg'; import maleBig from '../../images/medium_male_big.png';
import style from './Sidebar.module.css'; import style from './Sidebar.module.css';
const Sidebar = () => { const Sidebar = () => {
return ( return (
<div className={style.candidateSidebar}> <div className={style.candidateSidebar}>
<div className={style.candidateSidebar__info}> <div className={style.candidateSidebar__info}>
<img src={dogBig} alt="" /> <img src={maleBig} alt="" />
<p className={style.candidateSidebar__info__e}>Опыт работы</p> <p className={style.candidateSidebar__info__e}>Опыт работы</p>
<p className={style.candidateSidebar__info__y}>4+ лет</p> <p className={style.candidateSidebar__info__y}>4+ лет</p>
<Link to={`/form`}> <Link to={`/form`}>