diff --git a/packages/ui/src/components/Organisms/Footer.stories.tsx b/packages/ui/src/components/Organisms/Footer.stories.tsx index 1d773a29b..086f62743 100644 --- a/packages/ui/src/components/Organisms/Footer.stories.tsx +++ b/packages/ui/src/components/Organisms/Footer.stories.tsx @@ -21,12 +21,48 @@ export const Footer = { { locale: Locale.En, items: [ - { title: 'About', target: '/about' as Url }, - { title: 'Blog', target: '/blog' as Url }, - { title: 'Jobs', target: '/jobs' as Url }, - { title: 'Press', target: '/press' as Url }, - { title: 'Accessibility', target: '/accessibility' as Url }, - { title: 'Partners', target: '/partners' as Url }, + { + id: '1', + title: 'About', + target: '/about' as Url, + }, + { + id: '2', + title: 'Blog', + target: '/blog' as Url, + }, + { + id: '3', + title: 'Jobs', + target: '/jobs' as Url, + }, + { + id: '4', + title: 'Press', + target: '/press' as Url, + }, + { + id: '5', + title: 'Accessibility', + target: '/accessibility' as Url, + }, + { + id: '6', + title: 'Partners', + target: '/partners' as Url, + }, + { + id: '7', + title: 'Drupal', + target: '/drupal' as Url, + parent: '0', + }, + { + id: '8', + title: 'Gatsby', + target: '/gatsby' as Url, + parent: '0', + }, ].map((item, index) => ({ ...item, id: index.toString(), diff --git a/packages/ui/src/components/Organisms/Footer.tsx b/packages/ui/src/components/Organisms/Footer.tsx index 87c80dc6c..7abb52e7a 100644 --- a/packages/ui/src/components/Organisms/Footer.tsx +++ b/packages/ui/src/components/Organisms/Footer.tsx @@ -19,36 +19,195 @@ export function Footer() { const intl = useIntl(); const items = buildNavigationTree(useFooterNavigation(intl.locale)); return ( - );