diff --git a/frontend/packages/portalbrasil-intranet/news/1.feature b/frontend/packages/portalbrasil-intranet/news/1.feature new file mode 100644 index 0000000..37efad3 --- /dev/null +++ b/frontend/packages/portalbrasil-intranet/news/1.feature @@ -0,0 +1 @@ +Habilita VLibras por padrão em todas as páginas da Intranet [@ericof] diff --git a/frontend/packages/portalbrasil-intranet/src/index.js b/frontend/packages/portalbrasil-intranet/src/index.js index 30ecf01..3df6859 100644 --- a/frontend/packages/portalbrasil-intranet/src/index.js +++ b/frontend/packages/portalbrasil-intranet/src/index.js @@ -1,6 +1,9 @@ // Bookmarks import Bookmarking from './components/Bookmarking/Bookmarking'; +// VLibras +import Libras from '@plonegovbr/volto-vlibras/components/Libras'; + // Blocks /// Listing block variations import ProfilesTemplate from './components/Blocks/Listing/ProfilesGridTemplate'; @@ -138,13 +141,17 @@ const applyConfig = (config) => { 'News Item': ['title', 'description', 'leadimage'], }; - // Bookmarks + // Habilita Bookmarks e VLibras config.settings.appExtras = [ ...config.settings.appExtras, { match: '/', component: Bookmarking, }, + { + match: '', + component: Libras, + }, ]; //Reducers