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:
2026-03-13 19:41:07 +05:00
parent 575db0ac53
commit fde9609f9a
26 changed files with 1753 additions and 735 deletions

View File

@@ -1,8 +1,16 @@
import React, { useRef, useEffect, useState } from 'react';
import PageHeader from '../components/PageHeader';
import { CheckCircle2, Award, Users, Building2, Briefcase, Phone, Mail, Globe, FileText, ExternalLink, Star } from 'lucide-react';
import { useLocation } from 'react-router-dom';
const AboutPage: React.FC = () => {
const location = useLocation();
const isEnglish = location.pathname.startsWith('/en');
const headerTitle = isEnglish ? 'About the company' : 'О компании';
const headerDescription = isEnglish
? 'GeoVector is a leading engineering survey and design company based in the Republic of Bashkortostan.'
: 'ООО «ГеоВектор» — лидер в области инженерных изысканий и проектирования в Республике Башкортостан.';
const scrollContainerRef = useRef<HTMLDivElement>(null);
const [isDragging, setIsDragging] = useState(false);
const [startX, setStartX] = useState(0);
@@ -132,8 +140,8 @@ const AboutPage: React.FC = () => {
return (
<div className="bg-white pb-20">
<PageHeader
title="О компании"
description="ООО «ГеоВектор» — лидер в области инженерных изысканий и проектирования в Республике Башкортостан."
title={headerTitle}
description={headerDescription}
image="/media/images/headers/header-about.png"
/>