From 2faf2e34331703b3bdea3eb487cb8799c8d65377 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Tue, 19 Sep 2023 18:13:57 +0200
Subject: 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.
---
 src/pages/projets/index.tsx | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

(limited to 'src/pages/projets/index.tsx')

diff --git a/src/pages/projets/index.tsx b/src/pages/projets/index.tsx
index aaf37e9..2068b30 100644
--- a/src/pages/projets/index.tsx
+++ b/src/pages/projets/index.tsx
@@ -1,26 +1,26 @@
-import Link from '@components/atoms/links/link';
+import { NestedMDXComponents } from 'mdx/types';
+import { GetStaticProps } from 'next';
+import Head from 'next/head';
+import { useRouter } from 'next/router';
+import Script from 'next/script';
+import Link from '../../components/atoms/links/link';
 import CardsList, {
   type CardsListItem,
-} from '@components/organisms/layout/cards-list';
-import { getLayout } from '@components/templates/layout/layout';
-import PageLayout from '@components/templates/page/page-layout';
-import PageContent, { meta } from '@content/pages/projects.mdx';
-import styles from '@styles/pages/projects.module.scss';
-import { type NextPageWithLayout, type ProjectCard } from '@ts/types/app';
-import { loadTranslation, type Messages } from '@utils/helpers/i18n';
-import { getProjectsCard } from '@utils/helpers/projects';
+} from '../../components/organisms/layout/cards-list';
+import { getLayout } from '../../components/templates/layout/layout';
+import PageLayout from '../../components/templates/page/page-layout';
+import PageContent, { meta } from '../../content/pages/projects.mdx';
+import styles from '../../styles/pages/projects.module.scss';
+import { type NextPageWithLayout, type ProjectCard } from '../../types/app';
+import { loadTranslation, type Messages } from '../../utils/helpers/i18n';
+import { getProjectsCard } from '../../utils/helpers/projects';
 import {
   getSchemaJson,
   getSinglePageSchema,
   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 { useRouter } from 'next/router';
-import Script from 'next/script';
+} from '../../utils/helpers/schema-org';
+import useBreadcrumb from '../../utils/hooks/use-breadcrumb';
+import useSettings from '../../utils/hooks/use-settings';
 
 type ProjectsPageProps = {
   projects: ProjectCard[];
@@ -53,7 +53,7 @@ const ProjectsPage: NextPageWithLayout<ProjectsPageProps> = ({ projects }) => {
   );
 
   const components: NestedMDXComponents = {
-    Links: Link,
+    Link,
   };
 
   const { website } = useSettings();
-- 
cgit v1.2.3

