import { Inter } from "next/font/google";
import Sidebar from "./components/sidebar/Sidebar";
import Header from "./components/header/Header";
import "./globals.css";
import styles from "./page.module.css";

const inter = Inter({
  variable: "--font-inter",
  subsets: ["latin"],
});

export const metadata = {
  title: "Internal Developer Platform",
  description: "Generated by create next app",
};

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <body className={`${inter.variable} `}>
        <div className={styles.layout}>
          <Sidebar />

          <div className={styles.mainContainer}>
            <Header />
            {children}
          </div>
        </div>
      </body>
    </html>
  );
}
