54 lines
1.4 KiB
JavaScript
54 lines
1.4 KiB
JavaScript
import React from "react";
|
|
import { NavLink } from "react-router-dom";
|
|
|
|
import { scrollToForm } from "@utils/helper";
|
|
|
|
import userIcon from "assets/icons/userIcon.svg";
|
|
|
|
import "./authHeader.scss";
|
|
|
|
export const AuthHeader = () => {
|
|
return (
|
|
<div className="auth-header">
|
|
<div className="auth-header__logo">
|
|
<h3>
|
|
itguild.<span>аутстаффинг IT-специалистов</span>
|
|
</h3>
|
|
</div>
|
|
<div className="auth-header__navigation">
|
|
<div className="container">
|
|
<div className="auth-nav">
|
|
<ul>
|
|
<li>
|
|
<NavLink to={"/auth"}>
|
|
<span>Главная</span>
|
|
</NavLink>
|
|
</li>
|
|
<li>
|
|
<NavLink to={"/profile"}>Кабинет разработчика</NavLink>
|
|
</li>
|
|
<li>
|
|
<NavLink to={"/tracker-intro"}>Трекер</NavLink>
|
|
</li>
|
|
<li>
|
|
<NavLink to={"/auth-candidate"} className="candidate">
|
|
<span>Войти в команду</span>
|
|
</NavLink>
|
|
</li>
|
|
</ul>
|
|
|
|
<a
|
|
onClick={(e) => {
|
|
e.preventDefault();
|
|
scrollToForm();
|
|
}}
|
|
>
|
|
<img src={userIcon}></img>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|