Skip to content

Commit

Permalink
add mega menu layout settings as #259794 said
Browse files Browse the repository at this point in the history
  • Loading branch information
dobri1408 committed Nov 14, 2023
1 parent 58a48d2 commit 1ec7939
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,25 @@ export default function applyConfig(config) {
},
};

// mega menu layout settings
config.settings.menuItemsLayouts = {
'/policy-and-reporting': {
hideChildrenFromNavigation: false,
},
'/topics': {
hideChildrenFromNavigation: false,
},
'/countries': {
menuItemColumns: ['eight wide column', 'four wide column'],
menuItemChildrenListColumns: [5, 2],
appendExtraMenuItemsToLastColumn: true,
hideChildrenFromNavigation: false,
},
'/resources': {
hideChildrenFromNavigation: false,
},
};

// EEA customizations
config.settings.eea = {
...(config.settings.eea || {}),
Expand Down

0 comments on commit 1ec7939

Please sign in to comment.