mirror of
https://github.com/bspeice/speice.io
synced 2024-12-22 16:48:10 -05:00
19 lines
446 B
TypeScript
19 lines
446 B
TypeScript
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||
|
import { faHome, faUser } from "@fortawesome/free-solid-svg-icons";
|
||
|
|
||
|
const Navbar: React.FC = () => (
|
||
|
<span className="navbar">
|
||
|
<a href="/">
|
||
|
<FontAwesomeIcon icon={faHome} className="icon" />
|
||
|
Home
|
||
|
</a>
|
||
|
<span>/</span>
|
||
|
<a href="/about">
|
||
|
<FontAwesomeIcon icon={faUser} className="icon" />
|
||
|
About
|
||
|
</a>
|
||
|
</span>
|
||
|
);
|
||
|
|
||
|
export default Navbar;
|