diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-03-24 15:02:39 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-03-24 15:02:39 +0100 |
| commit | ef15022857409312e2b26585ba194f9838bf1262 (patch) | |
| tree | 4db2b9cb28eb823a1aacb10eaecc41c4964e5869 /src/pages/contact.tsx | |
| parent | 8bb3431fc1c545643511e586e6fa7218521b716f (diff) | |
| parent | 9226671f49b507ce6f71e6e2c3621014f05f74e9 (diff) | |
refactor: replace babel with swc
The build time will be faster with SWC.
Diffstat (limited to 'src/pages/contact.tsx')
| -rw-r--r-- | src/pages/contact.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pages/contact.tsx b/src/pages/contact.tsx index 9f8ec0f..5934dd9 100644 --- a/src/pages/contact.tsx +++ b/src/pages/contact.tsx @@ -22,6 +22,7 @@ const ContactPage: NextPageWithLayout = () => { { defaultMessage: 'Contact form - {websiteName}', description: 'ContactPage: SEO - Page title', + id: 'Y3qRib', }, { websiteName: settings.name } ); @@ -30,6 +31,7 @@ const ContactPage: NextPageWithLayout = () => { defaultMessage: "Contact {websiteName} through its website. All you need to do it's to fill the contact form.", description: 'ContactPage: SEO - Meta description', + id: 'OIffB4', }, { websiteName: settings.name } ); @@ -37,10 +39,12 @@ const ContactPage: NextPageWithLayout = () => { const title = intl.formatMessage({ defaultMessage: 'Contact', description: 'ContactPage: page title', + id: 'AN9iy7', }); const intro = intl.formatMessage({ defaultMessage: 'Please fill the form to contact me.', description: 'ContactPage: page introduction', + id: '8Ls2mD', }); const webpageSchema: WebPage = { @@ -99,6 +103,7 @@ const ContactPage: NextPageWithLayout = () => { {intl.formatMessage({ defaultMessage: 'All fields marked with * are required.', description: 'ContactPage: required fields text', + id: 'txusHd', })} </p> <ContactForm /> @@ -108,6 +113,7 @@ const ContactPage: NextPageWithLayout = () => { title={intl.formatMessage({ defaultMessage: 'Find me elsewhere', description: 'ContactPage: social media widget title', + id: 'Qh2CwH', })} github={true} gitlab={true} @@ -128,6 +134,7 @@ export const getStaticProps: GetStaticProps = async ( const breadcrumbTitle = intl.formatMessage({ defaultMessage: 'Contact', description: 'ContactPage: breadcrumb item', + id: 'CzTbM4', }); const { locale } = context; const translation = await loadTranslation(locale); |
