diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 36d9f2d..a7ad537 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -33,7 +33,7 @@ const Layout = ({ children }: { children: React.ReactNode }) => {
- + {children}
setAuthModalOpen(true)} /> diff --git a/src/components/index/IndexTopMenuNav.tsx b/src/components/index/IndexTopMenuNav.tsx index 1b5ee50..2e7f648 100644 --- a/src/components/index/IndexTopMenuNav.tsx +++ b/src/components/index/IndexTopMenuNav.tsx @@ -1,8 +1,8 @@ import React from 'react'; import Link from 'next/link'; -const IndexTopMenuNav = () => ( -
+const IndexTopMenuNav = ({ isIndexPage = false }: { isIndexPage?: boolean }) => ( +
diff --git a/src/pages/vehicle-search/[brand]/[vehicleId]/part/[oemNumber]/brands.tsx b/src/pages/vehicle-search/[brand]/[vehicleId]/part/[oemNumber]/brands.tsx index 4689136..58f0b3f 100644 --- a/src/pages/vehicle-search/[brand]/[vehicleId]/part/[oemNumber]/brands.tsx +++ b/src/pages/vehicle-search/[brand]/[vehicleId]/part/[oemNumber]/brands.tsx @@ -11,11 +11,15 @@ import MetaTags from '@/components/MetaTags'; import { getMetaByPath } from '@/lib/meta-config'; const InfoBrandSelection = ({ + brand, brandName, + vehicleId, oemNumber, detailName }: { + brand: string; brandName: string; + vehicleId: string; oemNumber: string; detailName?: string; }) => ( @@ -27,20 +31,22 @@ const InfoBrandSelection = ({
Главная
- +
Каталог
-
{brandName}
+ +
{brandName}
+
-
Деталь {oemNumber}
-
-
Выбор производителя
+ +
Деталь {oemNumber}
+
-
-
-

Выберите производителя для {oemNumber}

-
+
+ +
Выберите производителя для {oemNumber}
+
@@ -123,15 +129,17 @@ const BrandSelectionPage = () => { <>
-
+
{/* Кнопка назад */} -
+ {/*
-
+
*/} {/* Обработка ошибок */} {hasError && !loading && ( @@ -187,40 +195,40 @@ const BrandSelectionPage = () => {

) : brands.length > 0 && ( -
-
-

- Выбор производителя для артикула: {oemNumber} -

-

- {detailName && Деталь: {detailName} • } - Найдено производителей: {brands.length} -

+
+ {/*
+

+ Выбор производителя для артикула: {oemNumber} +

+

+ {detailName && Деталь: {detailName} • } + Найдено производителей: {brands.length} +

+
*/} +
+ {brands.map((brandItem: any, index: number) => ( +
+ +
+ ))} +
-
- {brands.map((brandItem: any, index: number) => ( -
- -
- ))} -
-
- )} + )}
)}
diff --git a/src/styles/my.css b/src/styles/my.css index dbcc74d..9befbef 100644 --- a/src/styles/my.css +++ b/src/styles/my.css @@ -614,6 +614,16 @@ body { font-family: Onest, sans-serif; } +.heading{ + font-size: 28px; +} + + +a.link-block.w-inline-block, +a.link-block-2.w-inline-block { + font-size: 12px; +} + .menu-button.w--open { z-index: 2000; @@ -891,6 +901,22 @@ body { } } +.topmenub[style*='#fff'] .link-block-8 { + border: 1px solid #E6EDF6 !important; + + transition: border-color 0.2s; +} + +.topmenub-white .link-block-8 { + border: 1px solid #E6EDF6 !important; + border-radius: 8px; + transition: border-color 0.2s; +} + +.container.info { + padding-top: 5px !important; + padding-bottom: 20px !important; +} .carousel-row { display: flex;