import type { Metadata } from "next";
import AdminNav from "@/components/AdminNav";

export const metadata: Metadata = {
  title: "Admin Panel · St.Michael Industrial School Results",
  description: "Administrative console for managing trainees, subjects, marks, and examination results.",
};

export default function AdminLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <div className="min-h-screen bg-[#f4efe4] text-ink font-sans">
      <AdminNav />
      <main className="mx-auto max-w-7xl px-4 py-8 sm:px-6 md:py-10">
        {children}
      </main>
    </div>
  );
}
