import type { Metadata } from "next";
import type { ReactNode } from "react";
import SessionWrapper from "./SessionWrapper";
import AdminShell from "./AdminShell";

export const metadata: Metadata = {
  title: "Admin Panel | Oxylab",
  description: "Oxylab Admin Panel — Manage apps, categories, and settings.",
};

export default function AdminLayout({ children }: { children: ReactNode }) {
  return (
    <SessionWrapper>
      <AdminShell>{children}</AdminShell>
    </SessionWrapper>
  );
}
