From c4223aba7c47b249d12b4c5565273e9525754f00 Mon Sep 17 00:00:00 2001 From: C4rnivore Date: Tue, 31 Mar 2026 14:02:47 +0500 Subject: [PATCH] upd --- public/images/GRAFFinteractive.svg | 72 +++++++++++++++++++++++++ src/components/Contacts.tsx | 16 +++--- src/components/Layout/FeedbackForm.tsx | 2 +- src/components/Layout/Footer.tsx | 13 +++-- src/components/Layout/Header.tsx | 8 +-- src/components/Layout/ModalWithForm.tsx | 12 +++-- src/components/icons/LogoIcon.tsx | 2 +- src/components/icons/RutubeIcon.tsx | 20 +++++++ src/components/ui/Button.tsx | 50 ++++++++++++----- src/consts/stands.ts | 4 +- 10 files changed, 162 insertions(+), 37 deletions(-) create mode 100644 public/images/GRAFFinteractive.svg create mode 100644 src/components/icons/RutubeIcon.tsx diff --git a/public/images/GRAFFinteractive.svg b/public/images/GRAFFinteractive.svg new file mode 100644 index 0000000..454804d --- /dev/null +++ b/public/images/GRAFFinteractive.svg @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/Contacts.tsx b/src/components/Contacts.tsx index 94f53b8..0495833 100644 --- a/src/components/Contacts.tsx +++ b/src/components/Contacts.tsx @@ -4,7 +4,7 @@ import { PhoneIcon } from './icons/PhoneIcon'; import { SendIcon } from './icons/SendIcon'; import { TelegramIcon } from './icons/TelegramIcon'; import { VKIcon } from './icons/VKIcon'; -import { YoutubeIcon } from './icons/YoutubeIcon'; +import { RutubeIcon } from './icons/RutubeIcon'; import { Link } from 'react-router-dom'; import { useModalStore } from '../stores/modalStore'; import { ModalWithForm } from './Layout/ModalWithForm'; @@ -38,9 +38,7 @@ export function Contacts() { className="py-4" width="full" icon={} - onClick={() => { - window.location.href = 'mailto:info@graff.tech'; - }} + href="mailto:info@graff.tech" > Написать @@ -49,9 +47,7 @@ export function Contacts() { className="py-4" width="full" icon={} - onClick={() => { - window.location.href = 'tel:88007700067'; - }} + href="tel:88007700067" > Позвонить @@ -60,10 +56,10 @@ export function Contacts() {

Социальные сети

- + setPhone(e.target.value.replace(/ /g, ''))} className="transition-all bg-transparent rounded-none outline-none h4 placeholder:h4 placeholder:font-medium placeholder:select-none peer" /> diff --git a/src/components/Layout/Footer.tsx b/src/components/Layout/Footer.tsx index b65429a..4a33848 100644 --- a/src/components/Layout/Footer.tsx +++ b/src/components/Layout/Footer.tsx @@ -1,12 +1,19 @@ -import { LogoIcon } from '../icons/LogoIcon'; import { Link, NavLink } from 'react-router-dom'; +import { LogoWithoutText } from '../icons/LogoWithoutTextIcon'; export function Footer() { return (