aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/project-overview/project-overview.stories.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(stories): migrate stories to CSF3 formatArmand Philippot2023-12-151-64/+26
|
* refactor(pages): refine Project pagesArmand Philippot2023-12-081-2/+2
| | | | | | | | | | | * refactor ProjectOverview component to let consumers handle the value * extract project overview depending on Github to avoid fetching Github API if the project is not on Github * wrap dynamic import in a useMemo hook to avoid infinite rerender * fix table of contents by adding a useMutationObserver hook to refresh headings tree (without it useHeadingsTree is not retriggered once the dynamic import is done) * add Cypress tests
* refactor(components): replace Overview with ProjectOverview componentArmand Philippot2023-11-111-0/+78
* `cover` prop is now expecting a ReactElement (NextImage) * `meta` prop is now limited to a specific set of meta items * add a `name` prop to add an accessible name to the figure element