summaryrefslogtreecommitdiffstats
path: root/src/components/FooterNav
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/FooterNav')
-rw-r--r--src/components/FooterNav/FooterNav.module.scss20
-rw-r--r--src/components/FooterNav/FooterNav.tsx45
2 files changed, 0 insertions, 65 deletions
diff --git a/src/components/FooterNav/FooterNav.module.scss b/src/components/FooterNav/FooterNav.module.scss
deleted file mode 100644
index 73ea568..0000000
--- a/src/components/FooterNav/FooterNav.module.scss
+++ /dev/null
@@ -1,20 +0,0 @@
-@use "@styles/abstracts/mixins" as mix;
-@use "@styles/abstracts/placeholders";
-
-.list {
- @extend %flex-list;
-
- gap: var(--spacing-xs);
- place-content: center;
-}
-
-.item {
- @include mix.media("screen") {
- @include mix.dimensions("sm") {
- &::before {
- content: "\2022";
- margin-right: var(--spacing-xs);
- }
- }
- }
-}
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 (
- <li key={item.id} className={styles.item}>
- <Link href={item.slug}>
- <a className={styles.link}>{item.name}</a>
- </Link>
- </li>
- );
- });
-
- return (
- <nav
- className={styles.nav}
- aria-label={intl.formatMessage({
- defaultMessage: 'Footer',
- description: 'FooterNav: aria-label',
- id: 'HTdaZj',
- })}
- >
- <ul className={styles.list}>{navItems}</ul>
- </nav>
- );
-};
-
-export default FooterNav;