| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor: use named export for everything except pages | Armand Philippot | 2023-09-20 | 17 | -233/+231 |
| | | | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements. | ||||
| * | build(deps): bump all dependencies | Armand Philippot | 2023-09-19 | 5 | -38/+88 |
| | | | | | | * MDX type has changed so some components props had to be updated * Since Storybook now supports TS, I renamed the main/preview files | ||||
| * | refactor(build): replace paths aliases with relative paths | Armand Philippot | 2023-09-19 | 17 | -279/+293 |
| | | | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases. | ||||
| * | chore: make Links and Images compliant with Next.js 13 | Armand Philippot | 2023-01-23 | 5 | -206/+243 |
| | | |||||
| * | fix(projects): load content dynamically and refresh table of contents | Armand Philippot | 2022-09-21 | 1 | -2/+7 |
| | | | | | | | | The previous way of handling content import was causing issue. So I use dynamic import instead. However, the table of contents was not displayed because the wrapper is first empty. I added a mutation observer to refresh the table of contents when the body is updated. | ||||
| * | fix(types): add custom types to pageProps with translation | Armand Philippot | 2022-09-21 | 1 | -2/+3 |
| | | |||||
| * | fix(projects): do not transform pre to Code component | Armand Philippot | 2022-08-21 | 1 | -1/+0 |
| | | | | | | Sometimes it is useful to display some preformatted data that are not code. | ||||
| * | fix(comments): load all comments on a post | Armand Philippot | 2022-08-21 | 1 | -4/+4 |
| | | | | | | | | | | Previously, only the first 10 comments was loaded. So I update the fetching method to retrieve all the comments on a post. Also, I choose to order comments on client side because of a bug with WPGraphQL. Finally, I renamed the Comment type to SingleComment to avoid conflict with existing types. | ||||
| * | refactor(types): move and rename GraphQL types | Armand Philippot | 2022-08-20 | 2 | -2/+2 |
| | | | | | | | | The api file in services was not really readable. So I move the types and I also rewrite a little the fetch function. I also rename most of the type to avoid conflict with preexisting types (like Node) and to keep consistency. | ||||
| * | fix(article): prevent TypeError on build | Armand Philippot | 2022-07-23 | 1 | -3/+6 |
| | | | | | | | By switching to custom hooks for revalidating articles and comments, everything was working on development mode but articles failed to build for production. | ||||
| * | refactor(article): wrap useSWR with a custom hook to revalidate article | Armand Philippot | 2022-07-22 | 1 | -5/+3 |
| | | |||||
| * | fix(comments): refresh comments on changes or new comment | Armand Philippot | 2022-07-22 | 1 | -3/+2 |
| | | |||||
| * | chore: use image title as figure label if no caption is provided | Armand Philippot | 2022-06-07 | 1 | -9/+1 |
| | | |||||
| * | chore: add aria hidden attribute to SVG icons | Armand Philippot | 2022-06-07 | 1 | -2/+5 |
| | | |||||
| * | chore: handle article fallback and revalidation | Armand Philippot | 2022-05-24 | 1 | -25/+26 |
| | | | | | | | By using useSWR I can fetch the changes from the backend. By using fallback, I can access new articles without rebuilding the entire app. | ||||
| * | chore: add a search form on 404 page | Armand Philippot | 2022-05-24 | 1 | -0/+9 |
| | | |||||
| * | chore: add a search form when posts list prints no results | Armand Philippot | 2022-05-24 | 5 | -4/+9 |
| | | |||||
| * | fix: ensure all topics/thematics have the base url | Armand Philippot | 2022-05-23 | 7 | -30/+27 |
| | | |||||
| * | refactor(schema): use helpers function to avoid repeat between pages | Armand Philippot | 2022-05-23 | 12 | -449/+244 |
| | | |||||
| * | refactor: reduce the number of data transformation | Armand Philippot | 2022-05-23 | 8 | -295/+39 |
| | | |||||
| * | chore: update some styles | Armand Philippot | 2022-05-21 | 3 | -7/+9 |
| | | | | | | | | * Improve wp-blocks-columns, wp-block-quote and some images * Make Sharing widget consistent between pages * Remove margin option from lists * Fix Topic logo alignement | ||||
| * | chore: handle blog pagination when JS is disabled | Armand Philippot | 2022-05-20 | 5 | -0/+315 |
| | | |||||
| * | refactor: rewrite Prism hooks and providers | Armand Philippot | 2022-05-19 | 1 | -14/+40 |
| | | | | | | It avoid some hydratation errors on project pages (not in article however) and the hooks are now reusable. | ||||
| * | chore: add total articles on thematic pages | Armand Philippot | 2022-05-18 | 1 | -0/+1 |
| | | |||||
| * | fix: convert undefined into null inside GetStaticProps | Armand Philippot | 2022-05-17 | 1 | -3/+4 |
| | | | | | Next.js was complaining because it cannot serialize undefined values. | ||||
| * | chore: use persistent layout | Armand Philippot | 2022-05-17 | 13 | -39/+127 |
| | | | | | | It prevents to rerender the common components between pages (header, footer...). | ||||
| * | chore: adjust articles styles | Armand Philippot | 2022-05-17 | 1 | -2/+16 |
| | | | | | | * change animation on article card hover * change comments section alignment | ||||
| * | chore: adjust and complete missing styles | Armand Philippot | 2022-05-16 | 5 | -35/+86 |
| | | | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements | ||||
| * | refactor: use custom hook for breadcrumb items and schema | Armand Philippot | 2022-05-16 | 12 | -158/+88 |
| | | |||||
| * | chore: add 404 page | Armand Philippot | 2022-05-16 | 1 | -0/+144 |
| | | |||||
| * | chore: improve accessibility | Armand Philippot | 2022-05-15 | 1 | -1/+1 |
| | | |||||
| * | chore: add Article pages | Armand Philippot | 2022-05-15 | 1 | -0/+251 |
| | | |||||
| * | chore: add Search page | Armand Philippot | 2022-05-15 | 2 | -3/+325 |
| | | |||||
| * | chore: add Topic pages | Armand Philippot | 2022-05-13 | 1 | -0/+244 |
| | | |||||
| * | chore: add Thematic page | Armand Philippot | 2022-05-13 | 2 | -16/+259 |
| | | |||||
| * | chore: add blog page widgets | Armand Philippot | 2022-05-13 | 1 | -9/+81 |
| | | |||||
| * | chore: handle blog pagination | Armand Philippot | 2022-05-13 | 1 | -19/+91 |
| | | |||||
| * | chore: add the Blog index page | Armand Philippot | 2022-05-13 | 1 | -0/+169 |
| | | |||||
| * | chore: add Project single pages | Armand Philippot | 2022-05-13 | 2 | -22/+264 |
| | | |||||
| * | refactor: rewrite DescriptionList and Meta components | Armand Philippot | 2022-05-09 | 4 | -49/+19 |
| | | | | | | | The meta can have different layout. The previous implementation was not enough to easily change the layout. Also, I prefer to restrict the meta types and it prevents me to repeat myself for the labels. | ||||
| * | chore: add a Contact page | Armand Philippot | 2022-05-07 | 1 | -0/+181 |
| | | |||||
| * | chore: add a Projects page | Armand Philippot | 2022-05-05 | 1 | -0/+150 |
| | | |||||
| * | chore: add a CV page | Armand Philippot | 2022-05-03 | 1 | -0/+198 |
| | | |||||
| * | chore: add a LegalNotice page | Armand Philippot | 2022-05-03 | 1 | -0/+140 |
| | | |||||
| * | chore: add homepage | Armand Philippot | 2022-05-03 | 1 | -0/+365 |
| | | |||||
| * | chore: remove old pages, components, helpers and types | Armand Philippot | 2022-04-29 | 14 | -2543/+4 |
| | | | | | | Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch. | ||||
| * | refactor: load prism plugins without babel | Armand Philippot | 2022-03-24 | 3 | -16/+45 |
| | | |||||
| * | refactor: use formatjs swc plugin | Armand Philippot | 2022-03-23 | 13 | -1/+76 |
| | | | | | | I'm not able to configure SWC plugins in Next.js so to make it works, all translation must have an id. | ||||
| * | fix: add a spinner if blog page is loading | Armand Philippot | 2022-03-09 | 1 | -0/+3 |
| | | |||||
| * | feat: provide pagination for users with js disabled (#13) | Armand Philippot | 2022-03-09 | 2 | -28/+226 |
| | | | | | | | | | | * chore: add a Pagination component * chore: add blog pages * chore: fallback to page number based navigation if JS disabled * chore: update translation | ||||
