aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/cv.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-09-19 18:13:57 +0200
committerArmand Philippot <git@armandphilippot.com>2023-09-19 19:12:31 +0200
commit2faf2e34331703b3bdea3eb487cb8799c8d65377 (patch)
treededc6557ddaa8fedd42d9bdf77950f8f9168ebcb /src/pages/cv.tsx
parentd1fe9e2164fc5c8fd767b456eecc2a4eb929a33f (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/cv.tsx')
-rw-r--r--src/pages/cv.tsx40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/pages/cv.tsx b/src/pages/cv.tsx
index d938d98..16b83f0 100644
--- a/src/pages/cv.tsx
+++ b/src/pages/cv.tsx
@@ -1,23 +1,3 @@
-import Heading, { HeadingProps } from '@components/atoms/headings/heading';
-import Link, { LinkProps } from '@components/atoms/links/link';
-import List from '@components/atoms/lists/list';
-import ImageWidget from '@components/organisms/widgets/image-widget';
-import SocialMedia from '@components/organisms/widgets/social-media';
-import { getLayout } from '@components/templates/layout/layout';
-import PageLayout, {
- type PageLayoutProps,
-} from '@components/templates/page/page-layout';
-import CVContent, { data, meta } from '@content/pages/cv.mdx';
-import styles from '@styles/pages/cv.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 { NestedMDXComponents } from 'mdx/types';
import { GetStaticProps } from 'next';
import Head from 'next/head';
@@ -25,6 +5,26 @@ import { useRouter } from 'next/router';
import Script from 'next/script';
import React, { ReactNode } from 'react';
import { useIntl } from 'react-intl';
+import Heading, { HeadingProps } from '../components/atoms/headings/heading';
+import Link, { LinkProps } from '../components/atoms/links/link';
+import List from '../components/atoms/lists/list';
+import ImageWidget from '../components/organisms/widgets/image-widget';
+import SocialMedia from '../components/organisms/widgets/social-media';
+import { getLayout } from '../components/templates/layout/layout';
+import PageLayout, {
+ type PageLayoutProps,
+} from '../components/templates/page/page-layout';
+import CVContent, { data, meta } from '../content/pages/cv.mdx';
+import styles from '../styles/pages/cv.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 ExternalLink = (props: LinkProps) => <Link external={true} {...props} />;