summaryrefslogtreecommitdiffstats
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* chore: add some noscript tags to explain why the data are not loadedArmand Philippot2022-02-136-1/+42
|
* chore: adjust spinner marginsArmand Philippot2022-02-131-1/+2
|
* chore: update some texts to reduce its widthArmand Philippot2022-02-132-4/+4
| | | | | | | In French, "Utiliser le thème sombre" was a little too long, so instead I decided to remove the "Toggle" word and add an icon to help user understand the button purpose. Same way, "Aucune étoile" was too long, so I replace it with "0 étoile"
* chore: increase toolbar buttons sizeArmand Philippot2022-02-135-120/+56
| | | | | | On small screen, they was too small I think. I also change some styles like focus state to keep consistency between all elements in toolbar. Also, I was not fan of the rotate effect.
* chore: adjust spacings, overflow and transitions of widgetsArmand Philippot2022-02-123-17/+11
|
* chore: improve accessibilityArmand Philippot2022-02-116-7/+46
|
* fix: prevent content to be printed before transition endArmand Philippot2022-02-111-2/+2
| | | | | | With `overflow-y: hidden`, the content was printed before the max height transition end. Switching to `overflow: hidden` fixed this issue.
* chore: adjust spacing before posts list year on small devicesArmand Philippot2022-02-102-2/+9
|
* chore: improve widgetsArmand Philippot2022-02-108-103/+76
| | | | | | | | * Make all widgets expanded by default. This way, without Javascript, thematics and topics are still available. * Improve collapse/expand transition. * Remove widget scrollbar: the height was sometimes weird because of that. Except for ToC on large devices.
* fix: typo in branding animationArmand Philippot2022-02-101-1/+1
|
* refactor: extract contact form from contact pageArmand Philippot2022-02-102-0/+176
| | | | | The contact page file was too long. By extracting the contact form the readability is improved.
* chore: improve contact form behaviorArmand Philippot2022-02-101-1/+1
| | | | | | | * The status was not visile in top of the form, so I moved it under the submit button. * It was possible to send an empty form. * The input type for email should be email instead of text.
* fix: translate Prism toolbar buttons on MDX code blocksArmand Philippot2022-02-081-13/+29
| | | | The translation was only set on page refresh.
* chore(prism): translate color scheme toggle buttonArmand Philippot2022-02-081-1/+5
|
* refactor(prism): rename color scheme attributes and remove prefixArmand Philippot2022-02-081-1/+1
|
* chore: change appearance of hamburger icon on hover/focusArmand Philippot2022-02-021-0/+44
|
* chore: close mainNav on click outside or route changeArmand Philippot2022-02-011-2/+25
|
* chore: move pagination cursor title in a separate divArmand Philippot2022-02-014-11/+28
| | | | | | The progress bar will be clearer for everyone if the information about the number of loaded articles is printed without hovering the progress bar.
* chore: animate main with fade in effectArmand Philippot2022-02-011-0/+4
|
* chore: animate brandingArmand Philippot2022-02-012-4/+75
|
* chore: animate toolbar entranceArmand Philippot2022-02-011-0/+8
|
* chore: add a new settings to handle prism theme from toolbarArmand Philippot2022-02-013-0/+61
|
* chore: add a Prism plugin to set code blocks themeArmand Philippot2022-01-311-0/+1
|
* chore(icons): update main nav iconsArmand Philippot2022-01-312-24/+24
| | | | | | | The CV link text seemed misaligned before. By moving the "diploma" to the bottom, the look is better I think. Also, the computer icon was a little small compared to the others, so I fixed it.
* chore(baseline): handle baseline translation manuallyArmand Philippot2022-01-302-3/+14
| | | | | | I cannot use formatjs to translate the website baseline since I need an async function to load the message. If I use the getIntlInstance helper outside NextJS, webpack is complaining about fs and path.
* refactor(config): move config from config dir to utilsArmand Philippot2022-01-2910-58/+56
|
* refactor(widgets): move social media websites from config to widgetArmand Philippot2022-01-291-2/+39
| | | | | | I only use this config inside the SocialMedia widget so it makes more sense to gather them. In addition I can translate the website names if needed.
* refactor(widgets): move sharing websites from config to sharing widgetArmand Philippot2022-01-291-3/+88
| | | | | | I only use these websites inside the sharing widget so it makes more sense to gather them. In addition, I can translate the website name if needed.
* chore: replace lingui functions with react-intlArmand Philippot2022-01-2935-168/+677
|
* chore: add favicon, webmanifest and theme color preferencesArmand Philippot2022-01-271-2/+16
|
* chore: update logoArmand Philippot2022-01-273-1/+56
| | | | | Adjust previous colors to fit the new website and add a dark version to better fit with the dark theme.
* chore: update project preview appearanceArmand Philippot2022-01-273-21/+32
|
* fix(project): make sure the project cover is displayedArmand Philippot2022-01-271-5/+5
| | | | | | | | Next.js does not support the dynamic import of images. Sometimes the images was displayed and other times the loading did not finish. So even if I would like to keep the content in a same place, I choose to put the projects covers inside the public directory. Then I use a hasCover boolean to determine if the project cover need to be printed.
* fix: make progress bar styles consistent between browsersArmand Philippot2022-01-271-0/+8
| | | | | On Chromium the progress bar background was not applied. However the border is still thicker than on Firefox.
* chore(widgets): update recent posts layoutArmand Philippot2022-01-261-4/+18
| | | | Replace flex with grid to avoid cards reflow on resize.
* chore: add a Gallery component for MDX renderingArmand Philippot2022-01-263-1/+56
|
* chore: create a ResponsiveImage component for MDX renderingArmand Philippot2022-01-263-1/+87
|
* chore: create a Link component for MDX renderingArmand Philippot2022-01-262-1/+25
|
* chore: create a CodeBlock component for MDX renderingArmand Philippot2022-01-262-0/+41
|
* chore: adjust colors and grid layoutArmand Philippot2022-01-251-31/+0
|
* chore: wrap dates with time tagArmand Philippot2022-01-254-70/+74
|
* chore: add reading time in posts metaArmand Philippot2022-01-253-24/+69
|
* chore: display a progress bar before load more buttonArmand Philippot2022-01-252-0/+58
| | | | | Since I'm using cursor pagination, users cannot know if there is a lot of posts available. With this cursor, they can verify the progression.
* chore: display total found posts in page metaArmand Philippot2022-01-252-9/+23
|
* refactor(project): replace repo api call method with hook and swrArmand Philippot2022-01-241-22/+19
| | | | | | | | | | 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 topicArmand Philippot2022-01-235-41/+40
| | | | | I change the name in graphql endpoint, so I decided to repercute this change here.
* chore: include projects inside breadcrumbArmand Philippot2022-01-201-1/+22
|
* chore: add a project summary componentArmand Philippot2022-01-202-0/+195
|
* chore: add projects to main navArmand Philippot2022-01-206-10/+120
| | | | | | 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 viewArmand Philippot2022-01-202-3/+3
|