diff --git a/src/shared/ui/logo/Logo.tsx b/src/shared/ui/logo/Logo.tsx index 26f1f99a..11900fa6 100644 --- a/src/shared/ui/logo/Logo.tsx +++ b/src/shared/ui/logo/Logo.tsx @@ -1,29 +1,26 @@ import { type FC } from 'react' +import { Routes } from '@/shared/config/routerConfig/routes' import Link from '@/shared/ui/Link/Link' import styles from './logo.module.scss' type TLogoProps = { image: string - title: string - url: string width: string height: string } /** * @param {string} image - путь к логотипу на сервере - * @param {string} title - лейбл логотипа (и альт) - * @param {string} url - путь ссылки по нажатию на логотип * @param {string} width - ширина логотипа * @param {string} height - высота логотипа */ -const Logo: FC = ({ image, title, url, width, height }) => { +const Logo: FC = ({ image, width, height }) => { return (
- - {title} + + Logo
) diff --git a/src/widgets/Footer/Footer.tsx b/src/widgets/Footer/Footer.tsx index 29571da2..43e1d3a8 100644 --- a/src/widgets/Footer/Footer.tsx +++ b/src/widgets/Footer/Footer.tsx @@ -45,13 +45,7 @@ function Footer() {
- + {coreBaseData.footer.company_info}
diff --git a/src/widgets/Header/Header.tsx b/src/widgets/Header/Header.tsx index bf140282..c6984bb7 100644 --- a/src/widgets/Header/Header.tsx +++ b/src/widgets/Header/Header.tsx @@ -147,13 +147,7 @@ function Header() {
- +
diff --git a/src/widgets/Header/model/slice/headerSlice.tsx b/src/widgets/Header/model/slice/headerSlice.tsx index cedba396..c627969f 100644 --- a/src/widgets/Header/model/slice/headerSlice.tsx +++ b/src/widgets/Header/model/slice/headerSlice.tsx @@ -9,9 +9,7 @@ const initialState: CoreBaseHeaderSchema = { isLoading: false, header: { main_logo: { - image: '', - url: '', - title: '' + image: '' }, support: { callback: '', diff --git a/src/widgets/Header/model/types/types.tsx b/src/widgets/Header/model/types/types.tsx index 386f9f42..7e51401f 100644 --- a/src/widgets/Header/model/types/types.tsx +++ b/src/widgets/Header/model/types/types.tsx @@ -1,7 +1,5 @@ interface Logo { image: string - url: string - title: string } interface Support {