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/recherche/index.tsx | 49 +++++++++++++++++++++++--------------------
 1 file changed, 26 insertions(+), 23 deletions(-)

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

diff --git a/src/pages/recherche/index.tsx b/src/pages/recherche/index.tsx
index dbbec55..fbea3cc 100644
--- a/src/pages/recherche/index.tsx
+++ b/src/pages/recherche/index.tsx
@@ -1,41 +1,44 @@
-import Notice from '@components/atoms/layout/notice';
-import Spinner from '@components/atoms/loaders/spinner';
-import PostsList from '@components/organisms/layout/posts-list';
-import LinksListWidget from '@components/organisms/widgets/links-list-widget';
-import { getLayout } from '@components/templates/layout/layout';
-import PageLayout from '@components/templates/page/page-layout';
-import { getArticles, getTotalArticles } from '@services/graphql/articles';
+import { GetStaticProps } from 'next';
+import Head from 'next/head';
+import { useRouter } from 'next/router';
+import Script from 'next/script';
+import { useIntl } from 'react-intl';
+import Notice from '../../components/atoms/layout/notice';
+import Spinner from '../../components/atoms/loaders/spinner';
+import PostsList from '../../components/organisms/layout/posts-list';
+import LinksListWidget from '../../components/organisms/widgets/links-list-widget';
+import { getLayout } from '../../components/templates/layout/layout';
+import PageLayout from '../../components/templates/page/page-layout';
+import { getArticles, getTotalArticles } from '../../services/graphql/articles';
 import {
   getThematicsPreview,
   getTotalThematics,
-} from '@services/graphql/thematics';
-import { getTopicsPreview, getTotalTopics } from '@services/graphql/topics';
-import { type NextPageWithLayout } from '@ts/types/app';
+} from '../../services/graphql/thematics';
+import {
+  getTopicsPreview,
+  getTotalTopics,
+} from '../../services/graphql/topics';
+import { type NextPageWithLayout } from '../../types/app';
 import {
   type RawArticle,
   type RawThematicPreview,
   type RawTopicPreview,
-} from '@ts/types/raw-data';
-import { loadTranslation, type Messages } from '@utils/helpers/i18n';
+} from '../../types/raw-data';
+import { loadTranslation, type Messages } from '../../utils/helpers/i18n';
 import {
   getLinksListItems,
   getPageLinkFromRawData,
   getPostsList,
-} from '@utils/helpers/pages';
+} from '../../utils/helpers/pages';
 import {
   getBlogSchema,
   getSchemaJson,
   getWebPageSchema,
-} from '@utils/helpers/schema-org';
-import useBreadcrumb from '@utils/hooks/use-breadcrumb';
-import useDataFromAPI from '@utils/hooks/use-data-from-api';
-import usePagination from '@utils/hooks/use-pagination';
-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 { useIntl } from 'react-intl';
+} from '../../utils/helpers/schema-org';
+import useBreadcrumb from '../../utils/hooks/use-breadcrumb';
+import useDataFromAPI from '../../utils/hooks/use-data-from-api';
+import usePagination from '../../utils/hooks/use-pagination';
+import useSettings from '../../utils/hooks/use-settings';
 
 type SearchPageProps = {
   thematicsList: RawThematicPreview[];
-- 
cgit v1.2.3

