mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-12 13:36:43 +00:00
create components folder and Navbar
This commit is contained in:
parent
e46c6593bd
commit
10ea77887b
1 changed files with 26 additions and 0 deletions
26
src/components/NavBar.tsx
Normal file
26
src/components/NavBar.tsx
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
import React from 'react';
|
||||||
|
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
|
||||||
|
import {faCode} from '@fortawesome/free-solid-svg-icons';
|
||||||
|
|
||||||
|
const NavBar = () => (
|
||||||
|
<nav className="navbar bg-dark">
|
||||||
|
<h1>
|
||||||
|
<a href="dashboard.html">
|
||||||
|
<FontAwesomeIcon icon={faCode} /> {' '} DevBook
|
||||||
|
</a>
|
||||||
|
</h1>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="profiles.html">Developers</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="register.html">Register</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="login.html">Login</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
);
|
||||||
|
|
||||||
|
export default NavBar;
|
||||||
Loading…
Reference in a new issue