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/mentions-legales.tsx | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

(limited to 'src/pages/mentions-legales.tsx')

diff --git a/src/pages/mentions-legales.tsx b/src/pages/mentions-legales.tsx
index 413f409..7608e4b 100644
--- a/src/pages/mentions-legales.tsx
+++ b/src/pages/mentions-legales.tsx
@@ -1,24 +1,24 @@
-import Link from '@components/atoms/links/link';
-import ResponsiveImage from '@components/molecules/images/responsive-image';
-import { getLayout } from '@components/templates/layout/layout';
+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 ResponsiveImage from '../components/molecules/images/responsive-image';
+import { getLayout } from '../components/templates/layout/layout';
 import PageLayout, {
   type PageLayoutProps,
-} from '@components/templates/page/page-layout';
-import LegalNoticeContent, { meta } from '@content/pages/legal-notice.mdx';
-import { type NextPageWithLayout } from '@ts/types/app';
-import { loadTranslation } from '@utils/helpers/i18n';
+} from '../components/templates/page/page-layout';
+import LegalNoticeContent, { meta } from '../content/pages/legal-notice.mdx';
+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';
-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';
 
 /**
  * Legal Notice page.
@@ -43,7 +43,7 @@ const LegalNoticePage: NextPageWithLayout = () => {
 
   const components: NestedMDXComponents = {
     Image: ResponsiveImage,
-    Link: Link,
+    Link,
   };
 
   const { website } = useSettings();
-- 
cgit v1.2.3

