Добавили в компонент Product иконку сердца и создали состояние для нее

This commit is contained in:
isHardCoded
2025-06-18 11:45:47 +03:00
parent 102da1ad75
commit b8e88a4866
2 changed files with 45 additions and 14 deletions
+18 -12
View File
@@ -97,21 +97,27 @@
font-size: 18px;
}
button {
border: 1px solid $primary-color;
background-color: $white-color;
color: $primary-color;
border-radius: 5px;
outline: 0;
.actions {
display: flex;
align-items: center;
gap: 5px;
font-size: 20px;
padding: 5px 10px;
button {
border: 1px solid $primary-color;
background-color: $white-color;
color: $primary-color;
border-radius: 5px;
outline: 0;
cursor: pointer;
font-size: 20px;
padding: 5px 10px;
&:hover {
background-color: $seconday-color;
color: $white-color;
cursor: pointer;
&:hover {
background-color: $seconday-color;
color: $white-color;
}
}
}
}