import { Space } from '@roleypoly/design-system/atoms/space'; import { AmbientLarge, CompletelyStylelessLink, Link, } from '@roleypoly/design-system/atoms/typography'; import { UserAvatarGroup } from '@roleypoly/design-system/molecules/user-avatar-group'; import { DiscordUser } from '@roleypoly/types'; import * as React from 'react'; import { FaDiscord, FaGithub, FaPatreon } from 'react-icons/fa'; import { GoSignOut } from 'react-icons/go'; import { Base, NavAction } from './UserPopover.styled'; type UserPopoverProps = { user: DiscordUser; }; export const UserPopover = (props: UserPopoverProps) => { const subtitleText = React.useMemo(() => { const texts = [ '✊ Black Lives Matter.', 'Trans Rights are Human Rights', 'Stop AAPI Hate.', "Get vaccinated, it's free!", 'Imagine having bodily autonomy', ]; return texts[Math.floor(Math.random() * texts.length)]; }, []); return ( Log Out Support us on Patreon {' '} Roleypoly on GitHub Get help on Discord © {new Date().getFullYear()} Roleypoly - {subtitleText} ); };