Обновлены страницы с мета-тегами: заменены статические мета-теги на компонент MetaTags, который динамически получает данные через getMetaByPath. Добавлены новые страницы с мета-тегами, включая карточку товара, страницы оплаты и профиля, а также обновлены существующие страницы для улучшения SEO.

This commit is contained in:
Bivekich
2025-07-06 18:36:45 +03:00
parent 08ae507c36
commit 2b5f787fbe
35 changed files with 543 additions and 277 deletions

View File

@ -7,6 +7,8 @@ import Footer from '@/components/Footer';
import VehicleSearchSection from '../../components/VehicleSearchSection';
import { GET_LAXIMO_CATALOG_INFO } from '@/lib/graphql';
import { LaximoCatalogInfo } from '@/types/laximo';
import MetaTags from '@/components/MetaTags';
import { getMetaByPath } from '@/lib/meta-config';
const VehicleSearchPage = () => {
const router = useRouter();
@ -69,12 +71,11 @@ const VehicleSearchPage = () => {
const catalogInfo = catalogData.laximoCatalogInfo;
const metaData = getMetaByPath('/vehicle-search');
return (
<>
<Head>
<title>Поиск автомобиля - {catalogInfo.name}</title>
<meta name="description" content={`Поиск автомобилей ${catalogInfo.name} для подбора запчастей`} />
</Head>
<MetaTags {...metaData} />
<Header />
<main className="min-h-screen bg-gray-50">