import "../styles/globals.css";
import Header from "../components/layout/header/header";
import Footer from "../components/layout/footer/footer";
import {Toaster} from "react-hot-toast";



export const metadata = {
    title: "راوی حساب",
};


export default async function RootLayout({children}) {



    return (
        <html lang="fa" dir='rtl'>
        <body>

        <div className="font-bold">
            <Toaster position="top-left"/>
        </div>
         <Header />
        <main>
            {children}
        </main>
        <Footer />
        </body>

        </html>
    );
}
