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 3ef9246..a3a4c9e 100644 --- a/src/pages/vehicle-search/[brand]/[vehicleId]/part/[oemNumber]/brands.tsx +++ b/src/pages/vehicle-search/[brand]/[vehicleId]/part/[oemNumber]/brands.tsx @@ -2,7 +2,9 @@ import React, { useState, useEffect } from 'react'; import { useRouter } from 'next/router'; import { useQuery } from '@apollo/client'; import Head from 'next/head'; +import Header from '@/components/Header'; import Footer from '@/components/Footer'; +import MobileMenuBottomSection from '@/components/MobileMenuBottomSection'; import { GET_BRANDS_BY_CODE, GET_LAXIMO_CATALOG_INFO } from '@/lib/graphql'; import { LaximoCatalogInfo } from '@/types/laximo'; @@ -19,29 +21,25 @@ const InfoBrandSelection = ({
+ {brandsData?.error || error?.message || 'Не удалось загрузить список производителей'} +
+Загружаем производителей...
+ {/* Загрузка */} + {(catalogLoading || loading) && ( +Загружаем производителей...
++ По артикулу {oemNumber} производители не найдены. +
++ Попробуйте изменить запрос или обратитесь к нашим менеджерам. +
- {brandsData?.error || error?.message || 'Не удалось загрузить список производителей'} -
-- К сожалению, по данному артикулу производители не найдены -
-- Попробуйте изменить параметры поиска или обратитесь к нашим менеджерам -
-Телефон: +7 (495) 123-45-67
-Email: info@protek.ru
-+ {detailName && Деталь: {detailName} • } Найдено производителей: {brands.length}