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/FooterNav/FooterNav.tsx | 45 ---------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 src/components/FooterNav/FooterNav.tsx (limited to 'src/components/FooterNav/FooterNav.tsx') diff --git a/src/components/FooterNav/FooterNav.tsx b/src/components/FooterNav/FooterNav.tsx deleted file mode 100644 index 763e951..0000000 --- a/src/components/FooterNav/FooterNav.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import Link from 'next/link'; -import styles from './FooterNav.module.scss'; -import { NavItem } from '@ts/types/nav'; -import { useIntl } from 'react-intl'; - -const FooterNav = () => { - const intl = useIntl(); - - const footerNavConfig: NavItem[] = [ - { - id: 'legal-notice', - name: intl.formatMessage({ - defaultMessage: 'Legal notice', - description: 'FooterNav: legal notice link', - id: 'yWjXRx', - }), - slug: '/mentions-legales', - }, - ]; - - const navItems = footerNavConfig.map((item) => { - return ( -
  • - - {item.name} - -
  • - ); - }); - - return ( - - ); -}; - -export default FooterNav; -- cgit v1.2.3