aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Widgets/ToC/ToC.tsx
Commit message (Collapse)AuthorAgeFilesLines
* chore: remove old pages, components, helpers and typesArmand Philippot2022-04-291-55/+0
| | | | | Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch.
* refactor: use formatjs swc pluginArmand Philippot2022-03-231-0/+3
| | | | | I'm not able to configure SWC plugins in Next.js so to make it works, all translation must have an id.
* chore: add some noscript tags to explain why the data are not loadedArmand Philippot2022-02-131-0/+7
|
* chore: improve accessibilityArmand Philippot2022-02-111-2/+13
|
* chore: improve widgetsArmand Philippot2022-02-101-1/+1
| | | | | | | | * Make all widgets expanded by default. This way, without Javascript, thematics and topics are still available. * Improve collapse/expand transition. * Remove widget scrollbar: the height was sometimes weird because of that. Except for ToC on large devices.
* chore: replace lingui functions with react-intlArmand Philippot2022-01-291-2/+6
|
* chore: update sidebar and widgets stylesArmand Philippot2022-01-151-0/+30
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.