diff --git a/packages/client/src/shared/components/Navbar.tsx b/packages/client/src/shared/components/Navbar.tsx index 4c16e3a..e7f1856 100644 --- a/packages/client/src/shared/components/Navbar.tsx +++ b/packages/client/src/shared/components/Navbar.tsx @@ -1,29 +1,54 @@ import Icon from "./Icon.tsx"; import Link from "./Link.tsx"; +import type { icons } from "lucide-preact"; + +type NavbarItem = { + iconName: keyof typeof icons; + name: string; + to: string; +}; export default function Navbar() { return (
- - -

Discover

- -
- -

Chat

-
- - -

PFRAX

- -
- -

Create

-
-
- -

Portfolio

-
+ {navbarList.map((item, key) => ( + + +

{item.name}

+ + ))}
); } + +const navbarList: NavbarItem[] = [ + { + iconName: "Gem", + name: "Discover", + to: "/discover", + }, + { + iconName: "MessagesSquare", + name: "Chat", + to: "/chat", + }, + { + iconName: "Touchpad", + name: "PFRAX", + to: "pfrax", + }, + { + iconName: "Plus", + name: "Create", + to: "create", + }, + { + iconName: "Wallet", + name: "Portfolio", + to: "portfolio", + }, +];