export const dynamic = "force-dynamic";

import { GraduationCap } from '@/lib/icons';
import { AcademyClient } from "@/components/academy/academy-client";

export const metadata = { title: "Akademi | KovakEmlak" };

export default function AcademyPage() {
  return (
    <div className="flex flex-1 flex-col gap-6 p-4 md:p-6 max-w-5xl">
      <div className="flex items-center gap-3">
        <div className="bg-primary/10 text-primary p-2 rounded-lg">
          <GraduationCap className="size-6" />
        </div>
        <div>
          <h1 className="text-xl font-bold">Akademi</h1>
          <p className="text-muted-foreground text-sm">
            Her modülün turunu başlatarak sistemi adım adım öğrenin.
          </p>
        </div>
      </div>
      <AcademyClient />
    </div>
  );
}
