import {getData} from "@/cms";
import Footer from "@/components/Footer";
import Navbar from "@/components/Navbar";
import ContactUs from "@/templates/ContactUs";
import ContactPage from "@/types/cms/contact";

export default async function Page() {
	const data = await getData<ContactPage>("contact", "ar");

	return (
		<main className="text-mti-black flex h-screen w-full flex-col bg-white" dir="rtl">
			<Navbar currentPage="/contact" language="ar" />
			<ContactUs data={data} />;
			<Footer language="ar" />
		</main>
	);
}
