From f7eead0b3f60a3ab3e38bff99eb265ff7892ccda Mon Sep 17 00:00:00 2001 From: Lanskikh Date: Tue, 16 Jul 2024 15:21:15 +0500 Subject: [PATCH] fixed button, refactoring --- src/components/Layout/Footer.tsx | 12 ++--- src/components/Layout/Header.tsx | 8 +-- src/components/Layout/Navbar.tsx | 14 ++--- src/components/Main/Availables.tsx | 27 ++++------ src/components/Main/Contacts.tsx | 18 +++---- ...tactsFooterForm.tsx => ContactsFooter.tsx} | 3 +- src/components/Main/Decreasing.tsx | 21 +++----- src/components/Main/Distance.tsx | 23 +++----- src/components/Main/Efficiency.tsx | 14 ++--- src/components/Main/Events.tsx | 24 ++++----- src/components/Main/Marquee.tsx | 10 ++-- .../Main/ProductTabs/ForTeachingTab.tsx | 40 +++++++------- .../Main/ProductTabs/SimulatorsTab.tsx | 30 +++++------ .../Main/ProductTabs/TrainingsTab.tsx | 22 ++++---- src/components/Main/Products.tsx | 8 +-- src/components/Main/Projects.tsx | 27 ++++------ src/components/Main/Teaching.tsx | 53 ++++++++----------- src/components/Main/Trainings.tsx | 22 ++++---- src/components/Main/Video.tsx | 10 ++-- src/index.css | 18 +++---- src/ui/Button.tsx | 6 ++- src/ui/MiniTitle.tsx | 2 +- tailwind.config.js | 2 - 23 files changed, 183 insertions(+), 231 deletions(-) rename src/components/Main/{ContactsFooterForm.tsx => ContactsFooter.tsx} (97%) diff --git a/src/components/Layout/Footer.tsx b/src/components/Layout/Footer.tsx index 9196b35..94280ac 100644 --- a/src/components/Layout/Footer.tsx +++ b/src/components/Layout/Footer.tsx @@ -2,8 +2,8 @@ import { Link } from 'react-router-dom'; export function Footer() { return ( -