import './globals.css';
import type { Metadata } from 'next';
import AgentationProvider from '../components/agentation-provider';

export const metadata: Metadata = {
  title: 'Grid Electric Onboarding Portal',
  description: 'Candidate and new hire onboarding flow for Grid Electric Corp.'
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en" data-scroll-behavior="smooth">
      <body>
        {children}
        {process.env.NODE_ENV === 'development' && <AgentationProvider />}
      </body>
    </html>
  );
}
