diff --git a/src/components/buttons/ThemeToggler.tsx b/src/components/buttons/ThemeToggler.tsx index bd9614b..8488c73 100644 --- a/src/components/buttons/ThemeToggler.tsx +++ b/src/components/buttons/ThemeToggler.tsx @@ -1,7 +1,6 @@ import { useContext } from 'react'; -import { themeContext } from '../../context/theme-context'; - -import styles from '../../styles/modules/components/buttons/themeToggler.module.scss'; +import { themeContext } from 'src/context/theme-context'; +import styles from 'src/styles/modules/components/buttons/themeToggler.module.scss'; type Props = { className: string; diff --git a/src/components/error/ErrorInfo.tsx b/src/components/error/ErrorInfo.tsx index 08f17b4..58621f3 100644 --- a/src/components/error/ErrorInfo.tsx +++ b/src/components/error/ErrorInfo.tsx @@ -1,9 +1,8 @@ import { ReactNode } from 'react'; import Link from 'next/link'; -import Layout from '../../layouts/Layout'; -import Meta from '../meta/Meta'; - -import styles from '../../styles/modules/components/error/error-info.module.scss'; +import Layout from 'src/layouts/Layout'; +import Meta from 'src/components/meta/Meta'; +import styles from 'src/styles/modules/components/error/error-info.module.scss'; // for details regarding the svg, go to sadgnu.svg file // description copied verbatim from https://www.gnu.org/graphics/sventsitsky-sadgnu.html diff --git a/src/components/find/Company.tsx b/src/components/find/Company.tsx index 4f86e7f..969bbde 100644 --- a/src/components/find/Company.tsx +++ b/src/components/find/Company.tsx @@ -1,7 +1,7 @@ -import { Companies } from '../../interfaces/shared/search'; +import { Companies } from 'src/interfaces/shared/search'; import Link from 'next/link'; -import styles from '../../styles/modules/components/find/company.module.scss'; +import styles from 'src/styles/modules/components/find/company.module.scss'; type Props = { company: Companies[0]; diff --git a/src/components/find/Keyword.tsx b/src/components/find/Keyword.tsx index e9bfac6..6ca0856 100644 --- a/src/components/find/Keyword.tsx +++ b/src/components/find/Keyword.tsx @@ -1,7 +1,6 @@ -import { Keywords } from '../../interfaces/shared/search'; import Link from 'next/link'; - -import styles from '../../styles/modules/components/find/keyword.module.scss'; +import { Keywords } from 'src/interfaces/shared/search'; +import styles from 'src/styles/modules/components/find/keyword.module.scss'; type Props = { keyword: Keywords[0]; diff --git a/src/components/find/Person.tsx b/src/components/find/Person.tsx index eb8993b..ee86037 100644 --- a/src/components/find/Person.tsx +++ b/src/components/find/Person.tsx @@ -1,8 +1,8 @@ -import { People } from '../../interfaces/shared/search'; import Image from 'next/future/image'; import Link from 'next/link'; -import { modifyIMDbImg } from '../../utils/helpers'; -import styles from '../../styles/modules/components/find/person.module.scss'; +import { People } from 'src/interfaces/shared/search'; +import { modifyIMDbImg } from 'src/utils/helpers'; +import styles from 'src/styles/modules/components/find/person.module.scss'; type Props = { person: People[0]; @@ -21,7 +21,7 @@ const Person = ({ person }: Props) => { /> ) : ( - + )} @@ -32,7 +32,7 @@ const Person = ({ person }: Props) => { {person.aka &&

{person.aka}

} {person.jobCateogry &&

{person.jobCateogry}

} {(person.knownForTitle || person.knownInYear) && ( -