aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Widgets
Commit message (Collapse)AuthorAgeFilesLines
* refactor: use formatjs swc pluginArmand Philippot2022-03-239-1/+25
| | | | | I'm not able to configure SWC plugins in Next.js so to make it works, all translation must have an id.
* chore: change recent posts alignementArmand Philippot2022-03-031-0/+1
| | | | | Instead of align them to left on small screens, I decided to centered them.
* chore: display initial posts, thematics & topicsArmand Philippot2022-02-144-26/+14
| | | | | By fetching the data in getStaticProps, I can display the data even for users with Javascript disabled.
* chore: load recent posts on homepage during buildArmand Philippot2022-02-141-14/+7
| | | | This way, even whithout JS, user can see the latest posts.
* chore: add some noscript tags to explain why the data are not loadedArmand Philippot2022-02-136-1/+42
|
* chore: adjust spacings, overflow and transitions of widgetsArmand Philippot2022-02-121-0/+1
|
* chore: improve accessibilityArmand Philippot2022-02-111-2/+13
|
* chore: improve widgetsArmand Philippot2022-02-104-42/+13
| | | | | | | | * 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.
* refactor(config): move config from config dir to utilsArmand Philippot2022-01-291-2/+2
|
* refactor(widgets): move social media websites from config to widgetArmand Philippot2022-01-291-2/+39
| | | | | | I only use this config inside the SocialMedia widget so it makes more sense to gather them. In addition I can translate the website names if needed.
* refactor(widgets): move sharing websites from config to sharing widgetArmand Philippot2022-01-291-3/+88
| | | | | | I only use these websites inside the sharing widget so it makes more sense to gather them. In addition, I can translate the website name if needed.
* chore: replace lingui functions with react-intlArmand Philippot2022-01-298-23/+109
|
* chore(widgets): update recent posts layoutArmand Philippot2022-01-261-4/+18
| | | | Replace flex with grid to avoid cards reflow on resize.
* chore: adjust colors and grid layoutArmand Philippot2022-01-251-31/+0
|
* chore: wrap dates with time tagArmand Philippot2022-01-251-10/+7
|
* refactor: rename all subject occurrences into topicArmand Philippot2022-01-232-17/+17
| | | | | I change the name in graphql endpoint, so I decided to repercute this change here.
* feat: implement dark modeArmand Philippot2022-01-173-4/+24
|
* refactor(styles): rename shadow and border variablesArmand Philippot2022-01-164-31/+18
|
* chore: add a spinner when content is loadingArmand Philippot2022-01-164-34/+57
|
* chore: update sidebar and widgets stylesArmand Philippot2022-01-1515-0/+903
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.