From a23716332fc6fc8dc01b42bfbb37bc3c69d6ca38 Mon Sep 17 00:00:00 2001 From: Lanskikh Date: Thu, 18 Jul 2024 14:35:35 +0500 Subject: [PATCH] refactoring, fixes --- src/components/Layout/Footer.tsx | 10 +++++----- src/components/Layout/Header.tsx | 6 +++--- src/components/Layout/Motivation.tsx | 2 +- src/components/Main/Availables.tsx | 11 ++--------- src/components/Main/Decreasing.tsx | 2 +- src/components/Main/Distance.tsx | 2 +- src/components/Main/Efficiency.tsx | 16 ++++++---------- src/components/Main/Events.tsx | 6 ++---- .../Main/ProductTabs/ForTeachingTab.tsx | 10 ++++------ .../Main/ProductTabs/SimulatorsTab.tsx | 10 +++++----- src/components/Main/ProductTabs/TrainingsTab.tsx | 6 +++--- src/components/Main/Products.tsx | 2 +- src/components/Main/Projects.tsx | 4 ++-- src/components/Main/Teaching.tsx | 6 +----- src/components/Main/Trainings.tsx | 6 ++---- src/ui/AnchorLink.tsx | 2 +- src/ui/AppearanceText.tsx | 2 +- src/ui/MiniTitle.tsx | 2 +- src/ui/Title.tsx | 4 +--- 19 files changed, 43 insertions(+), 66 deletions(-) diff --git a/src/components/Layout/Footer.tsx b/src/components/Layout/Footer.tsx index 81a06f5..c48a2e5 100644 --- a/src/components/Layout/Footer.tsx +++ b/src/components/Layout/Footer.tsx @@ -11,11 +11,11 @@ export function Footer() {
Политика конфиденциальности graff.tech -

+

© 2024 GRAFF interactive. Все права защищены

@@ -25,7 +25,7 @@ export function Footer() { -
+
RU
@@ -34,7 +34,7 @@ export function Footer() { -
+
UAE
@@ -57,7 +57,7 @@ function Contact({ href={ type === 'email' ? `mailto:${text}` : `tel:${text.replace(' ', '')}` } - className={'text-[#ffffff] l-text ' + className} + className={' l-text ' + className} > {text} diff --git a/src/components/Layout/Header.tsx b/src/components/Layout/Header.tsx index eb6c1df..bdc3ad3 100644 --- a/src/components/Layout/Header.tsx +++ b/src/components/Layout/Header.tsx @@ -98,7 +98,7 @@ function BurgerAnchor({ return ( {children} @@ -112,7 +112,7 @@ function ChooseLang({ lang }: { lang: 'RU' | 'EN' }) {