aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/layout/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite Copyright componentArmand Philippot2023-11-111-1/+0
| | | | | | | | | * remove `icon` prop (it is confusing because a copyright should have the copyright symbol, the license is not part of the copyright) * reorganize copyright informations I also updated the CC BY SA icon because the elements was in the wrong order.
* feat(components): add a Time componentArmand Philippot2023-11-111-0/+1
| | | | | | Instead of using helpers functions to format the date each time we need to use a time element, it makes more sense to create a new component dedicated to this task.
* refactor(components): rewrite Notice componentArmand Philippot2023-11-111-1/+0
| | | | * Rename message prop to children prop and set ReactNode as type
* refactor(components): remove Column and NoScript from atomsArmand Philippot2023-11-111-2/+0
| | | | | | | * Column is a simple div meant to be used inside Columns component so they should live together. * NoScript is only used in Layout component and its name does not make sense since it needs to be used inside a `noscript` element.
* feat(components): add Article, Aside, Footer, Header, Main & NavArmand Philippot2023-10-241-1/+5
| | | | | 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/+7
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.