選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.tsx 481B

123456789101112131415161718
  1. import type { NextPage, GetStaticProps } 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: GetStaticProps = async ({ locale }: any) => {
  8. return {
  9. props: {
  10. ...(await serverSideTranslations(locale, ['contact'])),
  11. },
  12. };
  13. };
  14. export default Contact;