diff --git a/demo-invenioils/ui/src/overridableMapping.js b/demo-invenioils/ui/src/overridableMapping.js index 0f2b240..f88474d 100644 --- a/demo-invenioils/ui/src/overridableMapping.js +++ b/demo-invenioils/ui/src/overridableMapping.js @@ -4,6 +4,7 @@ import { } from './overridden/components/Menu'; import { LoginDocs } from './overridden/authentication/Login'; import { FeaturesRoute } from './overridden/routes/FrontsiteUrls'; +import { CustomBanner } from './overridden/CustomBanner'; export const overriddenCmps = { 'SectionsWrapper.servicesInstallationSections': () => null, @@ -11,4 +12,7 @@ export const overriddenCmps = { 'ILSMenu.RightMenuItemsMobile': RightMenuItemMobile, 'Login.layout.extras': LoginDocs, 'FrontSite.CustomRoute': FeaturesRoute, + 'Login.extras': CustomBanner, + 'BackOffice.extras': CustomBanner, + 'FrontSite.extras': CustomBanner, }; diff --git a/demo-invenioils/ui/src/overridden/CustomBanner.js b/demo-invenioils/ui/src/overridden/CustomBanner.js new file mode 100644 index 0000000..0e1d54e --- /dev/null +++ b/demo-invenioils/ui/src/overridden/CustomBanner.js @@ -0,0 +1,15 @@ +import React from 'react'; +import { Message } from 'semantic-ui-react'; + +export const CustomBanner = () => { + return ( + +
This is the Invenio ILS demo instance: data might be periodically deleted and recreated.', + }} + /> + + ); +};