File tree Expand file tree Collapse file tree 16 files changed +27
-19
lines changed
src/shared/components/tc-communities/communities Expand file tree Collapse file tree 16 files changed +27
-19
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ ARG CONTENTFUL_PREVIEW_API_KEY
20
20
ARG CONTENTFUL_SPACE_ID
21
21
22
22
# Credentials for access to Expert Communities space in Contentful CMS
23
- ARG CONTENTFUL_EXPERT_COMMUNITIES_SPACE_ID
24
- ARG CONTENTFUL_EXPERT_COMMUNITIES_CDN_API_KEY
25
- ARG CONTENTFUL_EXPERT_COMMUNITIES_PREVIEW_API_KEY
23
+ ARG CONTENTFUL_ZURICH_SPACE_ID
24
+ ARG CONTENTFUL_ZURICH_CDN_API_KEY
25
+ ARG CONTENTFUL_ZURICH_PREVIEW_API_KEY
26
26
27
27
# Credentials for access to TopGear space in Contentful CMS
28
28
ARG CONTENTFUL_TOPGEAR_SPACE_ID
@@ -53,9 +53,9 @@ ENV CONTENTFUL_PREVIEW_API_KEY=$CONTENTFUL_PREVIEW_API_KEY
53
53
ENV CONTENTFUL_SPACE_ID=$CONTENTFUL_SPACE_ID
54
54
55
55
# Credentials for access to Expert Communities space in Contentful CMS
56
- ENV CONTENTFUL_EXPERT_COMMUNITIES_SPACE_ID=$CONTENTFUL_EXPERT_COMMUNITIES_SPACE_ID
57
- ENV CONTENTFUL_EXPERT_COMMUNITIES_CDN_API_KEY=$CONTENTFUL_EXPERT_COMMUNITIES_CDN_API_KEY
58
- ENV CONTENTFUL_EXPERT_COMMUNITIES_PREVIEW_API_KEY=$CONTENTFUL_EXPERT_COMMUNITIES_PREVIEW_API_KEY
56
+ ENV CONTENTFUL_ZURICH_SPACE_ID=$CONTENTFUL_ZURICH_SPACE_ID
57
+ ENV CONTENTFUL_ZURICH_CDN_API_KEY=$CONTENTFUL_ZURICH_CDN_API_KEY
58
+ ENV CONTENTFUL_ZURICH_PREVIEW_API_KEY=$CONTENTFUL_ZURICH_PREVIEW_API_KEY
59
59
60
60
# Credentials for access to TopGear space in Contentful CMS
61
61
ENV CONTENTFUL_TOPGEAR_SPACE_ID=$CONTENTFUL_TOPGEAR_SPACE_ID
Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ docker build -t $TAG \
43
43
--build-arg CONTENTFUL_CDN_API_KEY=$CONTENTFUL_CDN_API_KEY \
44
44
--build-arg CONTENTFUL_PREVIEW_API_KEY=$CONTENTFUL_PREVIEW_API_KEY \
45
45
--build-arg CONTENTFUL_SPACE_ID=$CONTENTFUL_SPACE_ID \
46
- --build-arg CONTENTFUL_EXPERT_COMMUNITIES_SPACE_ID= $CONTENTFUL_EXPERT_COMMUNITIES_SPACE_ID \
47
- --build-arg CONTENTFUL_EXPERT_COMMUNITIES_CDN_API_KEY= $CONTENTFUL_EXPERT_COMMUNITIES_CDN_API_KEY \
48
- --build-arg CONTENTFUL_EXPERT_COMMUNITIES_PREVIEW_API_KEY= $CONTENTFUL_EXPERT_COMMUNITIES_PREVIEW_API_KEY \
46
+ --build-arg CONTENTFUL_ZURICH_SPACE_ID= $CONTENTFUL_ZURICH_SPACE_ID \
47
+ --build-arg CONTENTFUL_ZURICH_CDN_API_KEY= $CONTENTFUL_ZURICH_CDN_API_KEY \
48
+ --build-arg CONTENTFUL_ZURICH_PREVIEW_API_KEY= $CONTENTFUL_ZURICH_PREVIEW_API_KEY \
49
49
--build-arg CONTENTFUL_TOPGEAR_CDN_API_KEY=$CONTENTFUL_TOPGEAR_CDN_API_KEY \
50
50
--build-arg CONTENTFUL_TOPGEAR_PREVIEW_API_KEY=$CONTENTFUL_TOPGEAR_PREVIEW_API_KEY \
51
51
--build-arg CONTENTFUL_TOPGEAR_SPACE_ID=$CONTENTFUL_TOPGEAR_SPACE_ID \
File renamed without changes.
Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ module.exports = {
37
37
PREVIEW_API_KEY : 'CONTENTFUL_PREVIEW_API_KEY' ,
38
38
} ,
39
39
} ,
40
- expertCommunities : {
41
- SPACE_ID : 'CONTENTFUL_EXPERT_COMMUNITIES_SPACE_ID ' ,
40
+ zurich : {
41
+ SPACE_ID : 'CONTENTFUL_ZURICH_SPACE_ID ' ,
42
42
master : {
43
- CDN_API_KEY : 'CONTENTFUL_EXPERT_COMMUNITIES_CDN_API_KEY ' ,
44
- PREVIEW_API_KEY : 'CONTENTFUL_EXPERT_COMMUNITIES_PREVIEW_API_KEY ' ,
43
+ CDN_API_KEY : 'CONTENTFUL_ZURICH_CDN_API_KEY ' ,
44
+ PREVIEW_API_KEY : 'CONTENTFUL_ZURICH_PREVIEW_API_KEY ' ,
45
45
} ,
46
46
} ,
47
47
topgear : {
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ module.exports = {
163
163
} ,
164
164
} ,
165
165
/* Space for expert communities. */
166
- expertCommunities : {
166
+ zurich : {
167
167
SPACE_ID : '' ,
168
168
master : {
169
169
CDN_API_KEY : '' ,
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ export default function Catalog() {
7
7
query = { {
8
8
'fields.name' : 'CS Community - Catalog' ,
9
9
} }
10
- spaceName = "expertCommunities"
11
10
/>
12
11
) ;
13
12
}
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ export default function ChallengeListingBanner() {
12
12
} }
13
13
render = { d => d . entries . matches [ 0 ] . items . map ( id => < Banner id = { id } /> ) }
14
14
renderPlaceholder = { LoadingIndicator }
15
- spaceName = "expertCommunities"
16
15
/>
17
16
) ;
18
17
}
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ export default function Learn() {
15
15
query = { {
16
16
'fields.name' : 'CS Community - FAQ' ,
17
17
} }
18
- spaceName = "expertCommunities"
19
18
/>
20
19
) ;
21
20
}
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ export default function Home() {
7
7
query = { {
8
8
'fields.name' : 'CS Community - Home' ,
9
9
} }
10
- spaceName = "expertCommunities"
11
10
/>
12
11
) ;
13
12
}
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ export default function Home() {
7
7
query = { {
8
8
'fields.name' : 'CS Community - Learn' ,
9
9
} }
10
- spaceName = "expertCommunities"
11
10
/>
12
11
) ;
13
12
}
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export default function Catalog() {
7
7
query = { {
8
8
'fields.name' : 'Zurich Community - Catalog' ,
9
9
} }
10
+ spaceName = "zurich"
10
11
/>
11
12
) ;
12
13
}
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export default function ChallengeListingBanner() {
12
12
} }
13
13
render = { d => d . entries . matches [ 0 ] . items . map ( id => < Banner id = { id } /> ) }
14
14
renderPlaceholder = { LoadingIndicator }
15
+ spaceName = "zurich"
15
16
/>
16
17
) ;
17
18
}
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export default function Learn() {
15
15
query = { {
16
16
'fields.name' : 'Zurich Community - FAQ' ,
17
17
} }
18
+ spaceName = "zurich"
18
19
/>
19
20
) ;
20
21
}
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export default function Home() {
7
7
query = { {
8
8
'fields.name' : 'Zurich Community - Home' ,
9
9
} }
10
+ spaceName = "zurich"
10
11
/>
11
12
) ;
12
13
}
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export default function Home() {
7
7
query = { {
8
8
'fields.name' : 'Zurich Community - Learn' ,
9
9
} }
10
+ spaceName = "zurich"
10
11
/>
11
12
) ;
12
13
}
You can’t perform that action at this time.
0 commit comments