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..19e101f 100644 --- a/src/widgets/Team/Team.style.scss +++ b/src/widgets/Team/Team.style.scss @@ -53,10 +53,12 @@ $btn-primary-bg: linear-gradient( img { width: 100%; - height: auto; - border-radius: 8px; + aspect-ratio: 4 / 5; object-fit: cover; + object-position: top; + border-radius: 8px; pointer-events: none; + display: block; } .caption { @@ -87,7 +89,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 +102,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 = () => {

))} - +
Хочу в команду