aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/layout/page-footer.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): replace PageLayout template with PageArmand Philippot2023-11-201-18/+0
| | | | | | | | | * 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`
* refactor(components): extract MetaItem from MetaListArmand Philippot2023-11-201-8/+5
| | | | | | * replace `items` prop on MetaList with `children` prop: it was too restrictive and the global options was not really useful. It is better too give control to the consumers.
* refactor(components): replace Meta component with MetaListArmand Philippot2023-11-111-3/+5
| | | | | | 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...).
* refactor(components): rewrite DescriptionList componentArmand Philippot2023-11-111-3/+1
| | | | | | | | | | | | | * add a `spacing` prop * replace `layout` prop with `isInline` prop * remove `items` prop (and classNames props) in favor of new components: Description, Group, Term * remove `withSeparator` prop (CSS content is announced by screen readers and Firefox/Safari have no support for alternative text so the consumer should add itself an element with `aria-hidden` if it need a separator) Be aware, Meta component and its consumers can be visually broken, they should be refactored before using them in production.
* feat(components): add Article, Aside, Footer, Header, Main & NavArmand Philippot2023-10-241-15/+10
| | | | | Some components have been renamed to be able to create Footer, Header and Nav.
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-4/+2
| | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.
* chore: adjust and complete missing stylesArmand Philippot2022-05-161-1/+3
| | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements
* refactor: rewrite DescriptionList and Meta componentsArmand Philippot2022-05-091-2/+2
| | | | | | The meta can have different layout. The previous implementation was not enough to easily change the layout. Also, I prefer to restrict the meta types and it prevents me to repeat myself for the labels.
* chore: add a PageFooter componentArmand Philippot2022-04-211-0/+26