Skip to content

Commit 15e9a77

Browse files
Merge pull request #2660 from topcoder-platform/issue_2406
Issue #2406 Fix
2 parents 640e2ba + 686aab1 commit 15e9a77

File tree

3 files changed

+264
-0
lines changed

3 files changed

+264
-0
lines changed

__tests__/shared/components/Header/__snapshots__/index.jsx.snap

+88
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,94 @@ exports[`Default render 1`] = `
1414
}
1515
menu={
1616
Array [
17+
Object {
18+
"id": "business",
19+
"subMenu": Array [
20+
Object {
21+
"subMenu": Array [
22+
Object {
23+
"href": "",
24+
"title": "All Solutions",
25+
},
26+
Object {
27+
"href": "",
28+
"title": "Apps",
29+
},
30+
Object {
31+
"href": "",
32+
"title": "Websites",
33+
},
34+
Object {
35+
"href": "",
36+
"title": "Product Design",
37+
},
38+
Object {
39+
"href": "",
40+
"title": "Development Tasks",
41+
},
42+
Object {
43+
"href": "",
44+
"title": "Analytics & Data Science",
45+
},
46+
Object {
47+
"href": "",
48+
"title": "Testing & QA",
49+
},
50+
Object {
51+
"href": "",
52+
"title": "How It Works",
53+
},
54+
],
55+
"title": "Solutions",
56+
},
57+
Object {
58+
"subMenu": Array [
59+
Object {
60+
"href": "",
61+
"title": "All Solutions",
62+
},
63+
],
64+
"title": "Enterprise Programs",
65+
},
66+
Object {
67+
"subMenu": Array [
68+
Object {
69+
"href": "",
70+
"title": "All Solutions",
71+
},
72+
],
73+
"title": "Customer Success",
74+
},
75+
Object {
76+
"subMenu": Array [
77+
Object {
78+
"href": "",
79+
"title": "All Solutions",
80+
},
81+
],
82+
"title": "Company",
83+
},
84+
Object {
85+
"subMenu": Array [
86+
Object {
87+
"href": "",
88+
"title": "All Solutions",
89+
},
90+
],
91+
"title": "Resources",
92+
},
93+
Object {
94+
"subMenu": Array [
95+
Object {
96+
"href": "",
97+
"title": "All Solutions",
98+
},
99+
],
100+
"title": "Blog",
101+
},
102+
],
103+
"title": "BUSINESS",
104+
},
17105
Object {
18106
"id": "community",
19107
"secondaryMenuForGuest": Array [

config/default.js

+88
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,94 @@ module.exports = {
214214

215215

216216
HEADER_MENU: [
217+
{
218+
id: 'business',
219+
title: 'BUSINESS',
220+
subMenu: [
221+
{
222+
title: 'Solutions',
223+
subMenu: [
224+
{
225+
title: 'All Solutions',
226+
href: '',
227+
},
228+
{
229+
title: 'Apps',
230+
href: '',
231+
},
232+
{
233+
title: 'Websites',
234+
href: '',
235+
},
236+
{
237+
title: 'Product Design',
238+
href: '',
239+
},
240+
{
241+
title: 'Development Tasks',
242+
href: '',
243+
},
244+
{
245+
title: 'Analytics & Data Science',
246+
href: '',
247+
},
248+
{
249+
title: 'Testing & QA',
250+
href: '',
251+
},
252+
{
253+
title: 'How It Works',
254+
href: '',
255+
},
256+
],
257+
},
258+
{
259+
title: 'Enterprise Programs',
260+
subMenu: [
261+
{
262+
title: 'All Solutions',
263+
href: '',
264+
},
265+
],
266+
},
267+
{
268+
title: 'Customer Success',
269+
subMenu: [
270+
{
271+
title: 'All Solutions',
272+
href: '',
273+
},
274+
],
275+
},
276+
{
277+
title: 'Company',
278+
subMenu: [
279+
{
280+
title: 'All Solutions',
281+
href: '',
282+
},
283+
],
284+
},
285+
{
286+
title: 'Resources',
287+
subMenu: [
288+
{
289+
title: 'All Solutions',
290+
href: '',
291+
},
292+
],
293+
},
294+
{
295+
title: 'Blog',
296+
subMenu: [
297+
{
298+
title: 'All Solutions',
299+
href: '',
300+
},
301+
],
302+
},
303+
],
304+
},
217305
{
218306
id: 'community', // required for 'Switch to BUSINESS' to work
219307
title: 'COMMUNITY',

config/production.js

+88
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,94 @@ module.exports = {
5757
SUBMISSION_CONTAINER: 'topcoder-submissions-dmz',
5858
},
5959
HEADER_MENU: [
60+
{
61+
id: 'business',
62+
title: 'BUSINESS',
63+
subMenu: [
64+
{
65+
title: 'Solutions',
66+
subMenu: [
67+
{
68+
title: 'All Solutions',
69+
href: '',
70+
},
71+
{
72+
title: 'Apps',
73+
href: '',
74+
},
75+
{
76+
title: 'Websites',
77+
href: '',
78+
},
79+
{
80+
title: 'Product Design',
81+
href: '',
82+
},
83+
{
84+
title: 'Development Tasks',
85+
href: '',
86+
},
87+
{
88+
title: 'Analytics & Data Science',
89+
href: '',
90+
},
91+
{
92+
title: 'Testing & QA',
93+
href: '',
94+
},
95+
{
96+
title: 'How It Works',
97+
href: '',
98+
},
99+
],
100+
},
101+
{
102+
title: 'Enterprise Programs',
103+
subMenu: [
104+
{
105+
title: 'All Solutions',
106+
href: '',
107+
},
108+
],
109+
},
110+
{
111+
title: 'Customer Success',
112+
subMenu: [
113+
{
114+
title: 'All Solutions',
115+
href: '',
116+
},
117+
],
118+
},
119+
{
120+
title: 'Company',
121+
subMenu: [
122+
{
123+
title: 'All Solutions',
124+
href: '',
125+
},
126+
],
127+
},
128+
{
129+
title: 'Resources',
130+
subMenu: [
131+
{
132+
title: 'All Solutions',
133+
href: '',
134+
},
135+
],
136+
},
137+
{
138+
title: 'Blog',
139+
subMenu: [
140+
{
141+
title: 'All Solutions',
142+
href: '',
143+
},
144+
],
145+
},
146+
],
147+
},
60148
{
61149
id: 'community', // required for 'Switch to BUSINESS' to work
62150
title: 'COMMUNITY',

0 commit comments

Comments
 (0)