aboutsummaryrefslogtreecommitdiffstats
path: root/src/content
Commit message (Collapse)AuthorAgeFilesLines
* feat(components): add a generic Grid componentArmand Philippot2023-11-111-0/+0
| | | | | * merge Columns, Gallery and CardsList into Grid component * add more options to control the grid
* refactor(components): rewrite Code component and usePrism hookArmand Philippot2023-11-111-0/+0
| | | | | | | | | | | | * move Prism styles to Sass placeholders to avoid repeats * let usePrism consumer define its plugins (remove default ones) * remove `plugins` prop from Code component * add new props to Code component to let consumer configure plugins (and handle plugin list from the given options) However there are some problems with Prism plugins: line-highlight and treeview does not seems to be loaded. I don't want to use Babel instead of SWC so I have no solution for now.
* refactor(components): rewrite Link componentArmand Philippot2023-11-111-0/+0
| | | | | | | | | * rename `external` prop to `isExternal` * rename `download` prop to `isDownload` * rewrite CSS to reduce code length and complexity * move link styles in Sass placeholders to avoid repeats because of WordPress articles * move NavLink component to molecules
* build(deps): add cSpell to lint and fix spelling errorsArmand Philippot2023-09-211-0/+0
|
* chore(pages): update CVArmand Philippot2023-09-201-0/+0
|
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-191-0/+0
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* chore: make Links and Images compliant with Next.js 13Armand Philippot2023-01-231-0/+0
|
* chore(content): fix typo and complete some contents on Home & CVArmand Philippot2022-09-211-0/+0
|
* chore: update CVArmand Philippot2022-08-211-0/+0
|
* chore: add DigDir projectArmand Philippot2022-08-211-0/+0
|
* chore(content): update CVArmand Philippot2022-06-221-0/+0
|
* chore: add an aria label to code blocksArmand Philippot2022-06-071-0/+0
| | | | | Prism is adding a tabindex to code blocks, so I think an aria label can help screen reader users to identify the tabbed content.
* chore: update contentsArmand Philippot2022-05-241-0/+0
|
* refactor: load prism plugins without babelArmand Philippot2022-03-241-0/+0
|
* chore: add wp-graphql-get-extended projectArmand Philippot2022-03-021-0/+0
|
* chore: add demo projectArmand Philippot2022-02-231-0/+0
|
* feat: improve Ackee tracking (#11)Armand Philippot2022-02-231-0/+0
| | | | | | | | | | | | | | | | | * build(deps): add use-ackee hook package * chore: create a context provider for Ackee The provider allows users to change the 'detailed' settings. * chore: add a select menu to choose which info to share with Ackee * chore: add a tooltip for askee settings * chore: replace default select styles with custom styles * chore: register user choice in localstorage * chore: replace Matomo with Ackee in legal notice
* chore: update legal notice informationArmand Philippot2022-02-221-0/+0
| | | | Some contents was outdated since the new version of my website.
* chore(homepage): use next/image for images and specify width/heightArmand Philippot2022-02-221-0/+0
|
* chore: update homepage and cv contentsArmand Philippot2022-02-161-0/+0
|
* chore: load recent posts on homepage during buildArmand Philippot2022-02-141-0/+0
| | | | This way, even whithout JS, user can see the latest posts.
* chore: improve accessibilityArmand Philippot2022-02-111-0/+0
|
* chore: add the Matomo opt-out formArmand Philippot2022-02-011-0/+0
|
* fix(project): make sure the project cover is displayedArmand Philippot2022-01-271-0/+0
| | | | | | | | 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.
* chore: add a page for projectsArmand Philippot2022-01-201-0/+0
|
* chore: update sidebar and widgets stylesArmand Philippot2022-01-151-0/+0
| | | | | | | | | 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.
* chore: add PDF and image format to CV pageArmand Philippot2022-01-101-0/+0
|
* chore: update homepage stylesArmand Philippot2022-01-081-0/+0
|
* chore: move Main grid to its childrenArmand Philippot2022-01-061-0/+0
| | | | This way I can use full width background for some blocks.
* chore: add a recent posts widget to the homepageArmand Philippot2022-01-041-0/+0
|
* chore(homepage): replace absolute links with custom componentsArmand Philippot2021-12-291-0/+0
|
* chore: replace CV content with mdx contentArmand Philippot2021-12-241-0/+0
| | | | | Since I replace the other pages, there is no reason to fetch this page content through WP GraphQL.
* chore: replace legal notice page content with MDX contentArmand Philippot2021-12-241-0/+0
| | | | | 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 git submodule to manage content in a separate repoArmand Philippot2021-12-241-0/+0