@crowdin/app-project-module 0.98.0-cf-9 → 0.98.0-cf-10
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/out/views/AboutPage.js +2 -14
- package/package.json +1 -1
package/out/views/AboutPage.js
CHANGED
|
@@ -58,22 +58,10 @@ const AboutPage = ({ name, logo, manifest, storeLink }) => (react_1.default.crea
|
|
|
58
58
|
react_1.default.createElement("div", { className: "mb-3" },
|
|
59
59
|
react_1.default.createElement("label", { htmlFor: "manifest-url", className: "form-label" }, "Paste the following manifest URL when prompted during manual installation:"),
|
|
60
60
|
react_1.default.createElement("div", { className: "input-group" },
|
|
61
|
-
react_1.default.createElement("input", { type: "text", className: "form-control", id: "manifest-url", value: manifest, readOnly: true }),
|
|
62
|
-
react_1.default.createElement("button", { className: "btn btn-outline-secondary", type: "button", id: "copy-button" }, "Copy"))),
|
|
61
|
+
react_1.default.createElement("input", { type: "text", className: "form-control", id: "manifest-url", value: manifest, readOnly: true }))),
|
|
63
62
|
storeLink && (react_1.default.createElement("div", null,
|
|
64
63
|
"Read more about",
|
|
65
64
|
' ',
|
|
66
65
|
react_1.default.createElement("a", { href: storeLink, target: "_blank", title: `${name} on Crowdin Store` }, name),
|
|
67
|
-
"."))))))
|
|
68
|
-
react_1.default.createElement("script", { dangerouslySetInnerHTML: {
|
|
69
|
-
__html: `
|
|
70
|
-
document.getElementById('copy-button').addEventListener('click', async () => {
|
|
71
|
-
const text = document.getElementById('manifest-url').value;
|
|
72
|
-
await navigator.clipboard.writeText(text);
|
|
73
|
-
const btn = document.getElementById('copy-button');
|
|
74
|
-
btn.textContent = 'Copied!';
|
|
75
|
-
setTimeout(() => btn.textContent = 'Copy', 1500);
|
|
76
|
-
});
|
|
77
|
-
`,
|
|
78
|
-
} }))));
|
|
66
|
+
".")))))))));
|
|
79
67
|
exports.AboutPage = AboutPage;
|
package/package.json
CHANGED