'use client' import { Suspense } from 'react' import { PagePurpose } from '@/components/common/PagePurpose' import { getModuleByHref } from '@/lib/navigation' import { CompanionDashboard } from '@/components/companion/CompanionDashboard' import { GraduationCap } from 'lucide-react' function LoadingFallback() { return (
{/* Header Skeleton */}
{[1, 2, 3, 4].map((i) => (
))}
{/* Phase Timeline Skeleton */}
{[1, 2, 3, 4, 5].map((i) => (
{i < 5 &&
}
))}
{/* Stats Skeleton */}
{[1, 2, 3, 4].map((i) => (
))}
{/* Content Skeleton */}
) } export default function CompanionPage() { const moduleInfo = getModuleByHref('/education/companion') return (
{/* Page Purpose Header */} {moduleInfo && ( )} {/* Main Companion Dashboard */} }>
) }