import type { NextPage, GetStaticProps } from 'next';

import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
import ContactPageForm from '../../components/forms/contact/ContactPageForm';

const Contact: NextPage = () => {
  return <ContactPageForm />;
};

export const getStaticProps: GetStaticProps = async ({ locale }: any) => {
  return {
    props: {
      ...(await serverSideTranslations(locale, ['contact'])),
    },
  };
};

export default Contact;
