소스 검색

refactor: typescript

master
ntasicc 3 년 전
부모
커밋
13a4f607a5
1개의 변경된 파일17개의 추가작업 그리고 0개의 파일을 삭제
  1. 17
    0
      pages/contact/index.tsx

+ 17
- 0
pages/contact/index.tsx 파일 보기

@@ -0,0 +1,17 @@
import { GetStaticProps, NextPage } from 'next';
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
import ContactForm from '../../components/forms/contact/ContactForm';

const ContactPage: NextPage = () => {
return <ContactForm />;
};

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

export default ContactPage;

Loading…
취소
저장