aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/layout/page-footer.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/molecules/layout/page-footer.tsx')
-rw-r--r--src/components/molecules/layout/page-footer.tsx8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/components/molecules/layout/page-footer.tsx b/src/components/molecules/layout/page-footer.tsx
index 375cbc4..a93fced 100644
--- a/src/components/molecules/layout/page-footer.tsx
+++ b/src/components/molecules/layout/page-footer.tsx
@@ -1,12 +1,12 @@
import type { FC } from 'react';
import { Footer, type FooterProps } from '../../atoms';
-import { Meta, type MetaData } from './meta';
+import { MetaList, type MetaItemData } from '../meta-list';
export type PageFooterProps = Omit<FooterProps, 'children'> & {
/**
* The footer metadata.
*/
- meta?: MetaData;
+ meta?: MetaItemData[];
};
/**
@@ -15,5 +15,7 @@ export type PageFooterProps = Omit<FooterProps, 'children'> & {
* Render a footer to display page meta.
*/
export const PageFooter: FC<PageFooterProps> = ({ meta, ...props }) => (
- <Footer {...props}>{meta ? <Meta data={meta} /> : null}</Footer>
+ <Footer {...props}>
+ {meta ? <MetaList hasInlinedValues items={meta} /> : null}
+ </Footer>
);