您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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;