Navigation color update

master
Tudor Stanciu 2020-05-14 14:29:36 +03:00
parent b3e108e7a3
commit c5e2a03a93
1 changed files with 4 additions and 3 deletions

View File

@ -5,18 +5,19 @@ import { useTranslation } from "react-i18next";
const Navigation = () => {
const { t } = useTranslation();
const activeStyle = { color: "#F15B2A" };
const style = { color: "#fff" };
return (
<>
<NavLink to="/" activeStyle={activeStyle} exact>
<NavLink to="/" activeStyle={activeStyle} style={style} exact>
{t("Menu.Home")}
</NavLink>
{" | "}
<NavLink to="/sessions" activeStyle={activeStyle}>
<NavLink to="/sessions" activeStyle={activeStyle} style={style}>
{t("Menu.Sessions")}
</NavLink>
{" | "}
<NavLink to="/about" activeStyle={activeStyle}>
<NavLink to="/about" activeStyle={activeStyle} style={style}>
{t("Menu.About")}
</NavLink>
</>