import React from 'react'; import { Dialog, DialogContent, DialogHeader, DialogTitle } from './ui/dialog'; import { Button } from './ui/button'; import { Card } from './ui/card'; import { Sparkle } from '@phosphor-icons/react'; interface PassportLoginProps { open: boolean; onClose: () => void; onLoginSuccess: (user: { login: string; avatarUrl: string; email: string }) => void; } export function PassportLogin({ open, onClose, onLoginSuccess }: PassportLoginProps) { const handleLogin = async () => { // Stub: Replace with real OAuth flow const user = { login: 'demo_user', avatarUrl: 'https://avatars.githubusercontent.com/u/1?v=4', email: 'demo@aethex.io', }; onLoginSuccess(user); onClose(); }; return ( AeThex Passport Login

Sign in with your AeThex Passport account to access private projects and sync your progress.

); }