diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-11 12:54:24 +0100 | 
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-11 15:33:04 +0100 | 
| commit | 812a8fad8cd703d3e501d03b280b8e5749f4ae57 (patch) | |
| tree | c07f8dfe20721e757f8cd21dd955a42b9c564276 /src/components/Widget/ThematicsList | |
| parent | 9b8eced56f5e029bc92ad59b47cb9fd146b5e1d2 (diff) | |
chore(widget): add a related topics widget
Diffstat (limited to 'src/components/Widget/ThematicsList')
| -rw-r--r-- | src/components/Widget/ThematicsList/ThematicsList.module.scss | 7 | ||||
| -rw-r--r-- | src/components/Widget/ThematicsList/ThematicsList.tsx | 2 | 
2 files changed, 1 insertions, 8 deletions
| diff --git a/src/components/Widget/ThematicsList/ThematicsList.module.scss b/src/components/Widget/ThematicsList/ThematicsList.module.scss deleted file mode 100644 index 5f37c7a..0000000 --- a/src/components/Widget/ThematicsList/ThematicsList.module.scss +++ /dev/null @@ -1,7 +0,0 @@ -.title { -  margin: 0; -} - -.list { -  margin: var(--spacing-sm) 0; -} diff --git a/src/components/Widget/ThematicsList/ThematicsList.tsx b/src/components/Widget/ThematicsList/ThematicsList.tsx index 0dc0916..f120978 100644 --- a/src/components/Widget/ThematicsList/ThematicsList.tsx +++ b/src/components/Widget/ThematicsList/ThematicsList.tsx @@ -3,7 +3,7 @@ import { getAllThematics } from '@services/graphql/queries';  import Link from 'next/link';  import { useRouter } from 'next/router';  import useSWR from 'swr'; -import styles from './ThematicsList.module.scss'; +import styles from '../Widget.module.scss';  const ThematicsList = ({ title }: { title: string }) => {    const router = useRouter(); | 
