| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix(pages): do not show spinner when data are available | Armand Philippot | 2023-12-18 | 1 | -1/+1 |
| | | | | | | | | | The `useSWR` hook set `isLoading` to `true` on first fetch even if the fallback data is provided. It affects how pages are generated on build: the loading page is showing instead of the actual page. So we need to return a custom `isLoading` variable that checks if there is no data. | ||||
| * | refactor(pages): refine Article pages | Armand Philippot | 2023-12-01 | 3 | -0/+92 |
| * use rehype to update code blocks class names * fix widget heading level (after a level 1 it should always be a level 2 and not 3) * replace Spinner with LoadingPage and LoadingPageComments components to keep layout coherent * refactor useArticle and useComments hooks * fix URLs in JSON LD schema * add Cypress tests | |||||
