From fbd74df78e8c5a1d9c41f52c726fdc5870cbc069 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 30 Jan 2022 00:00:19 +0100 Subject: chore(baseline): handle baseline translation manually 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. --- src/utils/config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/utils/config.ts') diff --git a/src/utils/config.ts b/src/utils/config.ts index 1c227cc..dc009d9 100644 --- a/src/utils/config.ts +++ b/src/utils/config.ts @@ -1,6 +1,9 @@ export const settings = { name: 'Armand Philippot', - baseline: 'Front-end developer', + baseline: { + en: 'Front-end developer', + fr: 'Intégrateur web', + }, copyright: { startYear: '2012', endYear: new Date().getFullYear(), -- cgit v1.2.3