import type {Metadata} from "next";
import {Roboto} from "next/font/google";
import "../globals.css";
import DefaultHeader from "@/components/Public/Navbar";
import Footer from "@/components/Public/Footer";

const roboto = Roboto({subsets: ["latin"], weight: "400"});

export const metadata: Metadata = {
    title: "Asikhulume Chat Therapy Eswatini",
    description: "Asikhulume Chat Therapy is an innovative mobile platform that connects you with professional counselors, therapists, and mental health experts, providing accessible and convenient mental health services.",
    authors: [{name: "OnPointSystems", url: "https://onpointsystems.co.za"}]
};

export default function RootLayout({children,}: Readonly<{ children: React.ReactNode; }>) {
    return (
        <html lang="en">
        <body className={roboto.className}>
        <DefaultHeader/>
        <main className="min-h-[calc(100vh_-_280px)] md:min-h-[calc(100vh_-_210px)] w-full">
            {children}
        </main>
        <Footer/>
        </body>
        </html>
    );
}
