Fixed auth page and tracker

This commit is contained in:
MaxOvs19
2023-03-27 19:08:01 +03:00
parent fc51fbdb09
commit 76334aec99
9 changed files with 86 additions and 20 deletions

View File

@ -31,6 +31,13 @@ const AuthForDevelopers = () => {
}
}, [getToken]);
function scrollToForm() {
window.scrollTo({
top: 850,
behavior: "smooth",
});
}
return (
<section className="auth-developers">
<AuthHeader />
@ -44,13 +51,13 @@ const AuthForDevelopers = () => {
/>
<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__developersForDev">
Для разработчика
Для разработчиков
</button>
</Link>
<Link to={"/auth"}>

View File

@ -25,6 +25,7 @@
&__arrow {
margin-top: 360px;
z-index: 99;
}
@media (max-width: 575.98px) {