{/* Greeting */}
Good {new Date().getHours() < 12 ? 'morning' : new Date().getHours() < 18 ? 'afternoon' : 'evening'}, {user?.name?.split(' ')[0] || 'there'}
{new Date().toLocaleDateString('en-US', { weekday: 'long', month: 'long', day: 'numeric', year: 'numeric' })}
{/* Row 1: Calendar + Quick Actions */}
{/* Row 2: Open Sessions + Stats 2x2 */}
{/* 4 stat cards in 2x2 grid */}
{[
{ label: 'Active Flows', value: myFlows.length, gradient: true, glow: true },
{ label: 'This Week', value: todaySessions },
{ label: 'Open Sessions', value: openSessions },
{ label: 'Favorites', value: pinnedItems.length },
].map((stat, i) => (
{stat.label}
{stat.value}
))}
{/* Row 3: Recent Activity */}
{/* Divider before existing content */}
{/* Keep existing: Search, Favorites, My Flows tabs below */}
{/* ... rest of existing code (search, favorites, my flows) stays below ... */}
)
```
Keep the existing Search, Favorites, and My Flows sections below the new dashboard panels. Remove the old `