'use client' import { motion } from 'framer-motion' import { TrendingUp, Users, Wallet, Target } from 'lucide-react' export default function DashboardLoading() { return (
{/* Dashboard Loading Animation */}
{/* Main circle */} {/* Secondary circle */} {/* Center icon */}
{/* Loading Text */}
Loading Dashboard

Fetching your latest data...

{/* Progress dots */} {[0, 1, 2, 3, 4].map((index) => ( ))} {/* Dashboard Cards Preview */} {[ { icon: TrendingUp, label: 'Earnings', color: 'text-emerald-500' }, { icon: Users, label: 'Team', color: 'text-blue-500' }, { icon: Wallet, label: 'Wallet', color: 'text-purple-500' }, { icon: Target, label: 'Goals', color: 'text-orange-500' } ].map((item, index) => { const IconComponent = item.icon return ( {item.label}
) })}
{/* Loading message */} Syncing your network data...
) }