Merge remote-tracking branch 'origin/fix/team'

This commit is contained in:
ifraimka1 committed 2025-05-15 18:09:12 +03:00
commit 037ff04d49
4 files changed
+15 -8

No files matched your search

+5
View File
@@ -49,3 +49,8 @@
} }
} }
} }
#contact-form-anchor {
position: relative;
top: -100px;
}
+3 -3
View File
@@ -35,9 +35,9 @@ function Contact() {
<Placemark defaultGeometry={[47.20669, 38.929113]} /> <Placemark defaultGeometry={[47.20669, 38.929113]} />
</Map> </Map>
</YMaps> </YMaps>
</div> </div >
<div id="contact-form-anchor"></div>
<ContactForm /> <ContactForm />
</div> </div>
); );
} }
+6 -3
View File
@@ -53,10 +53,12 @@ $btn-primary-bg: linear-gradient(
img { img {
width: 100%; width: 100%;
height: auto; aspect-ratio: 4 / 5;
border-radius: 8px;
object-fit: cover; object-fit: cover;
object-position: top;
border-radius: 8px;
pointer-events: none; pointer-events: none;
display: block;
} }
.caption { .caption {
@@ -87,7 +89,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 +102,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>