import { useRosettaColors } from "@/app/hooks/useRosettaColors"; import { Popover, Text } from "@mantine/core"; import { useDisclosure } from "@mantine/hooks"; import { IconArrowBadgeDownFilled, IconRosetteDiscountCheckFilled, IconShieldCheckFilled } from "@tabler/icons-react"; interface VerifiedBadgeProps { verified: number; size?: number; hideTooltip?: boolean; color?: string; } export function VerifiedBadge(props : VerifiedBadgeProps) { const colors = useRosettaColors(); const [opened, { close, open }] = useDisclosure(false); return ( <> {props.verified == 1 && <> This is an official account belonging to a public figure, brand, or organization. } {props.verified == 2 && <> This is official account belonging to administration of Rosetta. } {props.verified == 3 && <> This user is administrator of this group. } ) }