diff --git a/src/components/AdminProfileCard.tsx b/src/components/AdminProfileCard.tsx new file mode 100644 index 0000000..ec23390 --- /dev/null +++ b/src/components/AdminProfileCard.tsx @@ -0,0 +1,76 @@ +"use client"; + +import { Box, VStack, HStack, Text, Avatar, Separator } from "@chakra-ui/react"; +import { SignOutButton } from "@clerk/nextjs"; +import { FiUsers, FiLogOut } from "react-icons/fi"; + +type AdminProfileCardProps = { + isOpen: boolean; + onClose: () => void; + name: string; + avatarSrc?: string; +}; + +export default function AdminProfileCard({ isOpen, onClose, name, avatarSrc }: AdminProfileCardProps) { + if (!isOpen) return null; + + return ( + <> + {/* Backdrop */} + + + {/* Card */} + + {/* Profile header */} + + + + + + + + {name} + + + System Admin + + + + + + + {/* Menu items */} + + {/* Account Settings (placeholder) */} + + + + Account Settings + + + + {/* Sign Out */} + + + + + Sign Out + + + + + + + ); +}