1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
const isStaging = process.env.NEXT_PUBLIC_APP_ENV === 'staging';
export const settings = {
ackee: {
filename: process.env.NEXT_PUBLIC_ACKEE_FILENAME || 'tracker.js',
siteId: process.env.NEXT_PUBLIC_ACKEE_SITE_ID || '',
url: `https://${process.env.NEXT_PUBLIC_ACKEE_DOMAIN}` || '',
},
api: {
url: isStaging
? process.env.NEXT_PUBLIC_STAGING_GRAPHQL_API
: process.env.NEXT_PUBLIC_GRAPHQL_API,
},
name: 'Armand Philippot',
baseline: {
en: 'Front-end developer',
fr: 'Intégrateur web',
},
copyright: {
startYear: '2012',
endYear: new Date().getFullYear(),
},
locales: {
defaultLocale: 'fr',
defaultCountry: 'FR',
supported: ['en', 'fr'],
},
postsPerPage: 10,
twitterId: '@ArmandPhilippot',
url:
(isStaging
? process.env.NEXT_PUBLIC_STAGING_APP_URL
: process.env.NEXT_PUBLIC_APP_URL) || '',
};
|