Skip to content

Commit

Permalink
Merge pull request #80 from CMCuritiba/79-testar-volto-social-sharing
Browse files Browse the repository at this point in the history
79 testar volto social sharing
  • Loading branch information
acpj21 authored Feb 9, 2024
2 parents 1348407 + 84962fc commit ca6feaa
Show file tree
Hide file tree
Showing 3 changed files with 427 additions and 31 deletions.
2 changes: 2 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"addons": [
"@eeacms/volto-eea-kitkat",
"@kitconcept/volto-slider-block",
"@codesyntax/volto-social-sharing",
"volto-extranet-cmc"
],
"jest": {
Expand Down Expand Up @@ -141,6 +142,7 @@
"node": "^16 || ^18 || ^20"
},
"dependencies": {
"@codesyntax/volto-social-sharing": "*",
"@eeacms/volto-eea-kitkat": "*",
"@kitconcept/volto-slider-block": "*",
"@plone/volto": "17.6.1"
Expand Down
11 changes: 11 additions & 0 deletions frontend/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,18 @@
// [Internal] All the imports of modules required for the configuration *must* happen
// here BEFORE the following line
import '@plone/volto/config';
import SocialSharing from '@codesyntax/volto-social-sharing/SocialSharing';

export default function applyConfig(config) {
config.settings = {
...config.settings,
appExtras: [
...config.settings.appExtras,
{
match: '',
component: SocialSharing,
},
],
};
return config;
}
Loading

0 comments on commit ca6feaa

Please sign in to comment.