import {getData} from "@/cms";
import Footer from "@/components/Footer";
import Navbar from "@/components/Navbar";
import Price from "@/templates/Price";
import PricePage from "@/types/cms/price";

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

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