From 7e16f500cb7bc0cfd8bafbf6bb1555704f771231 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 29 Apr 2022 12:13:34 +0200 Subject: chore: remove old pages, components, helpers and types Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch. --- src/components/MetaItems/Thematics/Thematics.tsx | 43 ------------------------ 1 file changed, 43 deletions(-) delete mode 100644 src/components/MetaItems/Thematics/Thematics.tsx (limited to 'src/components/MetaItems/Thematics/Thematics.tsx') diff --git a/src/components/MetaItems/Thematics/Thematics.tsx b/src/components/MetaItems/Thematics/Thematics.tsx deleted file mode 100644 index e655c5d..0000000 --- a/src/components/MetaItems/Thematics/Thematics.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import { MetaKind } from '@ts/types/app'; -import { ThematicPreview } from '@ts/types/taxonomies'; -import Link from 'next/link'; -import { useIntl } from 'react-intl'; -import { MetaItem } from '..'; - -const Thematics = ({ - list, - kind, -}: { - list: ThematicPreview[]; - kind: MetaKind; -}) => { - const intl = useIntl(); - - const getThematics = () => { - return list.map((thematic) => { - return ( - - {thematic.title} - - ); - }); - }; - - return ( - - ); -}; - -export default Thematics; -- cgit v1.2.3