aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): replace Summary component with PostPreviewArmand Philippot2023-11-111-1/+0
| | | | | | | | | | | * rename component to PostPreview because Summary is an HTML element and it could lead to confusion * replace `title` and `titleLevel` with `heading` and `headingLvl` because `title` is a native attribute * rename `intro` prop to `excerpt` * extract `cover` from `meta` prop * rewrite meta type * extract meta logic into a new component
* refactor(components): remove SiteHeader and SiteFooter componentsArmand Philippot2023-11-111-2/+0
| | | | | They do not help to make the layout more readable (on the contrary I think...) so the props drilling is useless.
* feat(components): add a generic Grid componentArmand Philippot2023-11-111-1/+0
| | | | | * merge Columns, Gallery and CardsList into Grid component * add more options to control the grid
* feat(components): add Article, Aside, Footer, Header, Main & NavArmand Philippot2023-10-241-2/+2
| | | | | 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-0/+9
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.