Skip to content

Commit 6182dba

Browse files
committed
add params to navi #6028
1 parent 48198a8 commit 6182dba

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

config/production.js

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ module.exports = {
6868

6969
ACCOUNT_MENU_SWITCH_TEXT: {
7070
title: 'Switch to BUSINESS',
71-
href: 'https://connect.topcoder.com',
71+
href: 'https://connect.topcoder.com?ref=nav',
7272
},
7373
HEADER_MENU: [
7474
{
7575
id: 'business',
7676
title: 'BUSINESS',
77-
href: 'https://www.topcoder.com',
77+
href: 'https://www.topcoder.com?ref=nav',
7878
},
7979
{
8080
id: 'community', // required for 'Switch to BUSINESS' to work
@@ -83,29 +83,29 @@ module.exports = {
8383
{
8484
id: 'home',
8585
title: 'Home',
86-
href: '/home',
86+
href: '/home?ref=nav',
8787
logged: true,
8888
},
8989
{
9090
id: 'myprofile',
9191
title: 'My Profile',
92-
href: '/members/willFilledByUserName',
92+
href: '/members/willFilledByUserName?ref=nav',
9393
logged: true,
9494
},
9595
{
9696
title: 'Payments',
97-
href: 'https://community.topcoder.com/PactsMemberServlet?module=PaymentHistory&full_list=false',
97+
href: 'https://community.topcoder.com/PactsMemberServlet?module=PaymentHistory&full_list=false&ref=nav',
9898
logged: true,
9999
openNewTab: true,
100100
},
101101
{
102102
title: 'Overview',
103-
href: '/community/learn',
103+
href: '/community/learn?ref=nav',
104104
logged: false,
105105
},
106106
{
107107
title: 'How It Works',
108-
href: '/thrive/tracks?track=Topcoder',
108+
href: '/thrive/tracks?track=Topcoder&ref=nav',
109109
logged: false,
110110
},
111111
],
@@ -115,19 +115,19 @@ module.exports = {
115115
subMenu: [
116116
{
117117
title: 'All Challenges',
118-
href: '/challenges',
118+
href: '/challenges?ref=nav',
119119
},
120120
{
121121
title: 'Competitive Programming',
122-
href: '/community/arena',
122+
href: '/community/arena?ref=nav',
123123
},
124124
{
125125
title: 'Gig Work',
126-
href: '/gigs',
126+
href: '/gigs?ref=nav',
127127
},
128128
{
129129
title: 'Practice',
130-
href: '/community/practice',
130+
href: '/community/practice?ref=nav',
131131
},
132132
],
133133
},
@@ -136,23 +136,23 @@ module.exports = {
136136
subMenu: [
137137
{
138138
title: 'Competitive Programming',
139-
href: '/thrive/tracks?track=Competitive%20Programming',
139+
href: '/thrive/tracks?track=Competitive%20Programming&ref=nav',
140140
},
141141
{
142142
title: 'Data Science',
143-
href: '/thrive/tracks?track=Data%20Science',
143+
href: '/thrive/tracks?track=Data%20Science&ref=nav',
144144
},
145145
{
146146
title: 'Design',
147-
href: '/thrive/tracks?track=Design',
147+
href: '/thrive/tracks?track=Design&ref=nav',
148148
},
149149
{
150150
title: 'Development',
151-
href: '/thrive/tracks?track=Development',
151+
href: '/thrive/tracks?track=Development&ref=nav',
152152
},
153153
{
154154
title: 'QA',
155-
href: '/thrive/tracks?track=QA',
155+
href: '/thrive/tracks?track=QA&ref=nav',
156156
},
157157
],
158158
},
@@ -161,34 +161,34 @@ module.exports = {
161161
subMenu: [
162162
{
163163
title: 'TCO',
164-
href: '/community/member-programs/topcoder-open',
164+
href: '/community/member-programs/topcoder-open?ref=nav',
165165
},
166166
{
167167
title: 'Programs',
168-
href: '/community/member-programs',
168+
href: '/community/member-programs?ref=nav',
169169
},
170170
{
171171
title: 'Forums',
172-
href: 'https://discussions.topcoder.com',
172+
href: 'https://discussions.topcoder.com?ref=nav',
173173
},
174174
{
175175
title: 'Statistics',
176-
href: '/community/statistics',
176+
href: '/community/statistics?ref=nav',
177177
},
178178
{
179179
title: 'Blog',
180-
href: 'https://www.topcoder.com/blog',
180+
href: 'https://www.topcoder.com/blog?ref=nav',
181181
openNewTab: true,
182182
},
183183
{
184184
title: 'Thrive',
185-
href: '/thrive',
185+
href: '/thrive?ref=nav',
186186
},
187187
],
188188
},
189189
{
190190
title: 'Discord',
191-
href: 'https://discord.gg/topcoder',
191+
href: 'https://discord.gg/topcoder?ref=nav',
192192
openNewTab: true,
193193
},
194194
],
@@ -202,17 +202,17 @@ module.exports = {
202202
ACCOUNT_MENU: [
203203
{
204204
title: 'Settings',
205-
href: '/settings/profile',
205+
href: '/settings/profile?ref=nav',
206206
},
207207
{ separator: true },
208208
{
209209
title: 'Help',
210-
href: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles',
210+
href: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles&ref=nav',
211211
},
212212
{ separator: true },
213213
{
214214
title: 'Log Out',
215-
href: 'https://www.topcoder.com/logout',
215+
href: 'https://www.topcoder.com/logout?ref=nav',
216216
},
217217
],
218218
// Config for TC EDU - THRIVE

0 commit comments

Comments
 (0)