From fde9609f9aeecc9ea9f06793efcb273ea1255f58 Mon Sep 17 00:00:00 2001 From: Arsen Akhmetzyanov Date: Fri, 13 Mar 2026 19:41:07 +0500 Subject: [PATCH] feat: simplify navigation and add RU/EN home and contacts - simplify main navigation and hide extra menu items - make home page more sales-focused with updated hero, benefits and fleet teaser - add RU/EN handling for home and contacts, including SEO defaults - integrate basic Strapi homepage API client (no breaking changes) - update contacts page with messenger buttons and dynamic footer year Made-with: Cursor --- App.tsx | 34 +++ components/Benefits.tsx | 38 +++- components/FleetTeaser.tsx | 59 ++++++ components/Footer.tsx | 155 +++++++++++--- components/Hero.tsx | 69 +++++-- components/Laboratories.tsx | 93 ++++++--- components/Navbar.tsx | 399 +++++++++++------------------------- components/PageHeader.tsx | 9 +- components/Process.tsx | 34 ++- components/Projects.tsx | 101 +++++++-- components/Seo.tsx | 21 ++ components/Services.tsx | 69 +++++-- constants.ts | 9 +- package-lock.json | 102 +++++++-- package.json | 1 + pages/AboutPage.tsx | 12 +- pages/ConstructionPage.tsx | 115 ++++++++--- pages/ContactsPage.tsx | 103 ++++++++-- pages/DesignPage.tsx | 120 +++++++---- pages/FleetPage.tsx | 86 ++++++-- pages/Home.tsx | 52 ++++- pages/LandSurveyPage.tsx | 180 ++++++++++++---- pages/ServicesPage.tsx | 117 +++++++---- pages/SoilSurveyPage.tsx | 162 +++++++++------ pages/SurveyingPage.tsx | 300 ++++++++++++++++++++------- src/api/strapiClient.ts | 48 +++++ 26 files changed, 1753 insertions(+), 735 deletions(-) create mode 100644 components/FleetTeaser.tsx create mode 100644 components/Seo.tsx create mode 100644 src/api/strapiClient.ts diff --git a/App.tsx b/App.tsx index 228e599..61798fd 100644 --- a/App.tsx +++ b/App.tsx @@ -38,23 +38,57 @@ const App: React.FC = () => {
+ {/* Главная */} } /> + } /> + + {/* Услуги */} } /> + } /> } /> + } /> } /> + } /> } /> + } /> } /> + } /> } /> + } /> } /> + } /> } /> + } /> + + {/* Проекты */} } /> + } /> + + {/* Автопарк */} } /> + } /> + + {/* Лаборатории */} } /> + } /> } /> + } /> + + {/* Сертификаты */} } /> + } /> + + {/* О компании */} } /> + } /> + + {/* Контакты */} } /> + } /> + + {/* Политика конфиденциальности */} } /> + } />