Преглед на файлове

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…
Отказ
Запис