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/app-sidebar.tsx | 158 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 src/components/app-sidebar.tsx (limited to 'src/components/app-sidebar.tsx') diff --git a/src/components/app-sidebar.tsx b/src/components/app-sidebar.tsx new file mode 100644 index 0000000..d2bc03e --- /dev/null +++ b/src/components/app-sidebar.tsx @@ -0,0 +1,158 @@ +"use client" + +import * as React from "react" +import {CircleDollarSign, MessageCircle, MoreVerticalIcon, SquareStack, UserCircleIcon} from "lucide-react" + +import {NavMain} from "@/components/nav-main" +import {Avatar, AvatarFallback, AvatarImage,} from "@/components/ui/avatar" +import { + DropdownMenu, + DropdownMenuContent, + DropdownMenuGroup, + DropdownMenuItem, + DropdownMenuLabel, + DropdownMenuSeparator, + DropdownMenuTrigger, +} from "@/components/ui/dropdown-menu" +import { + Sidebar, + SidebarContent, + SidebarFooter, + SidebarGroup, + SidebarGroupContent, + SidebarGroupLabel, + SidebarHeader, + SidebarMenu, + SidebarMenuButton, + SidebarMenuItem, + useSidebar, +} from "@/components/ui/sidebar" +import {useAppSelector} from "@/hooks.ts"; + +export function AppSidebar({...props}: React.ComponentProps) { + const app = useAppSelector(state => state.app) + + const {isMobile} = useSidebar() + + // + // + // + + return ( + + + + + + {app.panelName} + + + + + + + + + + + + + Redemption + + + + + + + + Methods + + + + + + + + + History + + + + + + + + + + + + + + + + Support + + + + + + + + + + + + + + IW + +
+ Ironwood User + + ironwood@example.com + +
+ +
+
+ + +
+ + + IW + +
+ Ironwood User + + ironwood@example.com + +
+
+
+ + + + + Account + + + +
+
+
+ +
+ ) +} -- cgit v1.2.3