import type { Metadata } from 'next';
import type React from 'react';
import './globals.css';
import { Nav } from '@/components/Nav';

export const metadata: Metadata = {
  title: 'SentryAgent.ai Developer Portal',
  description:
    'Identity and access management for AI agents. Register, authenticate, and secure your agents with SentryAgent AgentIdP.',
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <body className="min-h-screen bg-slate-50 text-slate-900 antialiased">
        <Nav />
        <main>{children}</main>
        <footer className="border-t border-slate-200 py-8 text-center text-sm text-slate-500">
          <p>
            &copy; {new Date().getFullYear()} SentryAgent.ai &mdash; All rights
            reserved.
          </p>
        </footer>
      </body>
    </html>
  );
}
