aboutsummaryrefslogtreecommitdiffstats
path: root/public
Commit message (Collapse)AuthorAgeFilesLines
* refactor(pages): refine Contact pageArmand Philippot2023-12-111-0/+292
| | | | | | | * remove next/router dependency * remove pageTitle since it is defined in MDX * reduce statements by grouping messages * mock response with MSW and add test for sendEmail
* refactor(components): rewrite Code component and usePrism hookArmand Philippot2023-11-11161-1579/+4030
| | | | | | | | | | | | * 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.
* chore: add DigDir projectArmand Philippot2022-08-211-0/+0
|
* test(unit): fix Jest errors due to images importArmand Philippot2022-06-031-0/+0
| | | | | I mocked some SVG files and moves the branding photo to public directory. It is more a workaround than a real fix but it works so...
* chore: add wp-graphql-get-extended projectArmand Philippot2022-03-021-0/+0
|
* chore: add demo projectArmand Philippot2022-02-231-0/+0
|
* fix: update icons path in manifestArmand Philippot2022-02-221-2/+2
|
* chore: add favicon, webmanifest and theme color preferencesArmand Philippot2022-01-276-0/+15
|
* fix(project): make sure the project cover is displayedArmand Philippot2022-01-273-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 prismjs for syntax highlightingArmand Philippot2021-12-30552-0/+34883
|
* chore: initial commitArmand Philippot2021-12-122-0/+4