diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-09-19 18:13:57 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-09-19 19:12:31 +0200 |
| commit | 2faf2e34331703b3bdea3eb487cb8799c8d65377 (patch) | |
| tree | dedc6557ddaa8fedd42d9bdf77950f8f9168ebcb /src/pages/contact.tsx | |
| parent | d1fe9e2164fc5c8fd767b456eecc2a4eb929a33f (diff) | |
refactor(build): replace paths aliases with relative paths
Using paths aliases starting with "@" can be confusing and can lead to
conflict with existings modules. I prefer to use relative paths to
avoid extra configuration in tools because of these aliases.
Diffstat (limited to 'src/pages/contact.tsx')
| -rw-r--r-- | src/pages/contact.tsx | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/pages/contact.tsx b/src/pages/contact.tsx index 2392fe2..b35b8e0 100644 --- a/src/pages/contact.tsx +++ b/src/pages/contact.tsx @@ -1,28 +1,28 @@ -import Notice, { type NoticeKind } from '@components/atoms/layout/notice'; -import ContactForm, { - type ContactFormProps, -} from '@components/organisms/forms/contact-form'; -import SocialMedia from '@components/organisms/widgets/social-media'; -import { getLayout } from '@components/templates/layout/layout'; -import PageLayout from '@components/templates/page/page-layout'; -import { meta } from '@content/pages/contact.mdx'; -import { sendMail } from '@services/graphql/contact'; -import styles from '@styles/pages/contact.module.scss'; -import { type NextPageWithLayout } from '@ts/types/app'; -import { loadTranslation } from '@utils/helpers/i18n'; -import { - getSchemaJson, - getSinglePageSchema, - getWebPageSchema, -} from '@utils/helpers/schema-org'; -import useBreadcrumb from '@utils/hooks/use-breadcrumb'; -import useSettings from '@utils/hooks/use-settings'; import { GetStaticProps } from 'next'; import Head from 'next/head'; import { useRouter } from 'next/router'; import Script from 'next/script'; import { useState } from 'react'; import { useIntl } from 'react-intl'; +import Notice, { type NoticeKind } from '../components/atoms/layout/notice'; +import ContactForm, { + type ContactFormProps, +} from '../components/organisms/forms/contact-form'; +import SocialMedia from '../components/organisms/widgets/social-media'; +import { getLayout } from '../components/templates/layout/layout'; +import PageLayout from '../components/templates/page/page-layout'; +import { meta } from '../content/pages/contact.mdx'; +import { sendMail } from '../services/graphql/contact'; +import styles from '../styles/pages/contact.module.scss'; +import { type NextPageWithLayout } from '../types/app'; +import { loadTranslation } from '../utils/helpers/i18n'; +import { + getSchemaJson, + getSinglePageSchema, + getWebPageSchema, +} from '../utils/helpers/schema-org'; +import useBreadcrumb from '../utils/hooks/use-breadcrumb'; +import useSettings from '../utils/hooks/use-settings'; const ContactPage: NextPageWithLayout = () => { const { dates, intro, seo, title } = meta; |
