Added new modal Aspt and fixed pages/modals

This commit is contained in:
MaxOvs19
2023-04-12 22:20:05 +03:00
parent 1e4e79897a
commit 2e7375f18e
12 changed files with 444 additions and 149 deletions

View File

@ -13,6 +13,8 @@ import vectorBlack from "../../images/Vector_Smart_Object_black.png";
import { selectAuth } from "../../redux/outstaffingSlice";
import { Link, useNavigate } from "react-router-dom";
import { scrollToForm } from "../../helper";
import { Footer } from "../../components/Footer/Footer";
import SideBar from "../../components/SideBar/SideBar";
import AuthHeader from "../../components/AuthHeader/AuthHeader";
@ -31,13 +33,6 @@ const AuthForDevelopers = () => {
}
}, [getToken]);
function scrollToForm() {
window.scrollTo({
top: 850,
behavior: "smooth",
});
}
return (
<section className="auth-developers">
<AuthHeader />