Skip to content

Commit

Permalink
Adiciona SocialSharing.
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiroluz committed Feb 8, 2024
1 parent 1348407 commit 45f9d5b
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 45f9d5b

Please sign in to comment.