Skip to content

Issue #2406 Fix #2660

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions __tests__/shared/components/Header/__snapshots__/index.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,94 @@ exports[`Default render 1`] = `
}
menu={
Array [
Object {
"id": "business",
"subMenu": Array [
Object {
"subMenu": Array [
Object {
"href": "",
"title": "All Solutions",
},
Object {
"href": "",
"title": "Apps",
},
Object {
"href": "",
"title": "Websites",
},
Object {
"href": "",
"title": "Product Design",
},
Object {
"href": "",
"title": "Development Tasks",
},
Object {
"href": "",
"title": "Analytics & Data Science",
},
Object {
"href": "",
"title": "Testing & QA",
},
Object {
"href": "",
"title": "How It Works",
},
],
"title": "Solutions",
},
Object {
"subMenu": Array [
Object {
"href": "",
"title": "All Solutions",
},
],
"title": "Enterprise Programs",
},
Object {
"subMenu": Array [
Object {
"href": "",
"title": "All Solutions",
},
],
"title": "Customer Success",
},
Object {
"subMenu": Array [
Object {
"href": "",
"title": "All Solutions",
},
],
"title": "Company",
},
Object {
"subMenu": Array [
Object {
"href": "",
"title": "All Solutions",
},
],
"title": "Resources",
},
Object {
"subMenu": Array [
Object {
"href": "",
"title": "All Solutions",
},
],
"title": "Blog",
},
],
"title": "BUSINESS",
},
Object {
"id": "community",
"secondaryMenuForGuest": Array [
Expand Down
88 changes: 88 additions & 0 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,94 @@ module.exports = {


HEADER_MENU: [
{
id: 'business',
title: 'BUSINESS',
subMenu: [
{
title: 'Solutions',
subMenu: [
{
title: 'All Solutions',
href: '',
},
{
title: 'Apps',
href: '',
},
{
title: 'Websites',
href: '',
},
{
title: 'Product Design',
href: '',
},
{
title: 'Development Tasks',
href: '',
},
{
title: 'Analytics & Data Science',
href: '',
},
{
title: 'Testing & QA',
href: '',
},
{
title: 'How It Works',
href: '',
},
],
},
{
title: 'Enterprise Programs',
subMenu: [
{
title: 'All Solutions',
href: '',
},
],
},
{
title: 'Customer Success',
subMenu: [
{
title: 'All Solutions',
href: '',
},
],
},
{
title: 'Company',
subMenu: [
{
title: 'All Solutions',
href: '',
},
],
},
{
title: 'Resources',
subMenu: [
{
title: 'All Solutions',
href: '',
},
],
},
{
title: 'Blog',
subMenu: [
{
title: 'All Solutions',
href: '',
},
],
},
],
},
{
id: 'community', // required for 'Switch to BUSINESS' to work
title: 'COMMUNITY',
Expand Down
88 changes: 88 additions & 0 deletions config/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,94 @@ module.exports = {
SUBMISSION_CONTAINER: 'topcoder-submissions-dmz',
},
HEADER_MENU: [
{
id: 'business',
title: 'BUSINESS',
subMenu: [
{
title: 'Solutions',
subMenu: [
{
title: 'All Solutions',
href: '',
},
{
title: 'Apps',
href: '',
},
{
title: 'Websites',
href: '',
},
{
title: 'Product Design',
href: '',
},
{
title: 'Development Tasks',
href: '',
},
{
title: 'Analytics & Data Science',
href: '',
},
{
title: 'Testing & QA',
href: '',
},
{
title: 'How It Works',
href: '',
},
],
},
{
title: 'Enterprise Programs',
subMenu: [
{
title: 'All Solutions',
href: '',
},
],
},
{
title: 'Customer Success',
subMenu: [
{
title: 'All Solutions',
href: '',
},
],
},
{
title: 'Company',
subMenu: [
{
title: 'All Solutions',
href: '',
},
],
},
{
title: 'Resources',
subMenu: [
{
title: 'All Solutions',
href: '',
},
],
},
{
title: 'Blog',
subMenu: [
{
title: 'All Solutions',
href: '',
},
],
},
],
},
{
id: 'community', // required for 'Switch to BUSINESS' to work
title: 'COMMUNITY',
Expand Down