import type { Metadata } from "next";
import "./globals.css";
import Navbar from "@/components/Navbar";
import Footer from "@/components/Footer";
import AssistantDrawer from "@/components/AssistantDrawer";

export const metadata: Metadata = {
  title: "ACVE",
  description: "ACVE Coursera/Udemy-style legal learning MVP",
};

export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
  return (
    <html lang="en">
      <body>
        <div className="acve-shell flex min-h-screen flex-col">
          <Navbar />
          <main className="mx-auto w-full max-w-[1300px] flex-1 px-4 py-6 md:py-8">{children}</main>
          <Footer />
        </div>
        <AssistantDrawer />
      </body>
    </html>
  );
}
