|
1 | 1 | module.exports = {
|
2 | 2 | API: {
|
3 |
| - V2: "https://api.topcoder.com/v2", |
4 |
| - V3: "https://api.topcoder.com/v3", |
5 |
| - V4: "https://api.topcoder.com/v4", |
6 |
| - V5: "https://api.topcoder.com/v5", |
| 3 | + V2: 'https://api.topcoder.com/v2', |
| 4 | + V3: 'https://api.topcoder.com/v3', |
| 5 | + V4: 'https://api.topcoder.com/v4', |
| 6 | + V5: 'https://api.topcoder.com/v5', |
7 | 7 | },
|
8 | 8 | AUTH0: {
|
9 |
| - DOMAIN: "topcoder.auth0.com", |
| 9 | + DOMAIN: 'topcoder.auth0.com', |
10 | 10 | },
|
11 | 11 | CDN: {
|
12 |
| - PUBLIC: "https://community-app-cdn.topcoder.com", |
| 12 | + PUBLIC: 'https://community-app-cdn.topcoder.com', |
13 | 13 | },
|
14 | 14 | COOKIES: {
|
15 | 15 | MAXAGE: 7,
|
16 | 16 | SECURE: true,
|
17 | 17 | },
|
18 |
| - LOG_ENTRIES_TOKEN: "", |
19 |
| - SERVER_API_KEY: "aa9ccf36-3936-450c-9983-097ddba51bef", |
20 |
| - GOOGLE_ANALYTICS_ID: "UA-6340959-1", |
| 18 | + LOG_ENTRIES_TOKEN: '', |
| 19 | + SERVER_API_KEY: 'aa9ccf36-3936-450c-9983-097ddba51bef', |
| 20 | + GOOGLE_ANALYTICS_ID: 'UA-6340959-1', |
21 | 21 | URL: {
|
22 |
| - ARENA: "https://arena.topcoder.com", |
23 |
| - APP: "https://community-app.topcoder.com", |
| 22 | + ARENA: 'https://arena.topcoder.com', |
| 23 | + APP: 'https://community-app.topcoder.com', |
24 | 24 |
|
25 | 25 | /* This is the same value as above, but it is used by topcoder-react-lib,
|
26 | 26 | * as a more verbose name for the param. */
|
27 |
| - COMMUNITY_APP: "https://community-app.topcoder.com", |
| 27 | + COMMUNITY_APP: 'https://community-app.topcoder.com', |
28 | 28 |
|
29 |
| - AUTH: "https://accounts-auth0.topcoder.com", |
30 |
| - BASE: "https://www.topcoder.com", |
31 |
| - HOME: "/my-dashboard", |
32 |
| - COMMUNITY: "https://community.topcoder.com", |
33 |
| - FORUMS: "https://apps.topcoder.com/forums", |
34 |
| - FORUMS_VANILLA: "https://discussions.topcoder.com", |
35 |
| - HELP: "https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles", |
36 |
| - SUBMISSION_REVIEW: "https://submission-review.topcoder.com", |
37 |
| - MEMBER: "https://member.topcoder.com", |
38 |
| - ONLINE_REVIEW: "https://software.topcoder.com", |
39 |
| - PAYMENT_TOOL: "https://payment.topcoder.com", |
40 |
| - STUDIO: "https://studio.topcoder.com", |
41 |
| - IOS: "https://ios.topcoder.com", |
| 29 | + AUTH: 'https://accounts-auth0.topcoder.com', |
| 30 | + BASE: 'https://www.topcoder.com', |
| 31 | + HOME: '/my-dashboard', |
| 32 | + COMMUNITY: 'https://community.topcoder.com', |
| 33 | + FORUMS: 'https://apps.topcoder.com/forums', |
| 34 | + FORUMS_VANILLA: 'https://discussions.topcoder.com', |
| 35 | + HELP: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles', |
| 36 | + SUBMISSION_REVIEW: 'https://submission-review.topcoder.com', |
| 37 | + MEMBER: 'https://member.topcoder.com', |
| 38 | + ONLINE_REVIEW: 'https://software.topcoder.com', |
| 39 | + PAYMENT_TOOL: 'https://payment.topcoder.com', |
| 40 | + STUDIO: 'https://studio.topcoder.com', |
| 41 | + IOS: 'https://ios.topcoder.com', |
42 | 42 |
|
43 | 43 | /* Connector URL of the TC accounts App. */
|
44 |
| - ACCOUNTS_APP_CONNECTOR: "https://accounts-auth0.topcoder.com/", |
45 |
| - TCO17: "https://tco17.topcoder.com/", |
46 |
| - TCO19: "https://tco19.topcoder.com/", |
| 44 | + ACCOUNTS_APP_CONNECTOR: 'https://accounts-auth0.topcoder.com/', |
| 45 | + TCO17: 'https://tco17.topcoder.com/', |
| 46 | + TCO19: 'https://tco19.topcoder.com/', |
47 | 47 |
|
48 |
| - TOPGEAR: "https://topgear-app.wipro.com", |
| 48 | + TOPGEAR: 'https://topgear-app.wipro.com', |
49 | 49 |
|
50 |
| - COMMUNITY_API: "http://localhost:8000", |
| 50 | + COMMUNITY_API: 'http://localhost:8000', |
51 | 51 |
|
52 | 52 | COMMUNITIES: {
|
53 |
| - BLOCKCHAIN: "https://blockchain.topcoder.com", |
54 |
| - COGNITIVE: "https://cognitive.topcoder.com", |
55 |
| - ZURICH: "https://zurich.topcoder.com", |
56 |
| - COMCAST: "https://comcast.topcoder.com", |
57 |
| - CS: "https://cs.topcoder.com", |
| 53 | + BLOCKCHAIN: 'https://blockchain.topcoder.com', |
| 54 | + COGNITIVE: 'https://cognitive.topcoder.com', |
| 55 | + ZURICH: 'https://zurich.topcoder.com', |
| 56 | + COMCAST: 'https://comcast.topcoder.com', |
| 57 | + CS: 'https://cs.topcoder.com', |
58 | 58 | },
|
59 |
| - EMAIL_VERIFY_URL: "http://www.topcoder.com/settings/account/changeEmail", |
| 59 | + EMAIL_VERIFY_URL: 'http://www.topcoder.com/settings/account/changeEmail', |
60 | 60 | },
|
61 | 61 | /* Filestack configuration for uploading Submissions
|
62 | 62 | * These are for the production back end */
|
63 | 63 | FILESTACK: {
|
64 |
| - SUBMISSION_CONTAINER: "topcoder-submissions-dmz", |
| 64 | + SUBMISSION_CONTAINER: 'topcoder-submissions-dmz', |
65 | 65 | },
|
66 | 66 |
|
67 | 67 | ACCOUNT_MENU_SWITCH_TEXT: {
|
68 |
| - title: "Switch to BUSINESS", |
69 |
| - href: "https://connect.topcoder.com", |
| 68 | + title: 'Switch to BUSINESS', |
| 69 | + href: 'https://connect.topcoder.com', |
70 | 70 | },
|
71 | 71 | HEADER_MENU: [
|
72 | 72 | {
|
73 |
| - id: "business", |
74 |
| - title: "BUSINESS", |
75 |
| - href: "https://www.topcoder.com", |
| 73 | + id: 'business', |
| 74 | + title: 'BUSINESS', |
| 75 | + href: 'https://www.topcoder.com', |
76 | 76 | },
|
77 | 77 | {
|
78 |
| - id: "community", // required for 'Switch to BUSINESS' to work |
79 |
| - title: "COMMUNITY", |
| 78 | + id: 'community', // required for 'Switch to BUSINESS' to work |
| 79 | + title: 'COMMUNITY', |
80 | 80 | secondaryMenu: [
|
81 | 81 | {
|
82 |
| - title: "Dashboard", |
83 |
| - href: "/my-dashboard", |
| 82 | + title: 'Dashboard', |
| 83 | + href: '/my-dashboard', |
84 | 84 | logged: true,
|
85 | 85 | },
|
86 | 86 | {
|
87 |
| - id: "myprofile", |
88 |
| - title: "My Profile", |
89 |
| - href: "/members/willFilledByUserName", |
| 87 | + id: 'myprofile', |
| 88 | + title: 'My Profile', |
| 89 | + href: '/members/willFilledByUserName', |
90 | 90 | logged: true,
|
91 | 91 | },
|
92 | 92 | {
|
93 |
| - title: "Payments", |
94 |
| - href: "https://community.topcoder.com/PactsMemberServlet?module=PaymentHistory&full_list=false", |
| 93 | + title: 'Payments', |
| 94 | + href: 'https://community.topcoder.com/PactsMemberServlet?module=PaymentHistory&full_list=false', |
95 | 95 | logged: true,
|
96 | 96 | openNewTab: true,
|
97 | 97 | },
|
98 | 98 | {
|
99 |
| - title: "Overview", |
100 |
| - href: "/community/learn", |
| 99 | + title: 'Overview', |
| 100 | + href: '/community/learn', |
101 | 101 | logged: false,
|
102 | 102 | },
|
103 | 103 | {
|
104 |
| - title: "How It Works", |
105 |
| - href: "/thrive/tracks?track=Topcoder", |
| 104 | + title: 'How It Works', |
| 105 | + href: '/thrive/tracks?track=Topcoder', |
106 | 106 | logged: false,
|
107 | 107 | },
|
108 | 108 | ],
|
109 | 109 | subMenu: [
|
110 | 110 | {
|
111 |
| - title: "Compete", |
| 111 | + title: 'Compete', |
112 | 112 | subMenu: [
|
113 | 113 | {
|
114 |
| - title: "All Challenges", |
115 |
| - href: "/challenges", |
| 114 | + title: 'All Challenges', |
| 115 | + href: '/challenges', |
116 | 116 | },
|
117 | 117 | {
|
118 |
| - title: "Competitive Programming", |
119 |
| - href: "/community/arena", |
| 118 | + title: 'Competitive Programming', |
| 119 | + href: '/community/arena', |
120 | 120 | },
|
121 | 121 | {
|
122 |
| - title: "Gig Work", |
123 |
| - href: "/gigs", |
| 122 | + title: 'Gig Work', |
| 123 | + href: '/gigs', |
124 | 124 | },
|
125 | 125 | {
|
126 |
| - title: "Practice", |
127 |
| - href: "/community/practice", |
| 126 | + title: 'Practice', |
| 127 | + href: '/community/practice', |
128 | 128 | },
|
129 | 129 | ],
|
130 | 130 | },
|
131 | 131 | {
|
132 |
| - title: "Tracks", |
| 132 | + title: 'Tracks', |
133 | 133 | subMenu: [
|
134 | 134 | {
|
135 |
| - title: "Competitive Programming", |
136 |
| - href: "/thrive/tracks?track=Competitive%20Programming", |
| 135 | + title: 'Competitive Programming', |
| 136 | + href: '/thrive/tracks?track=Competitive%20Programming', |
137 | 137 | },
|
138 | 138 | {
|
139 |
| - title: "Data Science", |
140 |
| - href: "/thrive/tracks?track=Data%20Science&tax=", |
| 139 | + title: 'Data Science', |
| 140 | + href: '/thrive/tracks?track=Data%20Science&tax=', |
141 | 141 | },
|
142 | 142 | {
|
143 |
| - title: "Design", |
144 |
| - href: "/thrive/tracks?track=Design&tax=", |
| 143 | + title: 'Design', |
| 144 | + href: '/thrive/tracks?track=Design&tax=', |
145 | 145 | },
|
146 | 146 | {
|
147 |
| - title: "Development", |
148 |
| - href: "/thrive/tracks?track=Development&tax=", |
| 147 | + title: 'Development', |
| 148 | + href: '/thrive/tracks?track=Development&tax=', |
149 | 149 | },
|
150 | 150 | {
|
151 |
| - title: "QA", |
152 |
| - href: "/thrive/tracks?track=QA&tax=", |
| 151 | + title: 'QA', |
| 152 | + href: '/thrive/tracks?track=QA&tax=', |
153 | 153 | },
|
154 | 154 | ],
|
155 | 155 | },
|
156 | 156 | {
|
157 |
| - title: "Explore", |
| 157 | + title: 'Explore', |
158 | 158 | subMenu: [
|
159 | 159 | {
|
160 |
| - title: "TCO", |
161 |
| - href: "/community/member-programs/topcoder-open", |
| 160 | + title: 'TCO', |
| 161 | + href: '/community/member-programs/topcoder-open', |
162 | 162 | },
|
163 | 163 | {
|
164 |
| - title: "Programs", |
165 |
| - href: "/community/member-programs", |
| 164 | + title: 'Programs', |
| 165 | + href: '/community/member-programs', |
166 | 166 | },
|
167 | 167 | {
|
168 |
| - title: "Forums", |
169 |
| - href: "https://discussions.topcoder.com", |
| 168 | + title: 'Forums', |
| 169 | + href: 'https://discussions.topcoder.com', |
170 | 170 | },
|
171 | 171 | {
|
172 |
| - title: "Statistics", |
173 |
| - href: "/community/statistics", |
| 172 | + title: 'Statistics', |
| 173 | + href: '/community/statistics', |
174 | 174 | },
|
175 | 175 | {
|
176 |
| - title: "Blog", |
177 |
| - href: "https://www.topcoder.com/blog", |
| 176 | + title: 'Blog', |
| 177 | + href: 'https://www.topcoder.com/blog', |
178 | 178 | openNewTab: true,
|
179 | 179 | },
|
180 | 180 | {
|
181 |
| - title: "Thrive", |
182 |
| - href: "/thrive", |
| 181 | + title: 'Thrive', |
| 182 | + href: '/thrive', |
183 | 183 | },
|
184 | 184 | ],
|
185 | 185 | },
|
186 | 186 | ],
|
187 | 187 | },
|
188 | 188 | ],
|
189 |
| - HEADER_MENU_THEME: "light", |
| 189 | + HEADER_MENU_THEME: 'light', |
190 | 190 | HEADER_AUTH_URLS: {
|
191 |
| - href: "https://accounts-auth0.topcoder.com?utm_source=community-app-main", |
192 |
| - location: |
193 |
| - "https://accounts-auth0.topcoder.com?retUrl=%S&utm_source=community-app-main", |
| 191 | + href: 'https://accounts-auth0.topcoder.com?utm_source=community-app-main', |
| 192 | + location: 'https://accounts-auth0.topcoder.com?retUrl=%S&utm_source=community-app-main', |
194 | 193 | },
|
195 | 194 | ACCOUNT_MENU: [
|
196 | 195 | {
|
197 |
| - title: "Settings", |
198 |
| - href: "/settings/profile", |
| 196 | + title: 'Settings', |
| 197 | + href: '/settings/profile', |
199 | 198 | },
|
200 | 199 | { separator: true },
|
201 | 200 | {
|
202 |
| - title: "Help", |
203 |
| - href: "https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles", |
| 201 | + title: 'Help', |
| 202 | + href: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles', |
204 | 203 | },
|
205 | 204 | { separator: true },
|
206 | 205 | {
|
207 |
| - title: "Log Out", |
208 |
| - href: "https://www.topcoder.com/logout", |
| 206 | + title: 'Log Out', |
| 207 | + href: 'https://www.topcoder.com/logout', |
209 | 208 | },
|
210 | 209 | ],
|
211 | 210 | // Config for TC EDU - THRIVE
|
212 |
| - TC_EDU_BASE_PATH: "/thrive", |
213 |
| - TC_EDU_TRACKS_PATH: "/tracks", |
214 |
| - TC_EDU_ARTICLES_PATH: "/articles", |
215 |
| - TC_EDU_SEARCH_PATH: "/search", |
| 211 | + TC_EDU_BASE_PATH: '/thrive', |
| 212 | + TC_EDU_TRACKS_PATH: '/tracks', |
| 213 | + TC_EDU_ARTICLES_PATH: '/articles', |
| 214 | + TC_EDU_SEARCH_PATH: '/search', |
216 | 215 | TC_EDU_SEARCH_BAR_MAX_RESULTS_EACH_GROUP: 3,
|
217 | 216 | ENABLE_RECOMMENDER: true,
|
218 |
| - PLATFORM_SITE_URL: "https://platform.topcoder.com", |
| 217 | + PLATFORM_SITE_URL: 'https://platform.topcoder.com', |
219 | 218 | };
|
0 commit comments