import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card' import { Button } from '@/components/ui/button' import { useAuth } from '@/hooks/use-auth' import { Link } from 'react-router' export function DashboardPage() { const { user } = useAuth() if (!user) return null return (
{/* User Profile Card */} Profile Information Your account details
{user.picture && ( Profile )}

{user.name}

{user.email}

{user.role} {user.is_active && ( Active )}
{/* Authentication Methods Card */} Authentication Methods How you can sign in
{user.providers.map((provider) => (
{provider} Connected
))}
{/* Quick Actions Card */} Quick Actions Common tasks and shortcuts {user.role === 'admin' && ( )}
{/* Admin Section */} {user.role === 'admin' && ( Admin Panel Administrative functions and system overview

You have administrator privileges. You can manage users and system settings.

)}
) }