Added ui btn and fixed Modals

This commit is contained in:
MaxOvs19
2023-05-26 19:59:42 +03:00
parent 81129538ed
commit 85accc3111
16 changed files with 261 additions and 211 deletions

View File

@@ -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>
);

View File

@@ -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%;
}
}
}