From 70b4f633a6fbedb58c8b9134ac64ede854d489de Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 20 Nov 2023 12:27:46 +0100 Subject: refactor(components): replace PageLayout template with Page * split pages in smaller components (it is both easier to maintain and more readable, we avoid the use of fragments in pages directory) * extract breadcrumbs from article tag (the navigation is not related to the page contents) * remove useReadingTime hook * remove layout options except `isHome` --- .../molecules/layout/page-footer.stories.tsx | 57 ---------------------- 1 file changed, 57 deletions(-) delete mode 100644 src/components/molecules/layout/page-footer.stories.tsx (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 deleted file mode 100644 index 994e888..0000000 --- a/src/components/molecules/layout/page-footer.stories.tsx +++ /dev/null @@ -1,57 +0,0 @@ -import type { ComponentMeta, ComponentStory } from '@storybook/react'; -import { Link } from '../../atoms'; -import { MetaItem, MetaList } from '../meta-list'; -import { PageFooter as PageFooterComponent } from './page-footer'; - -/** - * Page Footer - Storybook Meta - */ -export default { - title: 'Molecules/Layout', - component: PageFooterComponent, - argTypes: { - className: { - control: { - type: 'text', - }, - description: 'Set additional classnames to the footer element.', - table: { - category: 'Styles', - }, - type: { - name: 'string', - required: false, - }, - }, - meta: { - description: 'The page meta.', - table: { - category: 'Options', - }, - type: { - name: 'object', - required: false, - value: {}, - }, - }, - }, -} as ComponentMeta; - -const Template: ComponentStory = (args) => ( - -); - -/** - * Page Footer Stories - With meta - */ -export const PageFooter = Template.bind({}); -PageFooter.args = { - children: ( - - Topic name} - /> - - ), -}; -- cgit v1.2.3