-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar.js
40 lines (35 loc) · 910 Bytes
/
navbar.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { Link } from "react-router-dom";
const navbar = () => {
return (
<nav className="navbar">
<h1>The Dojo Blog</h1>
<div className="links">
<Link to="/">Home</Link>
<Link to="/create" style={{
color: 'white',
backgroundColor: '#f1356d',
borderRadius: '8px'
}}>New Blog</Link>
</div>
</nav>
);
}
export default navbar;
/*
const Navbar = () => {
return (
<nav className="navbar">
<h1>The Dojo Blog</h1>
<div className="links">
<Link to="/">Home</Link>
<Link to="/create" style={{
color: 'white',
backgroundColor: '#f1356d',
borderRadius: '8px'
}}>New Blog</Link>
</div>
</nav>
);
}
export default Navbar;
*/