Skip to content

Commit 84a0ae5

Browse files
authored
Merge pull request topcoder-platform#2731 from topcoder-platform/develop-from-master-23may
Contentful fixes and updates
2 parents e81c94d + 52e0b0d commit 84a0ae5

File tree

22 files changed

+1320
-211
lines changed

22 files changed

+1320
-211
lines changed

config/default.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,41 @@ module.exports = {
211211
GRANT_TYPE: '',
212212
},
213213
},
214+
SECONDARY_MENU_FOR_LOGGED_USER: [
215+
{
216+
title: 'Dashboard',
217+
href: '/my-dashboard',
218+
},
219+
{
220+
id: 'myprofile',
221+
title: 'My Profile',
222+
href: '/members/',
223+
},
224+
{
225+
title: 'Payments',
226+
href: 'https://community.topcoder-dev.com/PactsMemberServlet?module=PaymentHistory&full_list=false',
227+
},
228+
],
229+
SECONDARY_MENU_FOR_GUEST: [
230+
{
231+
title: 'Overview',
232+
href: 'https://www.topcoder-dev.com/about',
233+
},
234+
{
235+
title: 'How It Works',
236+
href: 'https://www.topcoder-dev.com/how-it-works/faqs/',
237+
},
238+
{
239+
title: 'Tracks',
240+
href: '/community/learn',
241+
},
242+
{
243+
title: 'Why Join',
244+
href: 'https://www.topcoder-dev.com/about/why-crowdsourcing/',
245+
},
246+
],
247+
ACCOUNT_MENU_SWITCH_TEXT: {
248+
title: 'Switch to BUSINESS',
249+
href: 'https://connect.topcoder-dev.com',
250+
},
214251
};

config/production.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,41 @@ module.exports = {
5656
FILESTACK: {
5757
SUBMISSION_CONTAINER: 'topcoder-submissions-dmz',
5858
},
59+
SECONDARY_MENU_FOR_LOGGED_USER: [
60+
{
61+
title: 'Dashboard',
62+
href: '/my-dashboard',
63+
},
64+
{
65+
id: 'myprofile',
66+
title: 'My Profile',
67+
href: '/members/',
68+
},
69+
{
70+
title: 'Payments',
71+
href: 'https://community.topcoder.com/PactsMemberServlet?module=PaymentHistory&full_list=false',
72+
},
73+
],
74+
SECONDARY_MENU_FOR_GUEST: [
75+
{
76+
title: 'Overview',
77+
href: 'https://www.topcoder.com/about',
78+
},
79+
{
80+
title: 'How It Works',
81+
href: 'https://www.topcoder.com/how-it-works/faqs/',
82+
},
83+
{
84+
title: 'Tracks',
85+
href: '/community/learn',
86+
},
87+
{
88+
title: 'Why Join',
89+
href: 'https://www.topcoder.com/about/why-crowdsourcing/',
90+
},
91+
],
92+
ACCOUNT_MENU_SWITCH_TEXT: {
93+
title: 'Switch to BUSINESS',
94+
href: 'https://connect.topcoder.com',
95+
},
5996
};

0 commit comments

Comments
 (0)