diff --git a/src/components/card-catalog-link/card-catalog-link.module.scss b/src/components/card-catalog-link/card-catalog-link.module.scss index b825a426..76e6fed3 100644 --- a/src/components/card-catalog-link/card-catalog-link.module.scss +++ b/src/components/card-catalog-link/card-catalog-link.module.scss @@ -19,33 +19,10 @@ } } -.card-catalog-link__title-container_type_bento-grid { - margin-bottom: 28px; -} - .card-catalog-link__title-container_type_single-row { margin-bottom: 16px; } -.card-catalog-link__title { - margin: 0; - color: #1a1a1a; - - @media screen and (width <= 768px) { - font-size: 24px; - } -} - -.card-catalog-link__arrow { - width: 20px; - height: 32px; - margin-top: auto; - background-position: center; - background-size: cover; - background-repeat: no-repeat; - background-image: url('@images/chevron-right.svg'); -} - .card-catalog-link__list-single { margin: 0; padding: 0; diff --git a/src/components/card-catalog-link/index.tsx b/src/components/card-catalog-link/index.tsx index 75fb019f..df5e4dbb 100644 --- a/src/components/card-catalog-link/index.tsx +++ b/src/components/card-catalog-link/index.tsx @@ -1,8 +1,8 @@ /* eslint-disable */ import clsx from 'clsx'; import ProductCard from '../product-card'; +import TitleArrowLink from '@components/title-arrow-link'; import styles from './card-catalog-link.module.scss'; -import { Link } from 'react-router-dom'; import { Product } from '@services/generated-api/data-contracts'; type CardCatalogLinkProps = { @@ -20,10 +20,7 @@ function CardCatalogLink({ title, array, type, category }: CardCatalogLinkProps) styles[`card-catalog-link__title-container_type_${type}`] }`} > - -
{title}
-+ {title} +
+