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/components/templates/layout/layout.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/components/templates/layout/layout.tsx')
| -rw-r--r-- | src/components/templates/layout/layout.tsx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/components/templates/layout/layout.tsx b/src/components/templates/layout/layout.tsx index 2a10a30..cf35b5c 100644 --- a/src/components/templates/layout/layout.tsx +++ b/src/components/templates/layout/layout.tsx @@ -1,22 +1,22 @@ -import ButtonLink from '@components/atoms/buttons/button-link'; -import Career from '@components/atoms/icons/career'; -import CCBySA from '@components/atoms/icons/cc-by-sa'; -import ComputerScreen from '@components/atoms/icons/computer-screen'; -import Envelop from '@components/atoms/icons/envelop'; -import Home from '@components/atoms/icons/home'; -import PostsStack from '@components/atoms/icons/posts-stack'; -import Main from '@components/atoms/layout/main'; -import NoScript from '@components/atoms/layout/no-script'; -import Footer, { type FooterProps } from '@components/organisms/layout/footer'; -import Header, { type HeaderProps } from '@components/organisms/layout/header'; -import { type NextPageWithLayoutOptions } from '@ts/types/app'; -import useRouteChange from '@utils/hooks/use-route-change'; -import useScrollPosition from '@utils/hooks/use-scroll-position'; -import useSettings from '@utils/hooks/use-settings'; import Script from 'next/script'; import { FC, ReactElement, ReactNode, useRef, useState } from 'react'; import { useIntl } from 'react-intl'; import { Person, SearchAction, WebSite, WithContext } from 'schema-dts'; +import { type NextPageWithLayoutOptions } from '../../../types/app'; +import useRouteChange from '../../../utils/hooks/use-route-change'; +import useScrollPosition from '../../../utils/hooks/use-scroll-position'; +import useSettings from '../../../utils/hooks/use-settings'; +import ButtonLink from '../../atoms/buttons/button-link'; +import Career from '../../atoms/icons/career'; +import CCBySA from '../../atoms/icons/cc-by-sa'; +import ComputerScreen from '../../atoms/icons/computer-screen'; +import Envelop from '../../atoms/icons/envelop'; +import Home from '../../atoms/icons/home'; +import PostsStack from '../../atoms/icons/posts-stack'; +import Main from '../../atoms/layout/main'; +import NoScript from '../../atoms/layout/no-script'; +import Footer, { type FooterProps } from '../../organisms/layout/footer'; +import Header, { type HeaderProps } from '../../organisms/layout/header'; import photo from '/public/armand-philippot.jpg'; import styles from './layout.module.scss'; |
