feat(classes): optimize teacher dashboard ui and implement grade management

This commit is contained in:
SpecialX
2026-01-14 13:59:11 +08:00
parent ade8d4346c
commit 9bfc621d3f
104 changed files with 12793 additions and 2309 deletions

View File

@@ -1,7 +1,6 @@
import Link from "next/link"
import { Users } from "lucide-react"
import { Badge } from "@/shared/components/ui/badge"
import { Button } from "@/shared/components/ui/button"
import { Card, CardContent, CardHeader, CardTitle } from "@/shared/components/ui/card"
import { EmptyState } from "@/shared/components/ui/empty-state"

View File

@@ -54,6 +54,7 @@ export function TeacherStats({
description: "Published and ongoing",
icon: PenTool,
href: "/teacher/homework/assignments?status=published",
highlight: false,
color: "text-blue-500",
},
{
@@ -62,6 +63,7 @@ export function TeacherStats({
description: "Across recent assignments",
icon: TrendingUp,
href: "#grade-trends",
highlight: false,
color: "text-emerald-500",
},
{
@@ -70,6 +72,7 @@ export function TeacherStats({
description: "Overall completion rate",
icon: BarChart,
href: "#grade-trends",
highlight: false,
color: "text-purple-500",
},
] as const;