import type { JSX } from "react" import Link from "next/link" import { Plus } from "lucide-react" import { Button } from "@/shared/components/ui/button" import { getAuthContext } from "@/shared/lib/auth-guard" import { getLessonPlans } from "@/modules/lesson-preparation/data-access" import { getSubjectOptions } from "@/modules/school/data-access" import { LessonPlanList } from "@/modules/lesson-preparation/components/lesson-plan-list" export const dynamic = "force-dynamic" export default async function LessonPlansPage(): Promise { const ctx = await getAuthContext() const [items, subjects] = await Promise.all([ getLessonPlans({}, ctx.dataScope, ctx.userId), getSubjectOptions(), ]) return (

My Lesson Plans

Manage your lesson preparation and teaching plans.

) }