Added ui btn and fixed Modals
This commit is contained in:
@@ -2,6 +2,8 @@ import React, { useState } from "react";
|
||||
import Slider from "react-slick";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
import Button from "../Common/Button/Button";
|
||||
|
||||
import mockWorker from "../../assets/images/mock/mokPerson.png";
|
||||
|
||||
import "./sliderWorkers.scss";
|
||||
@@ -65,9 +67,9 @@ export const SliderWorkers = ({ title, titleInfo, subTitle }) => {
|
||||
<img src={worker.avatar}></img>
|
||||
<div className="worker-description">
|
||||
<p>{worker.skils}</p>
|
||||
<Link to={`/worker/${index}`} className="worker__resume">
|
||||
Подробное резюме
|
||||
</Link>
|
||||
<Button styles="worker__resume">
|
||||
<Link to={`/worker/${index}`}>Подробное резюме</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
@@ -59,24 +59,16 @@
|
||||
}
|
||||
|
||||
&__resume {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 5px;
|
||||
width: 177px;
|
||||
height: 40px;
|
||||
background: #52b709;
|
||||
border-radius: 44px;
|
||||
font-size: 14px;
|
||||
line-height: 32px;
|
||||
color: white;
|
||||
border: none;
|
||||
transition: 0.5s;
|
||||
|
||||
&:hover {
|
||||
transition: 0.5s;
|
||||
background-color: #52b709a8;
|
||||
text-decoration: none;
|
||||
a {
|
||||
color: white;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user