From fb8f3f0b261d02304dbac786cea48e1e0598ae23 Mon Sep 17 00:00:00 2001 From: ngc2207 Date: Sun, 2 Feb 2025 01:30:40 +0800 Subject: [PATCH] feat(ui): add navigation menu component --- src/components/navigation.tsx | 61 +++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 src/components/navigation.tsx diff --git a/src/components/navigation.tsx b/src/components/navigation.tsx new file mode 100644 index 0000000..1f50d2a --- /dev/null +++ b/src/components/navigation.tsx @@ -0,0 +1,61 @@ +import { + GoHome, + GoHomeFill, + GoCheckCircle, + GoCheckCircleFill, +} from "react-icons/go"; +import Link from "next/link"; +import { cn } from "@/lib/utils"; +import { SettingsIcon, UsersIcon } from "lucide-react"; + +const routes = [ + { + label: "Home", + href: "", + icon: GoHome, + activeIcon: GoHomeFill, + }, + { + label: "My Tasks", + href: "/tasks", + icon: GoCheckCircle, + activeIcon: GoCheckCircleFill, + }, + { + label: "Settings", + href: "/settings", + icon: SettingsIcon, + activeIcon: SettingsIcon, + }, + { + label: "Members", + href: "/members", + icon: UsersIcon, + activeIcon: UsersIcon, + }, +]; + +export const Navigation = () => { + return ( + + ); +};