import React from 'react'; import { useAuth } from '../contexts/AuthContext'; import { Link } from 'react-router-dom'; const Dashboard: React.FC = () => { const { user } = useAuth(); const statsCards = [ { title: 'Collections', value: '0', icon: ( ), color: 'primary' }, { title: 'Decks', value: '0', icon: ( ), color: 'accent' }, { title: 'Total Cards', value: '0', icon: ( ), color: 'primary' }, { title: 'Total Value', value: '$0', icon: ( ), color: 'accent' }, ]; const quickActions = [ { title: 'Scan Cards', description: 'Use OCR to quickly add cards', href: '/scanner', icon: ( ), gradient: 'from-primary-500 to-accent-500', }, { title: 'Browse Cards', description: 'Explore your collection', href: '/cards', icon: ( ), gradient: 'from-accent-500 to-primary-500', }, { title: 'Manage Collections', description: 'Organize your cards', href: '/collections', icon: ( ), gradient: 'from-primary-600 to-accent-400', }, ]; return (
{/* Welcome Section */}

Welcome back, {user?.firstName || user?.username}! 👋

Ready to manage your card collection?

{/* Quick Stats */}
{statsCards.map((stat, index) => (
{stat.icon}

{stat.value}

{stat.title}

))}
{/* Quick Actions */}

Quick Actions

{quickActions.map((action, index) => (
{action.icon}

{action.title}

{action.description}

))}
{/* Recent Activity */}

Recent Activity

No recent activity yet

Start by scanning some cards or creating a collection!

); }; export default Dashboard;