From c87c615b5866b8a8f361eeb0764bfdea85740e90 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Tue, 10 Oct 2023 19:37:51 +0200
Subject: refactor(components): replace Meta component with MetaList

It removes items complexity by allowing consumers to use any label/value
association. Translations should also be defined by the consumer.
Each item can now be configured separately (borders, layout...).
---
 .../molecules/layout/page-footer.stories.tsx           | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

(limited to 'src/components/molecules/layout/page-footer.stories.tsx')

diff --git a/src/components/molecules/layout/page-footer.stories.tsx b/src/components/molecules/layout/page-footer.stories.tsx
index 8e991a4..48c8c17 100644
--- a/src/components/molecules/layout/page-footer.stories.tsx
+++ b/src/components/molecules/layout/page-footer.stories.tsx
@@ -1,5 +1,4 @@
-import { ComponentMeta, ComponentStory } from '@storybook/react';
-import { MetaData } from './meta';
+import type { ComponentMeta, ComponentStory } from '@storybook/react';
 import { PageFooter as PageFooterComponent } from './page-footer';
 
 /**
@@ -40,16 +39,17 @@ const Template: ComponentStory<typeof PageFooterComponent> = (args) => (
   <PageFooterComponent {...args} />
 );
 
-const meta: MetaData = {
-  custom: {
+const meta = [
+  {
+    id: 'more-about',
     label: 'More posts about:',
-    value: [
-      <a key="topic-1" href="#">
+    value: (
+      <a key="topic-1" href="#topic1">
         Topic name
-      </a>,
-    ],
+      </a>
+    ),
   },
-};
+];
 
 /**
  * Page Footer Stories - With meta
-- 
cgit v1.2.3

