Skip to content

Commit

Permalink
chore: Change EC logo & hide contacts & socials
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiggr committed Jul 14, 2023
1 parent 70cfe23 commit 1439e0b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ import HiddenWidget from '@eeacms/volto-forest-policy/components/manage/Widgets/

import AlignBlockWidget from '@eeacms/volto-forest-policy/components/manage/Widgets/Align';

import ecLogo from '@eeacms/volto-forest-policy/../theme/site/assets/images/Header/logo-ec.svg';

import {
NavigationPortlet,
DefaultPortlet,
Expand Down Expand Up @@ -160,6 +162,22 @@ export default function applyConfig(config) {
logoTargetUrl: '/',
};

config.settings.eea.footerOpts.logosHeader = 'Managed by';
config.settings.eea.footerOpts.managedBy[1] = {
url: 'https://commission.europa.eu',
src: ecLogo,
alt: 'European commission Logo',
className: 'commission logo',
columnSize: {
mobile: 6,
tablet: 12,
computer: 4,
},
};

config.settings.eea.footerOpts.contacts = [];
config.settings.eea.footerOpts.social = [];

config.views = {
...config.views,
errorViews: {
Expand Down
Loading

0 comments on commit 1439e0b

Please sign in to comment.