From a6b0ea91cd4442faa9a3a661694101be0ef545c1 Mon Sep 17 00:00:00 2001 From: luriasb Date: Mon, 19 Oct 2026 00:53:21 -0600 Subject: [PATCH] Create Sidebar.tsx --- app/components/Sidebar.tsx | 123 +++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 app/components/Sidebar.tsx diff --git a/app/components/Sidebar.tsx b/app/components/Sidebar.tsx new file mode 100644 index 0000000..b39b823 --- /dev/null +++ b/app/components/Sidebar.tsx @@ -0,0 +1,123 @@ +import Link from "next/link"; + +type NavItem = { + href: string; + label: string; + icon: React.ReactNode; +}; + +const NAV_ITEMS: NavItem[] = [ + { + href: "/", + label: "Feed", + icon: ( + + + + ), + }, + { + href: "/ninos", + label: "Niños", + icon: ( + + + + + + ), + }, + { + href: "/avisos", + label: "Avisos", + icon: ( + + + + ), + }, + { + href: "/mi-cuenta", + label: "Mi cuenta", + icon: ( + + + + + ), + }, +]; + +export default function Sidebar({ activeHref = "/" }: { activeHref?: string }) { + return ( + + ); +}