You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.ts 490B

1234567891011121314151617
  1. import { GetStaticProps, NextPage } from 'next';
  2. import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
  3. import ContactForm from '../../components/forms/contact/ContactForm';
  4. const ContactPage: NextPage = () => {
  5. return <ContactForm />;
  6. };
  7. export const getStaticProps: GetStaticProps = async ({ locale }: any) => {
  8. return {
  9. props: {
  10. ...(await serverSideTranslations(locale, ['forms', 'contact', 'common'])),
  11. },
  12. };
  13. };
  14. export default ContactPage;