import { Button } from "@ariakit/react"; import { Link } from "wouter"; import { useAppConfig } from "../AppConfig/AppConfig.tsx"; import { interactiveText } from "../common.css.ts"; import { IndieTabletopClubLogo } from "../IndieTabletopClubLogo.tsx"; import { LetterheadParagraph } from "../Letterhead/index.tsx"; import { button } from "../Letterhead/style.css.ts"; import { MiddotSeparated } from "../MiddotSeparated/MiddotSeparated.tsx"; import { useAppActions, useCurrentUser } from "../store/index.tsx"; import type { CurrentUser } from "../types.ts"; import { card } from "./style.css.ts"; /** * @deprecated Use {@link AuthCardV2} */ export function AuthCard(props: { onLogout: () => void; currentUser: CurrentUser | null; description?: string; }) { const { currentUser, onLogout, // Remove this default once AuthCard v1 is migrated away. description = "Enable backup & sync, access your pledge data, and more!", } = props; const { hrefs } = useAppConfig(); const align = !currentUser ? "center" : "start"; return (