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/index.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/index.tsx')
| -rw-r--r-- | src/pages/index.tsx | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 1e0bf40..0738805 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,31 +1,31 @@ -import FeedIcon from '@assets/images/icon-feed.svg'; -import ButtonLink from '@components/atoms/buttons/button-link'; -import Envelop from '@components/atoms/icons/envelop'; -import Column from '@components/atoms/layout/column'; -import Section, { type SectionProps } from '@components/atoms/layout/section'; -import List, { type ListItem } from '@components/atoms/lists/list'; -import ResponsiveImage from '@components/molecules/images/responsive-image'; -import Columns, { - type ColumnsProps, -} from '@components/molecules/layout/columns'; -import CardsList, { - type CardsListItem, -} from '@components/organisms/layout/cards-list'; -import { getLayout } from '@components/templates/layout/layout'; -import HomePageContent from '@content/pages/homepage.mdx'; -import { getArticlesCard } from '@services/graphql/articles'; -import styles from '@styles/pages/home.module.scss'; -import { type ArticleCard, type NextPageWithLayout } from '@ts/types/app'; -import { loadTranslation, type Messages } from '@utils/helpers/i18n'; -import { getSchemaJson, getWebPageSchema } from '@utils/helpers/schema-org'; -import useBreadcrumb from '@utils/hooks/use-breadcrumb'; -import useSettings from '@utils/hooks/use-settings'; import { NestedMDXComponents } from 'mdx/types'; import { GetStaticProps } from 'next'; import Head from 'next/head'; import Script from 'next/script'; import { ReactElement } from 'react'; import { useIntl } from 'react-intl'; +import FeedIcon from '../assets/images/icon-feed.svg'; +import ButtonLink from '../components/atoms/buttons/button-link'; +import Envelop from '../components/atoms/icons/envelop'; +import Column from '../components/atoms/layout/column'; +import Section, { type SectionProps } from '../components/atoms/layout/section'; +import List, { type ListItem } from '../components/atoms/lists/list'; +import ResponsiveImage from '../components/molecules/images/responsive-image'; +import Columns, { + type ColumnsProps, +} from '../components/molecules/layout/columns'; +import CardsList, { + type CardsListItem, +} from '../components/organisms/layout/cards-list'; +import { getLayout } from '../components/templates/layout/layout'; +import HomePageContent from '../content/pages/homepage.mdx'; +import { getArticlesCard } from '../services/graphql/articles'; +import styles from '../styles/pages/home.module.scss'; +import { type ArticleCard, type NextPageWithLayout } from '../types/app'; +import { loadTranslation, type Messages } from '../utils/helpers/i18n'; +import { getSchemaJson, getWebPageSchema } from '../utils/helpers/schema-org'; +import useBreadcrumb from '../utils/hooks/use-breadcrumb'; +import useSettings from '../utils/hooks/use-settings'; /** * Retrieve a list of coding links. |
