add base front
This commit is contained in:
12
frontend/src/components/Navbar/index.tsx
Normal file
12
frontend/src/components/Navbar/index.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { NavLink } from "react-router";
|
||||
import { t } from "../../config/i18n";
|
||||
import "./index.css";
|
||||
export function Navbar() {
|
||||
return (
|
||||
<nav>
|
||||
<NavLink to="/">{t("home")}</NavLink>
|
||||
<NavLink to="/dashboard">{t("dashboard")}</NavLink>
|
||||
<NavLink to="/forms">{t("forms")}</NavLink>
|
||||
</nav>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user