import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import 'swiper/css'
import "./globals.css";
import '@/assets/fonts/irancell/style.css'
import Header from "@/shared/Header";
import Footer from "@/shared/Footer";

const geistSans = Geist({
  variable: "--font-geist-sans",
  subsets: ["latin"],
});

const geistMono = Geist_Mono({
  variable: "--font-geist-mono",
  subsets: ["latin"],
});

export const metadata: Metadata = {
  title: "Create Next App",
  description: "Generated by create next app",
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="fa">
      <body
        className={`${geistSans.variable} ${geistMono.variable} antialiased`}
      >
        <div className="font-irancell xl:p-16 p-4">
          <Header />
          {children}
          <Footer />
        </div>
      </body>
    </html>
  );
}
