summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* refactor: improve regex readability by grouping partsArmand Philippot2022-01-041-1/+1
|
* refactor: avoid mutated array with reverse methodArmand Philippot2022-01-042-2/+2
|
* refactor: avoid useless assignement before return statementArmand Philippot2022-01-046-47/+24
|
* refactor(sharing): avoid nested template literalsArmand Philippot2022-01-047-29/+31
| | | | | This improves readability. I also rename a variable to avoid duplicate between global scope and useEffect scope.
* chore: add a back to top linkArmand Philippot2022-01-045-1/+121
|
* chore(icons): add direction to arrow icon and split pathArmand Philippot2022-01-042-10/+78
| | | | I can now animate separatly the arrow head and the arrow body.
* chore(prism): replace Coldark theme with a custom themeArmand Philippot2022-01-036-7/+310
|
* chore: add line numbers to all prism blocks and translate copy buttonArmand Philippot2022-01-033-1/+64
|
* chore: add styles to WP blocksArmand Philippot2022-01-035-15/+262
|
* chore: display subjects list under articlesArmand Philippot2022-01-035-6/+94
|
* chore: add prismjs for syntax highlightingArmand Philippot2021-12-301-1/+7
|
* chore(homepage): replace absolute links with custom componentsArmand Philippot2021-12-292-1/+75
|
* chore: make year sticky in posts listArmand Philippot2021-12-292-4/+25
|
* chore: replace read more link with ButtonLink componentArmand Philippot2021-12-2910-79/+107
| | | | | I also fix the load more button position since I removed the margin auto.
* chore: add a button-like component for linksArmand Philippot2021-12-294-1/+88
|
* chore: add a theme toggleArmand Philippot2021-12-2718-9/+457
| | | | Dark theme is not implemented yet.
* chore: display comments as a treeArmand Philippot2021-12-275-9/+51
| | | | | | I was displaying comments without the parent/children link. Now, each child is displayed under its parent. I also remove the reply button for children to avoid too many child depth.
* chore: replace CV content with mdx contentArmand Philippot2021-12-246-96/+7
| | | | | Since I replace the other pages, there is no reason to fetch this page content through WP GraphQL.
* chore: replace homepage content with MDX contentArmand Philippot2021-12-244-40/+3
| | | | | I cannot import custom blocks through WP GraphQL, so I prefer to use MDX file. This way I cannot import custom components.
* chore: replace legal notice page content with MDX contentArmand Philippot2021-12-242-15/+5
| | | | | I cannot use WordPress shortcodes from a custom plugin through WP GraphQL so I'm using mdx file instead to define the page content.
* build: add a typescript declaration file for MDXArmand Philippot2021-12-241-0/+6
| | | | | I need to inform Typescript than I am exporting a meta constant from MDX files.
* build: add a git submodule to manage content in a separate repoArmand Philippot2021-12-241-0/+0
|
* chore: add a skip to content linkArmand Philippot2021-12-223-1/+52
|
* chore: replace svg imports with componentsArmand Philippot2021-12-2223-281/+588
| | | | It allows me to control the colors of each SVG paths.
* fix: use state to define hostname in sharing componentArmand Philippot2021-12-211-2/+3
| | | | | | The window is not available during build, so an error occured. By using React hooks to set the hostname once in the browser, it works as expected.
* chore: add a sharing componentArmand Philippot2021-12-215-0/+371
|
* chore: add a table of contentsArmand Philippot2021-12-216-11/+61
|
* chore: add a hook to build headings treeArmand Philippot2021-12-212-0/+118
|
* chore: add a breadcrumb componentArmand Philippot2021-12-2112-36/+128
|
* chore: move toolbar size to global scopeArmand Philippot2021-12-205-5/+18
| | | | It allows me to manage footer padding on small viewports.
* chore: create search viewArmand Philippot2021-12-204-4/+127
|
* chore: add missing changes in mainNav componentArmand Philippot2021-12-201-8/+12
| | | | I forgot to add them in the previous commit...
* chore: define search form visibilityArmand Philippot2021-12-208-29/+155
|
* chore: add a button to open/close search in toolbarArmand Philippot2021-12-206-2/+221
|
* chore: add a toolbar componentArmand Philippot2021-12-205-11/+71
|
* refactor: rewrite types and servicesArmand Philippot2021-12-2034-1117/+1106
| | | | | | | I was repeating myself a lot in services. So I rewrited the different functions to improve readability and I extracted some formatting functions to put them in utils. I also rewrited/reorganized some types to keep consistent names.
* chore: add subject viewArmand Philippot2021-12-184-5/+344
|
* chore: add a 404 pageArmand Philippot2021-12-182-0/+56
|
* chore: create mutation to add a new comment on postsArmand Philippot2021-12-177-3/+191
|
* chore: create mutation to send mail from contact formArmand Philippot2021-12-174-9/+99
|
* chore: add title and meta desc to postsArmand Philippot2021-12-172-19/+36
|
* chore: add a comment form to postsArmand Philippot2021-12-173-1/+62
|
* chore: add meta to single postsArmand Philippot2021-12-177-6/+153
|
* chore: display comments list on postsArmand Philippot2021-12-177-2/+225
|
* chore: create thematic page viewArmand Philippot2021-12-165-2/+303
| | | | | | | For now I have to repeat some markup/styles, I cannot reuse PostsList component. WP GraphQL does not offer edges for ACF Post2Post or filters to get thematic posts with another way. I should create custom fields in backend to improve the posts fetching.
* refactor: move SWR to blog pageArmand Philippot2021-12-162-50/+70
| | | | This way I can reuse PostsList component with another posts fetcher.
* chore: display year between blog postsArmand Philippot2021-12-168-25/+55
|
* chore: add missing icon from previous commmitArmand Philippot2021-12-161-0/+41
|
* chore: display featuredImage and meta on posts listArmand Philippot2021-12-167-34/+231
|
* chore: create post meta view for posts listsArmand Philippot2021-12-161-0/+79
|