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

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