This commit is contained in:
Victor Batischev 2024-04-22 17:03:14 +03:00
commit dea1eb6104
5 changed files with 23 additions and 15 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B

View File

@ -10,7 +10,7 @@ export const CardControl = ({ title, path, description, img }) => {
<Link to={`/${path}`} className="control-card">
<div className="control-card__about">
<img src={img} alt="itemImg" />
<h3>{title}</h3>
<h3 dangerouslySetInnerHTML={{ __html: title }}></h3>
</div>
<div className="control-card__info">
<p dangerouslySetInnerHTML={{ __html: description }}></p>

View File

@ -38,7 +38,7 @@
font-weight: 500;
font-size: 18px;
line-height: 22px;
max-width: 125px;
max-width: 165px;
margin-bottom: 0;
}
}

View File

@ -44,6 +44,7 @@ export const ProfileCalendarComponent = React.memo(
}) => {
const dispatch = useDispatch();
// const [l, setL] = useState(1);
const [calendar, setCalendar] = useState([]);
const [month, setMonth] = useState("");
const [endDate, setEndDate] = useState(null);

View File

@ -11,7 +11,8 @@ import { Navigation } from "@components/Navigation/Navigation";
import { ProfileBreadcrumbs } from "@components/ProfileBreadcrumbs/ProfileBreadcrumbs";
import { ProfileHeader } from "@components/ProfileHeader/ProfileHeader";
// import paymentIcon from "assets/icons/paymentIcon.png";
import financeIcon from "assets/icons/financeIcon.png";
import paymentIcon from "assets/icons/paymentIcon.png";
import settingIcon from "assets/icons/settingIcon.png";
import summaryIcon from "assets/icons/summaryIcon.png";
import timerIcon from "assets/icons/timerIcon.png";
@ -28,10 +29,10 @@ export const Profile = () => {
const [profileItemsInfo] = useState({
developer: [
{
path: "profile/calendar",
img: reportsIcon,
title: "Ваша отчетность",
description: "<span></span>Отработанных в этом месяце часов"
path: "profile",
img: paymentIcon,
title: "Работа в IT <br/>открытые запросы",
description: "Перейдите чтобы посмотреть <br/>открытые позиции"
},
{
path: "profile/summary",
@ -42,20 +43,26 @@ export const Profile = () => {
{
path: "profile/tracker",
img: timerIcon,
title: "Трекер времени",
title: "Трекер <br/>времени",
description: "Сколько времени занимает <br/>выполнение задач"
},
// {
// path: "profile/payouts",
// img: paymentIcon,
// title: "Выплаты",
// description: "У вас <span>подтвержден</span> <br/>статус самозанятого"
// },
{
path: "profile/payouts",
img: financeIcon,
title: "Выплаты и <br/>финансы",
description: "У вас <span>подтвержден</span> <br/>статус самозанятого"
},
{
path: "profile/settings",
img: settingIcon,
title: "Настройки профиля",
title: "Настройки <br/>профиля",
description: "Перейдите чтобы начать <br/>редактирование"
},
{
path: "profile/calendar",
img: reportsIcon,
title: "Ваша <br/>отчетность",
description: "<span></span>Отработанных в этом месяце часов"
}
],
partner: [