- Add error.tsx and loading.tsx boundaries for admin, parent, student, teacher routes - Add dashboard-error-fallback and dashboard-loading-skeleton components - Add student/learning page, parent/leave routes, teacher textbook components - Update existing app routes across auth, dashboard, and API endpoints - Update proxy middleware and next-auth type declarations
16 lines
408 B
TypeScript
16 lines
408 B
TypeScript
import { DashboardGreetingHeader } from "../dashboard-greeting-header"
|
|
import { TeacherQuickActions } from "./teacher-quick-actions"
|
|
|
|
interface TeacherDashboardHeaderProps {
|
|
teacherName: string
|
|
}
|
|
|
|
export function TeacherDashboardHeader({ teacherName }: TeacherDashboardHeaderProps) {
|
|
return (
|
|
<DashboardGreetingHeader
|
|
userName={teacherName}
|
|
actions={<TeacherQuickActions />}
|
|
/>
|
|
)
|
|
}
|