aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/components/Navigation.tsx
blob: 08a523f8603dd59d3e8cbffe9faf1407710b470e (plain)
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
import {
	faBookOpen,
	faCircleCheck,
	faGear,
} from "@fortawesome/free-solid-svg-icons";
import { Link } from "wouter";
import { MenuItem } from "./MenuItem";

export function Navigation() {
	return (
		<nav className="bg-white shadow-sm border-b border-gray-200">
			<div className="container mx-auto px-4">
				<div className="flex items-center justify-between h-16">
					<Link href="/" className="text-xl font-bold text-gray-900">
						feedaka
					</Link>
					<div className="flex space-x-6">
						<MenuItem path="/unread" label="Unread" icon={faBookOpen} />
						<MenuItem path="/read" label="Read" icon={faCircleCheck} />
						<MenuItem path="/settings" label="Settings" icon={faGear} />
					</div>
				</div>
			</div>
		</nav>
	);
}