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
This commit is contained in:
34
App.tsx
34
App.tsx
@@ -38,23 +38,57 @@ const App: React.FC = () => {
|
||||
<Navbar transparent={true} />
|
||||
<main className="flex-grow">
|
||||
<Routes>
|
||||
{/* Главная */}
|
||||
<Route path="/" element={<Home />} />
|
||||
<Route path="/en" element={<Home />} />
|
||||
|
||||
{/* Услуги */}
|
||||
<Route path="/services" element={<ServicesPage />} />
|
||||
<Route path="/en/services" element={<ServicesPage />} />
|
||||
<Route path="/services/surveying" element={<SurveyingPage />} />
|
||||
<Route path="/en/services/surveying" element={<SurveyingPage />} />
|
||||
<Route path="/services/design" element={<DesignPage />} />
|
||||
<Route path="/en/services/design" element={<DesignPage />} />
|
||||
<Route path="/services/construction" element={<ConstructionPage />} />
|
||||
<Route path="/en/services/construction" element={<ConstructionPage />} />
|
||||
<Route path="/services/soil-survey" element={<SoilSurveyPage />} />
|
||||
<Route path="/en/services/soil-survey" element={<SoilSurveyPage />} />
|
||||
<Route path="/services/building-survey" element={<BuildingSurveyPage />} />
|
||||
<Route path="/en/services/building-survey" element={<BuildingSurveyPage />} />
|
||||
<Route path="/services/land-survey" element={<LandSurveyPage />} />
|
||||
<Route path="/en/services/land-survey" element={<LandSurveyPage />} />
|
||||
<Route path="/services/technical-tasks" element={<TechnicalTasksPage />} />
|
||||
<Route path="/en/services/technical-tasks" element={<TechnicalTasksPage />} />
|
||||
|
||||
{/* Проекты */}
|
||||
<Route path="/projects" element={<ProjectsPage />} />
|
||||
<Route path="/en/projects" element={<ProjectsPage />} />
|
||||
|
||||
{/* Автопарк */}
|
||||
<Route path="/fleet" element={<FleetPage />} />
|
||||
<Route path="/en/fleet" element={<FleetPage />} />
|
||||
|
||||
{/* Лаборатории */}
|
||||
<Route path="/laboratories/soil" element={<SoilLabPage />} />
|
||||
<Route path="/en/laboratories/soil" element={<SoilLabPage />} />
|
||||
<Route path="/laboratories/radiation" element={<RadiationLabPage />} />
|
||||
<Route path="/en/laboratories/radiation" element={<RadiationLabPage />} />
|
||||
|
||||
{/* Сертификаты */}
|
||||
<Route path="/certificates" element={<CertificatesPage />} />
|
||||
<Route path="/en/certificates" element={<CertificatesPage />} />
|
||||
|
||||
{/* О компании */}
|
||||
<Route path="/about" element={<AboutPage />} />
|
||||
<Route path="/en/about" element={<AboutPage />} />
|
||||
|
||||
{/* Контакты */}
|
||||
<Route path="/contacts" element={<ContactsPage />} />
|
||||
<Route path="/en/contacts" element={<ContactsPage />} />
|
||||
|
||||
{/* Политика конфиденциальности */}
|
||||
<Route path="/privacy-policy" element={<PrivacyPolicyPage />} />
|
||||
<Route path="/en/privacy-policy" element={<PrivacyPolicyPage />} />
|
||||
</Routes>
|
||||
</main>
|
||||
<Footer />
|
||||
|
||||
Reference in New Issue
Block a user