| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor(project): replace repo api call method with hook and swr | Armand Philippot | 2022-01-24 | 5 | -38/+45 |
| | | | | | | | | | | | 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. | ||||
| * | refactor: rename all subject occurrences into topic | Armand Philippot | 2022-01-23 | 14 | -192/+181 |
| | | | | | | I change the name in graphql endpoint, so I decided to repercute this change here. | ||||
| * | chore: add sharing widget to single project view | Armand Philippot | 2022-01-20 | 1 | -1/+4 |
| | | |||||
| * | chore: include projects inside breadcrumb | Armand Philippot | 2022-01-20 | 1 | -1/+22 |
| | | |||||
| * | chore: add a project summary component | Armand Philippot | 2022-01-20 | 5 | -0/+217 |
| | | |||||
| * | chore: add projects to main nav | Armand Philippot | 2022-01-20 | 9 | -12/+212 |
| | | | | | | | I redesign a little the main nav on small screens so it can takes two columns when the screen height is low. I change the 2xs breakpoint to 500px instead of 400px. | ||||
| * | chore: add single project view | Armand Philippot | 2022-01-20 | 5 | -41/+218 |
| | | |||||
| * | chore: add a page for projects | Armand Philippot | 2022-01-20 | 10 | -0/+402 |
| | | |||||
| * | chore: allow ReactElement as intro in PostHeader | Armand Philippot | 2022-01-19 | 1 | -7/+22 |
| | | |||||
| * | chore: add opengraph and twitter meta | Armand Philippot | 2022-01-19 | 10 | -21/+80 |
| | | |||||
| * | refactor(config): move defaultLocale as property of config.locales | Armand Philippot | 2022-01-19 | 13 | -18/+22 |
| | | | | | | I will need the country code, so I think it makes more sense to gather them inside the same property. | ||||
| * | chore: add structured data using schema.org and JSON-LD | Armand Philippot | 2022-01-19 | 16 | -65/+600 |
| | | | | | I also added the featured image on single article. | ||||
| * | chore: improve keyboard navigation | Armand Philippot | 2022-01-18 | 2 | -2/+36 |
| | | | | | | Add some focus styles mainly in toolbar components to help identify active items when navigating with a keyboard. | ||||
| * | feat: add a setting to disable animations and transitions | Armand Philippot | 2022-01-17 | 3 | -0/+45 |
| | | | | | | Some users may not know the reduced motion settings, so I provide an option directly on the website to disable animations. | ||||
| * | chore: add a service to handle local storage | Armand Philippot | 2022-01-17 | 1 | -0/+26 |
| | | |||||
| * | refactor(settings): make toggle reusable | Armand Philippot | 2022-01-17 | 7 | -48/+94 |
| | | | | | | Toggle will be used for others settings so I extract the functionnality from ThemeToggle. | ||||
| * | feat: implement dark mode | Armand Philippot | 2022-01-17 | 29 | -109/+298 |
| | | |||||
| * | chore: replace copyright icon import with custom component | Armand Philippot | 2022-01-17 | 5 | -6/+38 |
| | | | | | | It allows me to set the colors with CSS and it will be easier to implement dark mode. | ||||
| * | refactor(styles): rename shadow and border variables | Armand Philippot | 2022-01-16 | 35 | -157/+141 |
| | | |||||
| * | chore: add a spinner when content is loading | Armand Philippot | 2022-01-16 | 8 | -47/+146 |
| | | |||||
| * | chore(meta): add a link to comments on single post pages | Armand Philippot | 2022-01-16 | 2 | -2/+9 |
| | | |||||
| * | chore(comments): handle comment reply | Armand Philippot | 2022-01-15 | 7 | -24/+92 |
| | | |||||
| * | fix: keep logo consistent on zoom | Armand Philippot | 2022-01-15 | 1 | -1/+1 |
| | | |||||
| * | chore: update sidebar and widgets styles | Armand Philippot | 2022-01-15 | 41 | -165/+547 |
| | | | | | | | | | | 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. | ||||
| * | refactor(buttons): add a tertiary kind (previously links styles) | Armand Philippot | 2022-01-14 | 3 | -51/+19 |
| | | |||||
| * | chore(homepage): add icons to some buttons | Armand Philippot | 2022-01-14 | 4 | -9/+32 |
| | | |||||
| * | chore: customize text selection colors | Armand Philippot | 2022-01-14 | 3 | -0/+8 |
| | | |||||
| * | chore: customize browser scrollbar | Armand Philippot | 2022-01-14 | 1 | -0/+20 |
| | | |||||
| * | fix: make links pseudo elements consistent between browsers | Armand Philippot | 2022-01-14 | 1 | -15/+13 |
| | | | | | | On Chromium the pseudo elements (like external links icon) was not displayed correctly. | ||||
| * | chore: improve load more button accessibility | Armand Philippot | 2022-01-14 | 4 | -21/+65 |
| | | | | | | | On click, the focus should be moved to the last post in the list instead of keeping it on load more button. It helps to keep a consistent navigation for keyboard users for example. | ||||
| * | chore: improve Branding component | Armand Philippot | 2022-01-14 | 3 | -22/+266 |
| | | |||||
| * | chore(prism): remove negative margins | Armand Philippot | 2022-01-14 | 1 | -2/+0 |
| | | | | | With toc and sidebar, spacing is important to improve readability. | ||||
| * | chore: change posts list styles | Armand Philippot | 2022-01-14 | 7 | -75/+66 |
| | | |||||
| * | chore: change secondary button styles | Armand Philippot | 2022-01-14 | 1 | -18/+19 |
| | | |||||
| * | chore(toolbar): close modals on click/focus outside | Armand Philippot | 2022-01-14 | 3 | -16/+94 |
| | | |||||
| * | fix: remove focus on route change | Armand Philippot | 2022-01-13 | 1 | -1/+10 |
| | | |||||
| * | chore: add all posts from CMS to feed | Armand Philippot | 2022-01-13 | 1 | -2/+10 |
| | | |||||
| * | chore: add feed formats to document head | Armand Philippot | 2022-01-13 | 1 | -0/+22 |
| | | |||||
| * | chore: add different feed formats (feed.xml, atom.xml, feed.json) | Armand Philippot | 2022-01-13 | 4 | -2/+61 |
| | | |||||
| * | chore: generate feed | Armand Philippot | 2022-01-12 | 1 | -0/+54 |
| | | | | | | | I could loop until hasNextPage is false, but I'm not sure if it is the best solution. So, for now, only the first 100 posts will be added to the file. | ||||
| * | chore: add title and meta desc to subjects and thematics | Armand Philippot | 2022-01-11 | 4 | -46/+77 |
| | | |||||
| * | fix(toc): render on each route change and exclude aside titles | Armand Philippot | 2022-01-11 | 2 | -10/+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). | ||||
| * | fix(widget): remove items limit for ThematicsList and TopicsList | Armand Philippot | 2022-01-11 | 3 | -12/+9 |
| | | | | | | | | By default WPGraphQL gets only the 10 first items if first is not specified. So some subjects was not displayed. I also add an order by title to the query. So I no longer need to sort arrays inside components. | ||||
| * | chore: add toc and widgets to subject pages | Armand Philippot | 2022-01-11 | 1 | -8/+36 |
| | | |||||
| * | chore(widget): add a related thematics widget | Armand Philippot | 2022-01-11 | 3 | -1/+36 |
| | | |||||
| * | chore(widget): pass title to TopicsList as parameter | Armand Philippot | 2022-01-11 | 2 | -4/+13 |
| | | | | | | I also choose to no display the current topic in the list if the current page is a subject. | ||||
| * | chore: add meta, toc and widgets on thematic pages | Armand Philippot | 2022-01-11 | 2 | -9/+61 |
| | | |||||
| * | chore(widget): add a related topics widget | Armand Philippot | 2022-01-11 | 6 | -9/+33 |
| | | |||||
| * | chore(meta): display subjects instead of thematics on Thematic pages | Armand Philippot | 2022-01-11 | 4 | -5/+34 |
| | | |||||
| * | chore(widgets): pass title to thematics list as parameter | Armand Philippot | 2022-01-11 | 2 | -5/+13 |
| | | | | | | If the current page is a thematic, I also choose to not display the current thematic in the list. | ||||
