From 686aab1063abe22afd8da24e0653172ec7a0c479 Mon Sep 17 00:00:00 2001 From: "Luiz R. Rodrigues" Date: Tue, 25 Jun 2019 03:58:53 -0300 Subject: [PATCH] Issue #2406 Fix --- .../Header/__snapshots__/index.jsx.snap | 88 +++++++++++++++++++ config/default.js | 88 +++++++++++++++++++ config/production.js | 88 +++++++++++++++++++ 3 files changed, 264 insertions(+) diff --git a/__tests__/shared/components/Header/__snapshots__/index.jsx.snap b/__tests__/shared/components/Header/__snapshots__/index.jsx.snap index 7c31a23b27..a55ac69eb1 100644 --- a/__tests__/shared/components/Header/__snapshots__/index.jsx.snap +++ b/__tests__/shared/components/Header/__snapshots__/index.jsx.snap @@ -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 [ diff --git a/config/default.js b/config/default.js index ed97e88a4f..878e9ce673 100644 --- a/config/default.js +++ b/config/default.js @@ -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', diff --git a/config/production.js b/config/production.js index 7cd425e837..ae8dae4369 100644 --- a/config/production.js +++ b/config/production.js @@ -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',