From f42a6506fbf02212f18eedf98caaa88c70bbe15c Mon Sep 17 00:00:00 2001 From: xomimishka Date: Tue, 13 May 2025 22:27:51 +0300 Subject: [PATCH 1/3] =?UTF-8?q?=D1=84=D0=BE=D1=82=D0=BE=D0=B3=D1=80=D0=B0?= =?UTF-8?q?=D1=84=D0=B8=D0=B8=20=D0=BA=D0=BE=D0=BC=D0=B0=D0=BD=D0=B4=D1=8B?= =?UTF-8?q?=20=D0=B8=20=D1=81=D1=81=D1=8B=D0=BB=D0=BA=D0=B0=20=D0=BD=D0=B0?= =?UTF-8?q?=20=D0=BA=D0=BE=D0=BD=D1=82=D0=B0=D0=BA=D1=82=D0=BD=D1=83=20?= =?UTF-8?q?=D1=84=D0=BE=D1=80=D0=BC=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Contact/Contact.styles.scss | 5 +++++ src/pages/Contact/Contact.tsx | 6 +++--- src/widgets/Team/Team.style.scss | 6 ++++-- src/widgets/Team/Team.tsx | 3 +-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/pages/Contact/Contact.styles.scss b/src/pages/Contact/Contact.styles.scss index 6668bba..1634789 100644 --- a/src/pages/Contact/Contact.styles.scss +++ b/src/pages/Contact/Contact.styles.scss @@ -49,3 +49,8 @@ } } } + +#contact-form-anchor { + position: relative; + top: -100px; +} \ No newline at end of file diff --git a/src/pages/Contact/Contact.tsx b/src/pages/Contact/Contact.tsx index a34aa2e..5c7e121 100644 --- a/src/pages/Contact/Contact.tsx +++ b/src/pages/Contact/Contact.tsx @@ -35,9 +35,9 @@ function Contact() { - - - + +
+ ); } diff --git a/src/widgets/Team/Team.style.scss b/src/widgets/Team/Team.style.scss index 1bb1d7b..fd102d6 100644 --- a/src/widgets/Team/Team.style.scss +++ b/src/widgets/Team/Team.style.scss @@ -53,8 +53,9 @@ $btn-primary-bg: linear-gradient( img { width: 100%; - height: auto; + height: 360px; border-radius: 8px; + object-position: top; object-fit: cover; pointer-events: none; } @@ -87,7 +88,7 @@ $btn-primary-bg: linear-gradient( background-size: 200% 100%; background-position: 0% 0%; cursor: pointer; - +text-align: center; &:hover { background-size: 200%; background-position: 100%; @@ -100,4 +101,5 @@ $btn-primary-bg: linear-gradient( font-weight: 600; text-align: center; font-family: 'Montserrat', sans-serif; + padding: 16px 24px; } \ No newline at end of file diff --git a/src/widgets/Team/Team.tsx b/src/widgets/Team/Team.tsx index dea6d71..3e879d2 100644 --- a/src/widgets/Team/Team.tsx +++ b/src/widgets/Team/Team.tsx @@ -2,7 +2,6 @@ import { HashLink } from "react-router-hash-link"; import { useMedia } from "@/modules"; import { WithLoading } from "@/shared/Components/WithLoading/WithLoading"; import "./Team.style.scss"; -import photo from "@/shared/assets/images/photo.png"; const Team = () => { const { data: mediaData, isLoading, isError } = useMedia(); @@ -28,7 +27,7 @@ const Team = () => {

))} - +
Хочу в команду
From 8d07731c8a0eca23a55576fe093813b1c05262e5 Mon Sep 17 00:00:00 2001 From: xomimishka Date: Tue, 13 May 2025 22:33:43 +0300 Subject: [PATCH 2/3] =?UTF-8?q?=D1=80=D0=B0=D0=B7=D0=BC=D0=B5=D1=80=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D0=BC=D0=BE=D0=B1=D0=B8=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D0=BE=D0=B9=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widgets/Team/Team.style.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/widgets/Team/Team.style.scss b/src/widgets/Team/Team.style.scss index fd102d6..3443204 100644 --- a/src/widgets/Team/Team.style.scss +++ b/src/widgets/Team/Team.style.scss @@ -58,6 +58,10 @@ $btn-primary-bg: linear-gradient( object-position: top; object-fit: cover; pointer-events: none; + + @media (max-width: 768px) { + height: 460px; + } } .caption { From 8c74e07ef23994355c0485a67c0857617997f980 Mon Sep 17 00:00:00 2001 From: xomimishka Date: Tue, 13 May 2025 22:41:17 +0300 Subject: [PATCH 3/3] =?UTF-8?q?=D1=80=D0=B0=D0=B7=D0=BC=D0=B5=D1=80=20?= =?UTF-8?q?=D0=BA=D0=B0=D1=80=D1=82=D0=B8=D0=BD=D0=BE=D0=BA=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=B4=D0=B0=D0=BD=20=D0=BF=D1=80=D0=B8=20=D0=BF=D0=BE=D0=BC?= =?UTF-8?q?=D0=BE=D1=89=D0=B8=20=D1=81=D0=BE=D0=BE=D1=82=D0=BD=D0=BE=D1=88?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=204/5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widgets/Team/Team.style.scss | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/widgets/Team/Team.style.scss b/src/widgets/Team/Team.style.scss index 3443204..19e101f 100644 --- a/src/widgets/Team/Team.style.scss +++ b/src/widgets/Team/Team.style.scss @@ -53,15 +53,12 @@ $btn-primary-bg: linear-gradient( img { width: 100%; - height: 360px; - border-radius: 8px; - object-position: top; + aspect-ratio: 4 / 5; object-fit: cover; + object-position: top; + border-radius: 8px; pointer-events: none; - - @media (max-width: 768px) { - height: 460px; - } + display: block; } .caption {