From 9e1f46c99598710bca5d1da4e208a04263f3da4c Mon Sep 17 00:00:00 2001 From: Lukas <69743171+quick007@users.noreply.github.com> Date: Sun, 3 Dec 2023 14:45:30 -0800 Subject: [PATCH] navbar btn + ticket fetching --- components/layout/navbar.tsx | 9 +++-- fresh.gen.ts | 3 ++ islands/components/peices/navDropDown.tsx | 40 +++++++++++++++++++++++ islands/components/pickers/dropdown.tsx | 6 ++-- routes/_layout.tsx | 7 ++-- routes/events/[id]/tickets.tsx | 4 +-- routes/kv-insights/_middleware.ts | 4 +-- 7 files changed, 63 insertions(+), 10 deletions(-) create mode 100644 islands/components/peices/navDropDown.tsx diff --git a/components/layout/navbar.tsx b/components/layout/navbar.tsx index 145fab6..3ec556d 100644 --- a/components/layout/navbar.tsx +++ b/components/layout/navbar.tsx @@ -1,8 +1,13 @@ -const Navbar = () => { +import { UserPartial } from "@/utils/db/kv.ts"; +import NavbarDropDown from "@/islands/components/peices/navDropDown.tsx"; + +const Navbar = ({user}: {user: UserPartial | undefined}) => { const loggedIn = true; return ( -
New Team
+Settings
+