.
This commit is contained in:
1 parent
1f0b2ff3eb
commit
277558b34c
1 file changed
+1
-2
@@ -3,6 +3,7 @@ import styles from "./Categories.module.css";
|
||||
import Button from "../Button/Button";
|
||||
import category_internal1 from "../../assets/images/mainPage/category_internal1.jpg"
|
||||
import category_interna2 from "../../assets/images/mainPage/category_internal2.jpg"
|
||||
import { useAppSelector, useAppDispatch } from "../../app/hooks";
|
||||
|
||||
interface CategoryItem {
|
||||
id: number;
|
||||
@@ -56,8 +57,6 @@ key={cat.id}
|
||||
className={`${styles.card} ${cat.highlight ? styles.highlight : ""}`}
|
||||
>
|
||||
<img src={cat.image} className={styles.image} alt={cat.title} />
|
||||
|
||||
|
||||
{cat.highlight && (
|
||||
<div className={styles.overlay}>
|
||||
<h3>{cat.title}</h3>
|
||||
|
||||
Reference in new issue
Block a user