// app/(account)/account/page.tsx "use client"; import { useAuth } from "@/context/AuthContext"; function StatChip({ label, value, }: { label: string; value: React.ReactNode; }) { return (
{label}
{value}
); } function Card({ title, description, children, badge, }: { title: string; description?: string; children: React.ReactNode; badge?: React.ReactNode; }) { return (

{title}

{description ? (

{description}

) : null}
{badge ?
{badge}
: null}
{children}
); } function Row({ label, value }: { label: string; value: React.ReactNode }) { return (
{label}
{value}
); } export default function AccountPage() { const { user, loading } = useAuth(); if (loading) return
Loading…
; if (!user) { return (

You’re not logged in

Please log in to view your account.

); } const planLabel = user.role === "ADMIN" ? "Admin" : "Beta Access"; return (
{/* Quick stats (lightweight “premium” feel) */} {/*
*/}
Read-only (for now) } >
Coming soon } >
Coming soon } >
2FA
Not enabled yet (on the roadmap).
Active sessions
We’ll show devices + allow logout everywhere.
Delete account
Removes your account and builds. (We’ll add this flow later.)
); }