summaryrefslogtreecommitdiffstats
path: root/src/pages/contact.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor: replace script tags with next/script (#10)Armand Philippot2022-02-211-4/+6
| | | | | | | | * refactor: replace script tags with next/script Since next.js v12.1.0 some warnings was displayed because I was using some script tags. * build(deps): bump next-themes to v0.1.1
* refactor: extract contact form from contact pageArmand Philippot2022-02-101-141/+2
| | | | | The contact page file was too long. By extracting the contact form the readability is improved.
* chore: improve contact form behaviorArmand Philippot2022-02-101-5/+37
| | | | | | | * 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.
* refactor(config): move config from config dir to utilsArmand Philippot2022-01-291-12/+12
|
* chore: replace lingui functions with react-intlArmand Philippot2022-01-291-19/+76
|
* chore(i18n): replace i18n provider and helpersArmand Philippot2022-01-291-8/+8
|
* fix: handle translation with linguiArmand Philippot2022-01-281-6/+4
| | | | | | | | The previous method was not working so I tried a different approach. Translation is loaded but I'm still getting warnings: * Plurals for locale undefined aren't loaded * Text content did not match I can't figure how to fix them...
* chore: add opengraph and twitter metaArmand Philippot2022-01-191-3/+8
|
* refactor(config): move defaultLocale as property of config.localesArmand Philippot2022-01-191-1/+1
| | | | | I will need the country code, so I think it makes more sense to gather them inside the same property.
* chore: add structured data using schema.org and JSON-LDArmand Philippot2022-01-191-0/+40
| | | | I also added the featured image on single article.
* chore: update sidebar and widgets stylesArmand Philippot2022-01-151-2/+2
| | | | | | | | | 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.
* refactor(sidebar): use a component to avoid styles repetitionArmand Philippot2022-01-111-2/+3
| | | | | | I also fix some overflow/sticky issues. I have to set overflow auto only when there is no button-like links otherwise, with translate, the button is cropped on hover.
* chore: add a social media widget on contact and cv pagesArmand Philippot2022-01-101-0/+9
|
* chore: move Main grid to its childrenArmand Philippot2022-01-061-2/+5
| | | | This way I can use full width background for some blocks.
* refactor: reuse PostMeta components on single articles/pagesArmand Philippot2022-01-061-3/+5
|
* refactor(sharing): avoid nested template literalsArmand Philippot2022-01-041-1/+2
| | | | | This improves readability. I also rename a variable to avoid duplicate between global scope and useEffect scope.
* chore: add a breadcrumb componentArmand Philippot2021-12-211-3/+6
|
* refactor: rewrite types and servicesArmand Philippot2021-12-201-2/+8
| | | | | | | 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 send mail from contact formArmand Philippot2021-12-171-2/+22
|
* chore: create contact pageArmand Philippot2021-12-161-0/+104