{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "sign-in-card-demo", "title": "Sign-In Card Example", "author": "MR ", "description": "A full page rendering Sign-In Card, with its own sample data — what \"Open in v0\" hands over, and what to copy when wiring the component into a real screen.", "registryDependencies": [ "@cantera/aps-oauth-preset", "@cantera/oauth-types", "@cantera/sign-in-card" ], "files": [ { "path": "registry/examples/sign-in-card-demo.tsx", "content": "'use client'\n\nimport { SignInCard } from '@/components/ui/sign-in-card'\nimport { apsProvider } from '@/lib/aps-oauth-preset'\nimport type { OAuthProvider } from '@/lib/oauth-types'\n\nconst procoreProvider: OAuthProvider = { id: 'procore', name: 'Procore' }\n\n/** Stand-in for the redirect. A returned promise drives the pressed button's pending state. */\nfunction signIn(_providerId: string): Promise {\n return new Promise((resolve) => {\n setTimeout(resolve, 1200)\n })\n}\n\nexport function SignInCardDemo() {\n return (\n \n )\n}\n", "type": "registry:component", "target": "components/examples/sign-in-card-demo.tsx" }, { "path": "registry/examples/pages/sign-in-card-demo-page.tsx", "content": "// Generated by scripts/build-examples.mts. Edit the demo, not this file.\nimport { SignInCardDemo } from '@/components/examples/sign-in-card-demo'\n\nexport default function Page() {\n return (\n
\n
\n \n
\n
\n )\n}\n", "type": "registry:page", "target": "app/examples/sign-in-card/page.tsx" } ], "categories": [ "authentication", "login" ], "type": "registry:example" }