| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | chore: add Project single pages | Armand Philippot | 2022-05-13 | 2 | -1/+31 |
| | | |||||
| * | chore: add a Contact page | Armand Philippot | 2022-05-07 | 1 | -1/+7 |
| | | |||||
| * | chore: add homepage | Armand Philippot | 2022-05-03 | 1 | -0/+112 |
| | | |||||
| * | chore: remove old pages, components, helpers and types | Armand Philippot | 2022-04-29 | 2 | -127/+0 |
| | | | | | | Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch. | ||||
| * | chore: add a PageLayout component | Armand Philippot | 2022-04-25 | 1 | -0/+19 |
| | | |||||
| * | chore: add a TableOfContents component | Armand Philippot | 2022-04-22 | 1 | -0/+153 |
| | | |||||
| * | chore: add a Code component | Armand Philippot | 2022-04-19 | 1 | -0/+115 |
| | | |||||
| * | chore(toc): exclude comments section for headings list | Armand Philippot | 2022-02-12 | 1 | -1/+1 |
| | | |||||
| * | refactor(project): replace repo api call method with hook and swr | Armand Philippot | 2022-01-24 | 1 | -0/+23 |
| | | | | | | | | | | | Instead of using post slug and an environment variable to fetch repo data, I use the given repo in each project MDX file. It allows me to fetch data from another user/organization if needed. To make it work, I no longer provide the full URL in MDX file. The new format is: "User/repo-slug". I also replaced the fetch method with SWR to improve caching and to avoid React complaining about cleanup useEffect. | ||||
| * | fix(toc): render on each route change and exclude aside titles | Armand Philippot | 2022-01-11 | 1 | -7/+20 |
| | | | | | | | 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). | ||||
| * | refactor: avoid useless assignement before return statement | Armand Philippot | 2022-01-04 | 1 | -5/+2 |
| | | |||||
| * | chore: add a table of contents | Armand Philippot | 2021-12-21 | 1 | -7/+1 |
| | | |||||
| * | chore: add a hook to build headings tree | Armand Philippot | 2021-12-21 | 1 | -0/+100 |
