import Link from "next/link"
import { PlusCircle, CheckSquare, Users } from "lucide-react"
import { getTranslations } from "next-intl/server"

import { Button } from "@/shared/components/ui/button"

export async function TeacherQuickActions() {
  const t = await getTranslations("dashboard")

  return (
    <div className="flex items-center space-x-2">
      <Button asChild size="sm">
        <Link href="/teacher/homework/assignments/create">
          <PlusCircle className="mr-2 h-4 w-4" />
          {t("quickActions.createAssignment")}
        </Link>
      </Button>
      <Button asChild variant="outline" size="sm">
        <Link href="/teacher/homework/submissions">
          <CheckSquare className="mr-2 h-4 w-4" />
          {t("quickActions.grade")}
        </Link>
      </Button>
      <Button asChild variant="outline" size="sm">
        <Link href="/teacher/classes/my">
          <Users className="mr-2 h-4 w-4" />
          {t("quickActions.myClasses")}
        </Link>
      </Button>
    </div>
  )
}
