import ContactUs from "../../components/pages/contact-us";
import { serverSideTranslations } from "next-i18next/serverSideTranslations";
import homeService from "../../services/homeService";

export async function getServerSideProps({ locale }: any) {
  const appData = await homeService.get(locale);

  return {
    props: {
      appData,
      ...(await serverSideTranslations(locale, ["common"])),
    },
  };
}

export default ContactUs;
