speice.io/pages/Navbar.tsx
Bradlee Speice 8e1c7725c1 feat: switch to frontmatter
The intention is to build an RSS generator eventually
2023-05-12 11:04:55 +00:00

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;