@yourself_id/siwys-react-js 0.0.28-sapp-118-documentation.0 → 0.0.28
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/README.md +12 -118
- package/dist/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -949,6 +949,14 @@ var Box = styled5.div(_templateObject13(), function(props) {
|
|
|
949
949
|
});
|
|
950
950
|
var DownloadApp = function(param) {
|
|
951
951
|
var ref = _object_destructuring_empty(param);
|
|
952
|
+
var openIOSLink = function() {
|
|
953
|
+
var url = "https://apps.apple.com/app/id.yourself.selfid";
|
|
954
|
+
window.open(url, "_blank");
|
|
955
|
+
};
|
|
956
|
+
var openAndroidLink = function() {
|
|
957
|
+
var url = "https://play.google.com/store/apps/details?id=prod.id.yourself.selfid";
|
|
958
|
+
window.open(url, "_blank");
|
|
959
|
+
};
|
|
952
960
|
return /* @__PURE__ */ React16.createElement(Wrapper2, null, /* @__PURE__ */ React16.createElement(Header2, null, /* @__PURE__ */ React16.createElement("h3", null, "Get", " ", /* @__PURE__ */ React16.createElement("span", {
|
|
953
961
|
style: {
|
|
954
962
|
color: "#D8EE4F"
|
|
@@ -970,18 +978,14 @@ var DownloadApp = function(param) {
|
|
|
970
978
|
})), /* @__PURE__ */ React16.createElement(AppleAppStore_default, {
|
|
971
979
|
width: "8rem",
|
|
972
980
|
height: "2.5rem",
|
|
973
|
-
onClick:
|
|
974
|
-
return console.log("TODO: Update with iOS App URL");
|
|
975
|
-
},
|
|
981
|
+
onClick: openIOSLink,
|
|
976
982
|
style: {
|
|
977
983
|
cursor: "pointer"
|
|
978
984
|
}
|
|
979
985
|
}), /* @__PURE__ */ React16.createElement(GooglePlayStore_default, {
|
|
980
986
|
width: "8rem",
|
|
981
987
|
height: "2.5rem",
|
|
982
|
-
onClick:
|
|
983
|
-
return console.log("TODO: Update with Google Play URL");
|
|
984
|
-
},
|
|
988
|
+
onClick: openAndroidLink,
|
|
985
989
|
style: {
|
|
986
990
|
cursor: "pointer"
|
|
987
991
|
}
|