import { For } from 'solid-js' import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/Card' import { Button } from '@/components/ui/Button' import { IconBookmark, IconChecklist, IconFolder, IconNotebook, IconTrendingUp, IconClock } from '@tabler/icons-solidjs' const stats = [ { name: 'Total Bookmarks', value: '248', icon: IconBookmark, change: '+12%', changeType: 'positive' }, { name: 'Active Tasks', value: '32', icon: IconChecklist, change: '-5%', changeType: 'negative' }, { name: 'Files Stored', value: '1,429', icon: IconFolder, change: '+18%', changeType: 'positive' }, { name: 'Notes Created', value: '89', icon: IconNotebook, change: '+7%', changeType: 'positive' }, ] const recentActivity = [ { id: 1, type: 'bookmark', title: 'SolidJS Documentation', time: '2 hours ago', icon: IconBookmark }, { id: 2, type: 'task', title: 'Complete project setup', time: '4 hours ago', icon: IconChecklist }, { id: 3, type: 'file', title: 'Project proposal.pdf', time: '1 day ago', icon: IconFolder }, { id: 4, type: 'note', title: 'Meeting notes - Q1 planning', time: '2 days ago', icon: IconNotebook }, ] export function Dashboard() { return (
{/* Page Header */}

Dashboard

Welcome back! Here's an overview of your productivity hub.

{/* Stats Grid */}
{(stat) => { const Icon = stat.icon return ( {stat.name}
{stat.value}

{stat.change} {' '} from last month

) }}
{/* Content Grid */}
{/* Recent Activity */} Recent Activity Your latest bookmarks, tasks, and files
{(activity) => { const Icon = activity.icon return (

{activity.title}

{activity.time}

) }}
{/* Quick Actions */} Quick Actions Common tasks and shortcuts
) }