aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* chore: add prismjs for syntax highlightingArmand Philippot2021-12-301-1/+7
|
* chore: make year sticky in posts listArmand Philippot2021-12-292-4/+25
|
* chore: replace read more link with ButtonLink componentArmand Philippot2021-12-299-79/+106
| | | | | I also fix the load more button position since I removed the margin auto.
* chore: add a button-like component for linksArmand Philippot2021-12-293-1/+86
|
* chore: add a theme toggleArmand Philippot2021-12-2715-9/+306
| | | | Dark theme is not implemented yet.
* chore: display comments as a treeArmand Philippot2021-12-272-7/+19
| | | | | | 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: add a skip to content linkArmand Philippot2021-12-222-1/+3
|
* chore: replace svg imports with componentsArmand Philippot2021-12-2218-28/+498
| | | | 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-212-0/+296
|
* chore: add a table of contentsArmand Philippot2021-12-211-0/+31
|
* chore: add a breadcrumb componentArmand Philippot2021-12-213-1/+87
|
* chore: move toolbar size to global scopeArmand Philippot2021-12-204-5/+7
| | | | It allows me to manage footer padding on small viewports.
* chore: create search viewArmand Philippot2021-12-202-1/+5
|
* 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-206-23/+133
|
* chore: add a button to open/close search in toolbarArmand Philippot2021-12-204-2/+115
|
* chore: add a toolbar componentArmand Philippot2021-12-205-11/+71
|
* refactor: rewrite types and servicesArmand Philippot2021-12-203-18/+20
| | | | | | | 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: create mutation to add a new comment on postsArmand Philippot2021-12-173-2/+99
|
* chore: create mutation to send mail from contact formArmand Philippot2021-12-171-7/+9
|
* chore: add a comment form to postsArmand Philippot2021-12-172-1/+59
|
* chore: add meta to single postsArmand Philippot2021-12-174-0/+119
|
* chore: display comments list on postsArmand Philippot2021-12-174-0/+204
|
* chore: create thematic page viewArmand Philippot2021-12-161-2/+2
| | | | | | | 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-161-45/+30
| | | | This way I can reuse PostsList component with another posts fetcher.
* chore: display year between blog postsArmand Philippot2021-12-164-20/+31
|
* chore: display featuredImage and meta on posts listArmand Philippot2021-12-165-31/+225
|
* chore: create post meta view for posts listsArmand Philippot2021-12-161-0/+79
|
* chore: define secondary button stylesArmand Philippot2021-12-164-5/+85
| | | | I also rename submit style to primary.
* chore: create contact pageArmand Philippot2021-12-169-0/+197
|
* fix: change branding title tag on homepageArmand Philippot2021-12-153-19/+19
| | | | I forgot to pass isHome arg...
* chore: add pagination (load more) to blog pageArmand Philippot2021-12-151-25/+77
|
* chore: retrieve posts list on blog pageArmand Philippot2021-12-152-0/+41
|
* chore: define main grid to center contentArmand Philippot2021-12-142-1/+21
|
* chore: add footer navArmand Philippot2021-12-134-1/+54
|
* chore: add main-nav componentArmand Philippot2021-12-137-2/+314
| | | | | I choose to implement main-nav paths manually instead of fetching them from GraphQL to ensure functional navigation without JS.
* chore: load i18n translations using lingui providerArmand Philippot2021-12-131-1/+8
|
* chore: change app to use a layoutArmand Philippot2021-12-134-0/+45
| | | | I can now insert header/footer on each pages.
* chore: add Copyright componentArmand Philippot2021-12-132-0/+32
|
* chore: add Branding componentArmand Philippot2021-12-132-0/+87