From 8caa77413ea372e5cbd2980a9922d701af359c04 Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Wed, 28 May 2025 04:41:37 +0100 Subject: initial commit --- src/components/nav-main.tsx | 52 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/components/nav-main.tsx (limited to 'src/components/nav-main.tsx') diff --git a/src/components/nav-main.tsx b/src/components/nav-main.tsx new file mode 100644 index 0000000..873d236 --- /dev/null +++ b/src/components/nav-main.tsx @@ -0,0 +1,52 @@ +"use client" + +import {ListIcon, NotebookText, Users} from "lucide-react" +import { + SidebarGroup, + SidebarGroupContent, + SidebarMenu, + SidebarMenuButton, + SidebarMenuItem, +} from "@/components/ui/sidebar" +import {setPage} from "@/models/appSlice.ts"; +import {useAppDispatch} from "@/hooks.ts"; + +export function NavMain() { + const dispatch = useAppDispatch() + + return ( + + + + + dispatch(setPage("offerwall"))} + > + + + Surveys + + + + + dispatch(setPage("questions"))} + > + + + Questions + + + + + + + Community + + + + + + + ) +} -- cgit v1.2.3