From c7ba306a5785de578b24bd2fe868d8caa280091d Mon Sep 17 00:00:00 2001 From: Bivekich Date: Sun, 6 Jul 2025 18:51:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D1=80=D0=B0=D1=8F=20=D0=B2=D0=B5=D1=80=D1=81?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=B3=D0=BB=D0=B0=D0=B2=D0=BD=D0=BE=D0=B9=20?= =?UTF-8?q?=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=8B=20'/home-new'?= =?UTF-8?q?=20=D0=B8=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=BC=D0=B5=D1=82=D0=B0-=D1=82=D0=B5=D0=B3=D0=B8=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D0=B3=D0=BB=D0=B0=D0=B2=D0=BD=D0=BE=D0=B9?= =?UTF-8?q?=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=8B.=20=D0=A2?= =?UTF-8?q?=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D0=B3=D0=BB=D0=B0=D0=B2=D0=BD?= =?UTF-8?q?=D0=B0=D1=8F=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D0=B0?= =?UTF-8?q?=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D1=83=D0=B5=D1=82?= =?UTF-8?q?=20=D0=B4=D0=B8=D0=BD=D0=B0=D0=BC=D0=B8=D1=87=D0=B5=D1=81=D0=BA?= =?UTF-8?q?=D0=BE=D0=B5=20=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BC=D0=B5=D1=82=D0=B0-=D0=B4=D0=B0=D0=BD=D0=BD?= =?UTF-8?q?=D1=8B=D1=85=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20getMetaByPath.?= =?UTF-8?q?=20=D0=AD=D1=82=D0=BE=20=D1=83=D0=BB=D1=83=D1=87=D1=88=D0=B0?= =?UTF-8?q?=D0=B5=D1=82=20SEO=20=D0=B8=20=D1=83=D0=BF=D1=80=D0=BE=D1=89?= =?UTF-8?q?=D0=B0=D0=B5=D1=82=20=D1=83=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BC=D0=B5=D1=82=D0=B0-=D1=82=D0=B5?= =?UTF-8?q?=D0=B3=D0=B0=D0=BC=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/meta-config.ts | 9 +------ src/pages/home-new.tsx | 42 ----------------------------- src/pages/index-old.tsx | 59 +++++++++++++++++++++++++++++++++++++++++ src/pages/index.tsx | 49 +++++++++++++++------------------- 4 files changed, 82 insertions(+), 77 deletions(-) delete mode 100644 src/pages/home-new.tsx create mode 100644 src/pages/index-old.tsx diff --git a/src/lib/meta-config.ts b/src/lib/meta-config.ts index 2643ba6..3f72888 100644 --- a/src/lib/meta-config.ts +++ b/src/lib/meta-config.ts @@ -253,14 +253,7 @@ export const metaConfig: Record = { ogDescription: 'Читайте актуальные новости и статьи от компании Protek.' }, - // Главная страница (новая версия) - '/home-new': { - title: 'Protek - Автозапчасти и аксессуары (новая версия)', - description: 'Новый дизайн сайта Protek с улучшенным интерфейсом для поиска автозапчастей и аксессуаров.', - keywords: 'автозапчасти, новый дизайн, улучшенный интерфейс, protek', - ogTitle: 'Protek - Новая версия сайта', - ogDescription: 'Новый дизайн сайта Protek с улучшенным интерфейсом.' - }, + // Поиск '/search': { diff --git a/src/pages/home-new.tsx b/src/pages/home-new.tsx deleted file mode 100644 index d6f789d..0000000 --- a/src/pages/home-new.tsx +++ /dev/null @@ -1,42 +0,0 @@ -import React from 'react'; -import Head from 'next/head'; -import CatalogSubscribe from "@/components/CatalogSubscribe"; -import MobileMenuBottomSection from "@/components/MobileMenuBottomSection"; -import NewsAndPromos from "@/components/index/NewsAndPromos"; -import Footer from "@/components/Footer"; -import IndexTopMenuNav from "@/components/index/IndexTopMenuNav"; -import ProductOfDaySection from "@/components/index/ProductOfDaySection"; -import CategoryNavSection from "@/components/index/CategoryNavSection"; -import BrandSelectionSection from "@/components/index/BrandSelectionSection"; -import BestPriceSection from "@/components/index/BestPriceSection"; -import TopSalesSection from "@/components/index/TopSalesSection"; -import PromoImagesSection from "@/components/index/PromoImagesSection"; -import NewArrivalsSection from '@/components/index/NewArrivalsSection'; -import SupportVinSection from '@/components/index/SupportVinSection'; -import MetaTags from "@/components/MetaTags"; -import { getMetaByPath } from "@/lib/meta-config"; - -export default function HomeNew () { - const metaData = getMetaByPath('/home-new'); - - return ( - <> - - - - - - - - - - - -
- -
-