import type { Metadata } from 'next'
import { AuthProvider } from '@/hooks/useAuth'
import { RelayProvider } from '@/hooks/useRelay'
import './globals.css'

export const metadata: Metadata = {
  title: 'Web Chat',
  description: 'Chat with AI via WebSocket relay',
}

export default function RootLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <html lang="en">
      <body className="bg-white text-slate-950 antialiased">
        <AuthProvider>
          <RelayProvider>{children}</RelayProvider>
        </AuthProvider>
      </body>
    </html>
  )
}
