-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsiteConfig.js
45 lines (38 loc) · 1.36 KB
/
siteConfig.js
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
35
36
37
38
39
40
41
42
43
44
45
const path = require('path')
const isDev = process.env.NODE_ENV === 'development'
const config = {
company: 'The British Library',
brand: 'LibCrowds',
tagline: 'Crowdsourcing projects from the British Library',
description: 'LibCrowds is a platform for hosting experimental crowdsourcing projects aimed at improving access to the diverse collections held at the British Library.',
contact: {
twitter: 'LibCrowds',
email: '[email protected]'
},
githubUrl: 'https://github.com/LibCrowds',
pybossa: {
host: isDev ? 'http://127.0.0.1:5000' : 'https://backend.libcrowds.com',
timeout: 5000
},
dataLicense: {
name: 'CC0',
url: 'https://creativecommons.org/publicdomain/zero/1.0/'
}
}
// Company logo
config.logo = path.resolve(__dirname, 'company-logo.svg')
// List of collection configurations
config.collections = {
playbills: path.resolve(__dirname, `/playbills/config.js`),
convertacard: path.resolve(__dirname, `/convertacard/config.js`)
}
// Mapbox configuration for location stats
config.mapbox = {
id: 'mapbox.streets',
publicApiToken: 'pk.eyJ1IjoibGliY3Jvd2RzIiwiYSI6ImNpdmlxaHFzNTAwN3YydHBncHV3dHc3aXgifQ.V4WUx9SDcU_XLFJo2M3RxQ'
}
// Sentry public DSN
config.sentryPublicDsn = 'https://[email protected]/195392'
// Google analytics tracking ID
config.analytics = 'UA-59584422-4'
module.exports = config