Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.tsx 448B

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