import React, { useState } from 'react' import { Layout, ListTodo, PlusCircle, Columns, LogOut, Settings, Building2, Clock } from 'lucide-react' import { NavLink, Outlet, Navigate } from 'react-router-dom' import { useAuth } from '../contexts/AuthContext' import { OnboardingModal } from './OnboardingModal' import { cn } from '../lib/utils' const navLinkClassName = ({ isActive }: { isActive: boolean }) => cn( 'inline-flex items-center gap-2 rounded-xl px-4 py-2 text-sm font-semibold transition-all duration-200', isActive ? 'bg-brand text-white shadow-md shadow-brand/20' : 'text-text-muted hover:bg-surface-muted hover:text-text-main', ) export function AppShell() { const { user, isAuthenticated, isLoading, logout } = useAuth() const [showOrgModal, setShowOrgModal] = useState(false) if (isLoading) { return (
) } if (!isAuthenticated) { return } return (
{/* Top Navigation */}
BeeTask Workspace
{user?.name} {user?.name}
{/* Main Content */}
{/* Footer / Mobile Nav */}
setShowOrgModal(false)} />
) }