Merge remote-tracking branch 'origin/parthners-area-fix-modal' into parthners-area
This commit is contained in:
@ -30,6 +30,13 @@ const AuthForPartners = () => {
|
||||
}
|
||||
}, [getToken]);
|
||||
|
||||
function scrollToForm() {
|
||||
window.scrollTo({
|
||||
top: 850,
|
||||
behavior: "smooth",
|
||||
});
|
||||
}
|
||||
|
||||
return (
|
||||
<section className="auth-partners">
|
||||
<AuthHeader />
|
||||
@ -39,13 +46,13 @@ const AuthForPartners = () => {
|
||||
<img className="auth-partners__vector-black" src={vectorBlack} alt="" />
|
||||
<div className="container">
|
||||
<div className="change-mode">
|
||||
<div className="change-mode__arrow">
|
||||
<div className="change-mode__arrow" onClick={() => scrollToForm()}>
|
||||
<img src={arrowBtn}></img>
|
||||
</div>
|
||||
<div className="buttons">
|
||||
<Link to={"/authdev"}>
|
||||
<button className="change-mode__developersForPart">
|
||||
Для разработчика
|
||||
Для разработчиков
|
||||
</button>
|
||||
</Link>
|
||||
<Link to={"/auth"}>
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
&__arrow {
|
||||
margin-top: 360px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
@ -286,6 +287,7 @@
|
||||
align-items: center;
|
||||
|
||||
&__arrow {
|
||||
cursor: pointer;
|
||||
margin: 49px 0 43px 0;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
|
Reference in New Issue
Block a user