import { BackLink } from "@/client/components/ui/back-link"; import { Card } from "@/client/components/ui/card"; import { PageHeader } from "@/client/components/ui/page-header"; import { Skeleton } from "@/client/components/ui/skeleton"; import { useRequireSession } from "@/client/hooks/use-auth-guard"; import { type SessionUser } from "@/client/lib/auth-client"; import { fallbackHandle } from "@/client/lib/handle"; const ROW_CLASS = "flex flex-col gap-2 py-4 first:pt-0 last:pb-0 sm:flex-row sm:items-center sm:justify-between sm:gap-6"; const LABEL_CLASS = "font-mono text-xs font-medium uppercase tracking-wider text-zinc-500"; const VALUE_CLASS = "flex min-w-0 flex-wrap items-center gap-2 sm:justify-end"; const CODE_CLASS = "break-all rounded bg-zinc-800/60 px-2 py-1 font-mono text-xs text-zinc-100"; const AccountUserInfoSkeleton = () => (
{sub}
{sessionUser.email}
{verified ? "verified" : "unverified"}
{preferredUsername}