Explorar el Código

refactor: typescript

master
ntasicc hace 3 años
padre
commit
13a4f607a5
Se han modificado 1 ficheros con 17 adiciones y 0 borrados
  1. 17
    0
      pages/contact/index.tsx

+ 17
- 0
pages/contact/index.tsx Ver fichero

@@ -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;

Cargando…
Cancelar
Guardar