aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/config.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(hooks): remove useSettings hookArmand Philippot2023-11-151-10/+9
| | | | | | | It does not make sense to re-export an existing object through a hook. On some pages both the hook and the object was imported... It is better to use the CONFIG (previously settings) object directly and by doing it we avoid potential errors because of conditional hooks.
* chore: add a Contact pageArmand Philippot2022-05-071-0/+1
|
* chore: add a Layout componentArmand Philippot2022-04-221-1/+1
| | | | It defines the different components used by all other layouts.
* chore: use a different configuration depending on app envArmand Philippot2022-03-041-1/+11
| | | | | | It will be useful with Docker. Instead of cloning the project with a different configuration, I can manage two different configuration thanks to dotenv and some checking inside the app.
* feat: replace Matomo with AckeeArmand Philippot2022-02-211-4/+5
| | | | | I do not use all Matomo features so I was searching a lightweight analytics tools. I will give a try to Ackee.
* feat: add HTTP security headersArmand Philippot2022-02-151-2/+2
| | | | | I also renamed and changed the format of some environment variables so I can reuse them inside the CSP security header.
* chore(matomo): use another dependency to track page viewsArmand Philippot2022-02-141-0/+4
| | | | | | I though the previous package would track all visits with the provided but it seems that I need to add trackPageView on all pages. So I decided to use another package.
* chore(baseline): handle baseline translation manuallyArmand Philippot2022-01-301-1/+4
| | | | | | 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-291-0/+16