-
Notifications
You must be signed in to change notification settings - Fork 650
/
config.js
91 lines (90 loc) · 2.81 KB
/
config.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
const config = {
gatsby: {
pathPrefix: "/learn/graphql/react",
siteUrl: "https://hasura.io",
gaTrackingId: "GTM-WBBW2LN",
trailingSlash: true,
},
header: {
logo: "https://graphql-engine-cdn.hasura.io/learn-hasura/assets/graphql-react/react-favicon.png",
logoLink: "https://hasura.io/learn/",
title:
"<a href='https://hasura.io/learn/'>learn</a><img src='https://graphql-engine-cdn.hasura.io/learn-hasura/assets/chevron-right.svg' alt='Chevron Right' /><a href='https://hasura.io/learn/graphql/react/introduction/'>react</a>",
githubUrl: "https://github.com/hasura/learn-graphql",
helpUrl: "https://discord.com/invite/hasura",
tweetText:
"Check out this GraphQL course for React developers by @HasuraHQ https://hasura.io/learn/graphql/react/introduction/",
links: [
{
text: "",
link: "",
},
],
search: {
enabled: true,
indexName: "learn-react-apollo-hooks",
algoliaAppId: process.env.GATSBY_ALGOLIA_APP_ID,
algoliaSearchKey: process.env.GATSBY_ALGOLIA_SEARCH_KEY,
algoliaAdminKey: process.env.ALGOLIA_ADMIN_KEY,
},
},
sidebar: {
forcedNavOrder: [
"/introduction/",
"/intro-to-graphql/",
"/setup/",
"/apollo-client/",
"/queries/",
"/mutations-variables/",
"/optimistic-update-mutations/",
"/subscriptions/",
"/realtime-feed/",
"/what-next/",
],
links: [
{
text: "Hasura Docs",
link: "https://hasura.io/docs/latest/graphql/core/index/",
},
{
text: "GraphQL API",
link: "https://hasura.io/graphql/",
},
],
frontline: false,
ignoreIndex: true,
},
siteMetadata: {
title: "2 hour GraphQL Apollo course for React developers | Hasura",
description:
"A concise and powerful tutorial that covers fundamental concepts of both GraphQL and using GraphQL in React with Apollo Hooks",
ogImage:
"https://graphql-engine-cdn.hasura.io/learn-hasura/assets/social-media/twitter-card-react-apollo-hooks.png",
docsLocation:
"https://github.com/hasura/learn-graphql/tree/master/tutorials/frontend/react-apollo-hooks/tutorial-site/content",
favicon:
"https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/hasura-favicon.png",
},
"language": {
"code": "en",
"name": "English",
"translations": [
{
"code": "zh",
"name": "Chinese",
"link": "https://hasura.io/learn/zh/graphql/react/introduction/"
},
{
"code": "es",
"name": "Spanish",
"link": "https://hasura.io/learn/es/graphql/react/introduction/"
},
{
"code": "ja",
"name": "Japanese",
"link": "https://hasura.io/learn/ja/graphql/react/introduction/"
},
]
},
};
module.exports = config;