import "../styles/globals.css";
import Navbar from "../components/Navbar";
import PopNav from "@src/components/PopNav/page";
import { Roboto } from 'next/font/google'
import constants from "@src/lib/constants";
import Footer from "@src/components/footer";

export const metadata = {
  title: constants.APP_NAME,
  description: constants.DESCRIPTION,
}

const roboto = Roboto({
  weight: '400',
  subsets: ['latin'],
  display: 'swap',
})


export default function RootLayout(props: { children: React.ReactNode }) {
  const { children } = props;

  return (
    <html suppressHydrationWarning className={roboto.className}>
      <body className="bg-slate-200	">

        <Navbar />
        <PopNav />
        {children}
        <Footer />
      </body>
    </html>
  )
}