forked from apollographql/gatsby-theme-apollo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy paththeme-options.js
99 lines (96 loc) · 2.92 KB
/
theme-options.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
const navConfig = {
'Apollo Basics': {
category: 'Core',
url: 'https://www.apollographql.com/docs',
description:
'Learn about each part of the Apollo platform and how they all work together.',
omitLandingPage: true
},
'Apollo Client (React)': {
category: 'Apollo Client',
shortName: 'React / JS',
url: 'https://www.apollographql.com/docs/react',
description:
"Manage the entirety of your React app's state and seamlessly execute GraphQL operations."
},
'Apollo Client (iOS)': {
category: 'Apollo Client',
shortName: 'iOS',
url: 'https://www.apollographql.com/docs/ios',
description:
"Manage the entirety of your iOS app's state and seamlessly execute GraphQL operations."
},
'Apollo Client (Android)': {
category: 'Apollo Client',
shortName: 'Android',
url: 'https://www.apollographql.com/docs/android',
description:
"Manage the entirety of your Android app's state and seamlessly execute GraphQL operations."
},
'Apollo Server': {
category: 'Backend',
url: 'https://www.apollographql.com/docs/apollo-server',
description:
'Configure a production-ready GraphQL server to fetch and combine data from multiple sources.'
},
'Apollo Federation': {
category: 'Backend',
url: 'https://www.apollographql.com/docs/federation',
description: 'Implement a single data graph across multiple services.'
},
'Apollo Studio': {
category: 'Tools',
url: 'https://www.apollographql.com/docs/graph-manager',
description:
'Build your graph with your team, evolve it safely, and keep it running smoothly.'
}
};
const footerNavConfig = {
Blog: {
href: 'https://blog.apollographql.com/',
target: '_blank',
rel: 'noopener noreferrer'
},
Contribute: {
href: 'https://www.apollographql.com/docs/community/'
},
'GraphQL Summit': {
href: 'https://summit.graphql.com/',
target: '_blank',
rel: 'noopener noreferrer'
}
};
const titleFont = encodeURIComponent('Source Sans Pro');
const shareImageConfig = {
titleFont,
titleFontSize: 80,
titleExtraConfig: '_bold',
taglineFont: titleFont,
textColor: 'FFFFFF',
textLeftOffset: 80,
textAreaWidth: 1120,
cloudName: 'apollographql',
imagePublicID: 'apollo-docs-template2_dohzxt'
};
module.exports = {
siteName: 'Apollo Docs',
pageTitle: 'Apollo GraphQL Docs',
menuTitle: 'Apollo Platform',
gaTrackingId: [
'UA-74643563-13',
'G-0BGG5V2W2K' // unified ga property
],
algoliaApiKey: '768e823959d35bbd51e4b2439be13fb7',
algoliaIndexName: 'apollodata',
baseUrl: 'https://www.apollographql.com',
twitterHandle: 'apollographql',
spectrumHandle: 'apollo',
youtubeUrl: 'https://www.youtube.com/channel/UC0pEW_GOrMJ23l8QcrGdKSw',
logoLink: 'https://www.apollographql.com/docs/',
baseDir: 'docs',
contentDir: 'source',
navConfig,
footerNavConfig,
ffWidgetId: '3131c43c-bfb5-44e6-9a72-b4094f7ec028',
shareImageConfig
};