Skip to content

Commit

Permalink
Added more improvements about frontend configurations for QA #33
Browse files Browse the repository at this point in the history
  • Loading branch information
alfadestroyer committed Jul 23, 2023
1 parent c715e27 commit 47ea5c8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion frontend/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"paths": {},
"baseUrl": "src"
}
}
}
18 changes: 9 additions & 9 deletions frontend/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
*/

import SocialSharing from '@codesyntax/volto-social-sharing/SocialSharing';
import {DEFAULT_SOCIAL} from '@codesyntax/volto-social-sharing/defaultSettings';
import { DEFAULT_SOCIAL } from '@codesyntax/volto-social-sharing/defaultSettings';

// All your imports required for the config here BEFORE this line
import '@plone/volto/config';

// Push new item
DEFAULT_SOCIAL.push({
name: "Instagram",
fa_name: ["fab", "instagram"],
color: "#c8232c",
sharing_url: "http://instagram.com/?url=",
id: "pt"
name: 'Instagram',
fa_name: ['fab', 'instagram'],
color: '#c8232c',
sharing_url: 'http://instagram.com/?url=',
id: 'pt',
});

export default function applyConfig(config) {
Expand All @@ -39,9 +39,9 @@ export default function applyConfig(config) {
{
match: '',
component: SocialSharing,
props:{
socialElements: DEFAULT_SOCIAL
}
props: {
socialElements: DEFAULT_SOCIAL,
},
},
],
};
Expand Down
16 changes: 9 additions & 7 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12497,7 +12497,6 @@ __metadata:
stylelint-config-idiomatic-order: 8.1.0
stylelint-config-prettier: 8.0.1
stylelint-prettier: 1.1.2
volto-authomatic: "github:collective/volto-authomatic#main"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -25852,12 +25851,15 @@ __metadata:
languageName: node
linkType: hard

"volto-authomatic@github:collective/volto-authomatic#main":
version: 1.3.0
resolution: "volto-authomatic@https://github.com/collective/volto-authomatic.git#commit=05ff301e3ce04019dcf52a7e8c66f6cbd6135843"
peerDependencies:
"@plone/volto": ">=13.8.0"
checksum: 49ec731502b8f7c4317e08499e5103b4701d8bc478ef1da3450a4e1aeb917604343f0f1ece062e68fbbe59f9c95de754c049ca45e95a7b074b3c36f3f1d6fd29
"vm2@npm:^3.9.19":
version: 3.9.19
resolution: "vm2@npm:3.9.19"
dependencies:
acorn: ^8.7.0
acorn-walk: ^8.2.0
bin:
vm2: bin/vm2
checksum: fc6cf553134145cd7bb5246985bf242b056e3fb5ea71e2eef6710b2a5d6c6119cc6bc960435ff62480ee82efb43369be8f4db07b6690916ae7d3b2e714f395d8
languageName: node
linkType: hard

Expand Down

0 comments on commit 47ea5c8

Please sign in to comment.