import { Toast } from '@heroui/react'
import 'primeicons/primeicons.css'
import './globals.css'
import { SiteNavbar } from './components/SiteNavbar'
import Footer from './components/Footer'

export default function RootLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <div className="bg-background text-foreground min-h-screen">
      <Toast.Provider />
      <SiteNavbar />
      <main className="h-full min-h-screen mx-auto max-w-5xl">{children}</main>
      <Footer />
    </div>
  )
}
