@comicrelief/component-library 7.23.3 → 7.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Atoms/SocialIcons/Utils/Icons.js +2 -2
- package/dist/components/Atoms/SocialIcons/assets/x-logo.svg +3 -0
- package/dist/components/Organisms/ImpactSlider/_utils.js +1 -6
- package/package.json +1 -1
- package/src/components/Atoms/SocialIcons/Utils/Icons.js +1 -1
- package/src/components/Atoms/SocialIcons/assets/x-logo.svg +3 -0
- package/src/components/Organisms/ImpactSlider/_utils.js +1 -5
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _facebook = _interopRequireDefault(require("../assets/facebook.svg"));
|
|
9
|
-
var
|
|
9
|
+
var _xLogo = _interopRequireDefault(require("../assets/x-logo.svg"));
|
|
10
10
|
var _youtube = _interopRequireDefault(require("../assets/youtube.svg"));
|
|
11
11
|
var _instagram = _interopRequireDefault(require("../assets/instagram.svg"));
|
|
12
12
|
var _default = exports.default = {
|
|
13
13
|
facebook: _facebook.default,
|
|
14
14
|
instagram: _instagram.default,
|
|
15
|
-
twitter:
|
|
15
|
+
twitter: _xLogo.default,
|
|
16
16
|
youtube: _youtube.default
|
|
17
17
|
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="1200" height="1227" viewBox="0 0 1200 1227" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill="white"/>
|
|
3
|
+
</svg>
|
|
@@ -19,12 +19,7 @@ var handleSubmission = function handleSubmission(amount, donateLink, cartID, row
|
|
|
19
19
|
var thisMatch = currentpageUrl.match(reg)[0];
|
|
20
20
|
currentpageUrl = currentpageUrl.substring(0, currentpageUrl.indexOf(thisMatch));
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
// - Q: do we need client IDs? A: 99% of examples just use 'donate' (or 'test' for staging)
|
|
24
|
-
//
|
|
25
|
-
// - I guess we still need rowID for the back-browsing scroll stuff?
|
|
26
|
-
// - TO-DO: add in said scroll stuff
|
|
27
|
-
var forwardingUrl = "".concat(donateLink, "/?cartID=").concat(cartID, "&amount=").concat(amount, "&clientOverride=donate¤cy=GBP&givingType=single&affiliate=").concat(affiliateValue, "&siteurl=").concat(currentpageUrl, "&rowID=").concat(rowID);
|
|
22
|
+
var forwardingUrl = "".concat(donateLink, "/?cartId=").concat(cartID, "&amount=").concat(amount, "&clientOverride=donate¤cy=GBP&givingType=single&affiliate=").concat(affiliateValue, "&siteurl=").concat(currentpageUrl, "&rowID=").concat(rowID);
|
|
28
23
|
window.location.href = forwardingUrl;
|
|
29
24
|
};
|
|
30
25
|
var _default = exports.default = handleSubmission;
|
package/package.json
CHANGED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="1200" height="1227" viewBox="0 0 1200 1227" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill="white"/>
|
|
3
|
+
</svg>
|
|
@@ -20,11 +20,7 @@ const handleSubmission = (amount, donateLink, cartID, rowID) => {
|
|
|
20
20
|
currentpageUrl = currentpageUrl.substring(0, currentpageUrl.indexOf(thisMatch));
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
//
|
|
25
|
-
// - I guess we still need rowID for the back-browsing scroll stuff?
|
|
26
|
-
// - TO-DO: add in said scroll stuff
|
|
27
|
-
const forwardingUrl = `${donateLink}/?cartID=${cartID}&amount=${amount}&clientOverride=donate¤cy=GBP&givingType=single&affiliate=${affiliateValue}&siteurl=${currentpageUrl}&rowID=${rowID}`;
|
|
23
|
+
const forwardingUrl = `${donateLink}/?cartId=${cartID}&amount=${amount}&clientOverride=donate¤cy=GBP&givingType=single&affiliate=${affiliateValue}&siteurl=${currentpageUrl}&rowID=${rowID}`;
|
|
28
24
|
|
|
29
25
|
window.location.href = forwardingUrl;
|
|
30
26
|
};
|