feat: add routing
This commit is contained in:
20
src/components/Navbar/Navbar.js
Normal file
20
src/components/Navbar/Navbar.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import React from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
const Navbar = () => (
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
<Link to={"/"}>Landing</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link to={"/signin"}>Sign In</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link to={"/user"}>Account</Link>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default Navbar;
|
||||
Reference in New Issue
Block a user