aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/templates/sectioned/sectioned-layout.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): integrate sectioned page template into PageArmand Philippot2023-11-231-51/+0
| | | | | | | | * replace Section component by a generic one (other components should be able to use it) * add a PageSection component * add `hasSections` prop to Page component * remove sectioned-page template
* refactor(components): rewrite Section componentArmand Philippot2023-10-241-13/+9
| | | | | | * Make it compliant with ESlint rules * Remove mandatory heading, it now depends on the consumer * Change defaults for hasBorder and variant
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-11/+6
| | | | | | 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.
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-191-4/+4
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* chore: use persistent layoutArmand Philippot2022-05-171-4/+21
| | | | | It prevents to rerender the common components between pages (header, footer...).
* refactor: use custom hook for breadcrumb items and schemaArmand Philippot2022-05-161-4/+4
|
* chore: add a SectionedLayout componentArmand Philippot2022-04-221-0/+43