aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ToC/ToC.tsx
Commit message (Collapse)AuthorAgeFilesLines
* chore: update sidebar and widgets stylesArmand Philippot2022-01-151-29/+0
| | | | | | | | | I'm now using a widget that can be expanded/collapsed. It also allows me to handle more effectively widgets overflow and to avoid styles repetitions. However, with stylelint rule "no-descending-specificity", I'm not sure if the stylesheets are really logical... Maybe I should deactivate this rule.
* fix(toc): render on each route change and exclude aside titlesArmand Philippot2022-01-111-3/+0
| | | | | | On subject pages for example, the table of contents was not updated on route change. So I added router.asPath as dependency of useEffect. I also changed the query to exclude all titles in aside (ToC, widgets).
* chore: move Main grid to its childrenArmand Philippot2022-01-061-3/+4
| | | | This way I can use full width background for some blocks.
* chore: add a table of contentsArmand Philippot2021-12-211-0/+31