фотографии команды и ссылка на контактну форму

This commit is contained in:
xomimishka committed 2025-05-13 22:27:51 +03:00
1 parent 3defafc0e4
commit f42a6506fb
4 files changed
+11 -5

No files matched your search

+5
View File
@@ -49,3 +49,8 @@
} }
} }
} }
#contact-form-anchor {
position: relative;
top: -100px;
}
+1 -1
View File
@@ -36,7 +36,7 @@ function Contact() {
</Map> </Map>
</YMaps> </YMaps>
</div > </div >
<div id="contact-form-anchor"></div>
<ContactForm /> <ContactForm />
</div> </div>
); );
+4 -2
View File
@@ -53,8 +53,9 @@ $btn-primary-bg: linear-gradient(
img { img {
width: 100%; width: 100%;
height: auto; height: 360px;
border-radius: 8px; border-radius: 8px;
object-position: top;
object-fit: cover; object-fit: cover;
pointer-events: none; pointer-events: none;
} }
@@ -87,7 +88,7 @@ $btn-primary-bg: linear-gradient(
background-size: 200% 100%; background-size: 200% 100%;
background-position: 0% 0%; background-position: 0% 0%;
cursor: pointer; cursor: pointer;
text-align: center;
&:hover { &:hover {
background-size: 200%; background-size: 200%;
background-position: 100%; background-position: 100%;
@@ -100,4 +101,5 @@ $btn-primary-bg: linear-gradient(
font-weight: 600; font-weight: 600;
text-align: center; text-align: center;
font-family: 'Montserrat', sans-serif; font-family: 'Montserrat', sans-serif;
padding: 16px 24px;
} }
+1 -2
View File
@@ -2,7 +2,6 @@ import { HashLink } from "react-router-hash-link";
import { useMedia } from "@/modules"; import { useMedia } from "@/modules";
import { WithLoading } from "@/shared/Components/WithLoading/WithLoading"; import { WithLoading } from "@/shared/Components/WithLoading/WithLoading";
import "./Team.style.scss"; import "./Team.style.scss";
import photo from "@/shared/assets/images/photo.png";
const Team = () => { const Team = () => {
const { data: mediaData, isLoading, isError } = useMedia(); const { data: mediaData, isLoading, isError } = useMedia();
@@ -28,7 +27,7 @@ const Team = () => {
</p> </p>
</div> </div>
))} ))}
<HashLink smooth to="/contact" className="card"> <HashLink smooth to="/contact#contact-form-anchor" className="card">
<div className="joinContent"> <div className="joinContent">
<span className="joinText">Хочу в команду</span> <span className="joinText">Хочу в команду</span>
</div> </div>