summaryrefslogtreecommitdiffstats
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
...
* chore(widget): improve recent posts stylesArmand Philippot2022-01-081-5/+36
|
* chore: improve search box and add button interactions on hover/focusArmand Philippot2022-01-075-17/+90
|
* chore: add article header stylesArmand Philippot2022-01-074-16/+67
|
* chore: add main nav link statesArmand Philippot2022-01-072-4/+140
|
* chore: improve comment sectionArmand Philippot2022-01-0710-67/+136
| | | | I also adjust styles for all forms and primary buttons.
* fix: check for undefined meta in post headerArmand Philippot2022-01-071-1/+11
| | | | | The meta object can exists but its properties can be undefined. So I don't want to display the dl if all properties are undefined.
* chore: add a widget to list all blog topicsArmand Philippot2022-01-073-1/+44
|
* chore: add a widget to list all blog thematicsArmand Philippot2022-01-073-1/+45
|
* chore: move Main grid to its childrenArmand Philippot2022-01-069-48/+73
| | | | This way I can use full width background for some blocks.
* refactor: reuse PostHeader for all pages except homepageArmand Philippot2022-01-061-5/+7
|
* refactor: reuse PostMeta components on single articles/pagesArmand Philippot2022-01-064-112/+138
|
* chore: replace theme button with settingsArmand Philippot2022-01-0519-173/+137
| | | | | I plan to add more user settings so theme options should be inside settings.
* refactor: move Prism hook from layout to article pageArmand Philippot2022-01-041-17/+1
| | | | | I will not use Prism elsewhere, so it makes more sense to call Prism only inside articles.
* chore: add a recent posts widget to the homepageArmand Philippot2022-01-043-0/+129
|
* refactor(sharing): avoid nested template literalsArmand Philippot2022-01-046-28/+29
| | | | | 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-043-1/+107
|
* chore(icons): add direction to arrow icon and split pathArmand Philippot2022-01-041-3/+66
| | | | I can now animate separatly the arrow head and the arrow body.
* chore(prism): replace Coldark theme with a custom themeArmand Philippot2022-01-031-1/+0
|
* chore: add line numbers to all prism blocks and translate copy buttonArmand Philippot2022-01-031-1/+12
|
* chore: display subjects list under articlesArmand Philippot2022-01-032-3/+60
|
* 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.