Merge remote-tracking branch 'origin/parthners-area-fix-tracker-modal' into candidate-area
# Conflicts: # src/App.js # src/pages/Tracker/Tracker.js
This commit is contained in:
@ -6,6 +6,13 @@ import userIcon from "../../images/userIcon.png";
|
||||
import "./authHeader.scss";
|
||||
|
||||
export const AuthHeader = ({}) => {
|
||||
function scrollToForm() {
|
||||
window.scrollTo({
|
||||
top: 850,
|
||||
behavior: "smooth",
|
||||
});
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="auth-header">
|
||||
<div className="auth-header__logo">
|
||||
@ -39,7 +46,12 @@ export const AuthHeader = ({}) => {
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<a href="#">
|
||||
<a
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
scrollToForm();
|
||||
}}
|
||||
>
|
||||
<img src={userIcon}></img>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -57,6 +57,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -67,7 +71,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
@media (max-width: 1375px) {
|
||||
.auth-header {
|
||||
display: none;
|
||||
}
|
||||
|
Reference in New Issue
Block a user