| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor(config): move config from config dir to utils | Armand Philippot | 2022-01-29 | 1 | -4/+2 |
| | | |||||
| * | chore: replace lingui functions with react-intl | Armand Philippot | 2022-01-29 | 1 | -9/+59 |
| | | |||||
| * | fix(project): make sure the project cover is displayed | Armand Philippot | 2022-01-27 | 1 | -5/+5 |
| | | | | | | | | | Next.js does not support the dynamic import of images. Sometimes the images was displayed and other times the loading did not finish. So even if I would like to keep the content in a same place, I choose to put the projects covers inside the public directory. Then I use a hasCover boolean to determine if the project cover need to be printed. | ||||
| * | chore: wrap dates with time tag | Armand Philippot | 2022-01-25 | 1 | -21/+24 |
| | | |||||
| * | refactor(project): replace repo api call method with hook and swr | Armand Philippot | 2022-01-24 | 1 | -22/+19 |
| | | | | | | | | | | | 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. | ||||
| * | chore: add a project summary component | Armand Philippot | 2022-01-20 | 1 | -0/+122 |
