Обновлены страницы с мета-тегами: заменены статические мета-теги на компонент MetaTags, который динамически получает данные через getMetaByPath. Изменен язык документа на русский в _document.tsx. Добавлены мета-теги для страниц: brands, catalog, contacts, index, search-result, thankyoupage, vin, wholesale и vehicle-search.

This commit is contained in:
Bivekich
2025-07-06 18:13:13 +03:00
parent 795ebf875a
commit 08ae507c36
13 changed files with 413 additions and 90 deletions

View File

@ -8,17 +8,15 @@ import InfoContacts from "@/components/contacts/InfoContacts";
import MapContacts from "@/components/contacts/MapContacts";
import OrderContacts from "@/components/contacts/OrderContacts";
import LegalContacts from "@/components/contacts/LegalContacts";
import MetaTags from "@/components/MetaTags";
import { getMetaByPath } from "@/lib/meta-config";
const Contacts = () => (
<>
<Head>
<title>Contacts</title>
<meta name="description" content="Contacts" />
<link href="https://fonts.googleapis.com" rel="preconnect" />
<link href="https://fonts.gstatic.com" rel="preconnect" crossOrigin="anonymous" />
<link href="images/favicon.png" rel="shortcut icon" type="image/x-icon" />
<link href="images/webclip.png" rel="apple-touch-icon" />
</Head>
const Contacts = () => {
const metaData = getMetaByPath('/contacts');
return (
<>
<MetaTags {...metaData} />
<InfoContacts />
<section className="main">
<div className="w-layout-blockcontainer container w-container">
@ -38,7 +36,8 @@ const Contacts = () => (
</section>
<Footer />
<MobileMenuBottomSection />
</>
);
</>
);
};
export default Contacts;