From e8c818097529b90c03da46d8aafa01cfbc90c6c4 Mon Sep 17 00:00:00 2001 From: David Ichim Date: Mon, 12 Jun 2023 17:31:30 +0300 Subject: [PATCH] change(footer): add managed logos header if logosHeader value is present - this way we can add a header also before the managed logos as required in Bise site --- src/config.js | 2 +- src/customizations/volto/components/theme/Footer/Footer.jsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index 0fa079b3..f56f4611 100644 --- a/src/config.js +++ b/src/config.js @@ -16,7 +16,7 @@ import climateLogo from '@eeacms/volto-eea-design-system/../theme/themes/eea/ass // Footer.jsx config options export const footerOpts = { header: 'Environmental information systems', - logosHeader: 'Managed by', + logosHeader: '', contactHeader: 'Contact Us', actions: [ { diff --git a/src/customizations/volto/components/theme/Footer/Footer.jsx b/src/customizations/volto/components/theme/Footer/Footer.jsx index e1f68fbb..0c93aadf 100644 --- a/src/customizations/volto/components/theme/Footer/Footer.jsx +++ b/src/customizations/volto/components/theme/Footer/Footer.jsx @@ -80,6 +80,7 @@ const Footer = () => { return ( + {eea.footerOpts.logosHeader} {eea.footerOpts.header}