diff options
author | langdon <langdon@fedoraproject.org> | 2022-07-23 23:41:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-24 03:41:29 +0000 |
commit | 3c47f9a2876d2cce65e031f4f569554848c65013 (patch) | |
tree | 054a9b3dafc1c60512d8297dcefc16289a97e411 | |
parent | docs: add langdon as a contributor for doc [skip ci] (#133) (diff) | |
download | ferdium-recipes-3c47f9a2876d2cce65e031f4f569554848c65013.tar.gz ferdium-recipes-3c47f9a2876d2cce65e031f4f569554848c65013.tar.zst ferdium-recipes-3c47f9a2876d2cce65e031f4f569554848c65013.zip |
adding a recipe for 'tick' (https://tickspot.com) (#132)
-rw-r--r-- | recipes/tick/icon.svg | 6 | ||||
-rw-r--r-- | recipes/tick/index.js | 1 | ||||
-rw-r--r-- | recipes/tick/package.json | 9 | ||||
-rw-r--r-- | recipes/tick/webview.js | 11 |
4 files changed, 27 insertions, 0 deletions
diff --git a/recipes/tick/icon.svg b/recipes/tick/icon.svg new file mode 100644 index 0000000..ccb7f46 --- /dev/null +++ b/recipes/tick/icon.svg | |||
@@ -0,0 +1,6 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1024px" height="1024px" viewBox="0 0 1024 1024" version="1.1"> | ||
3 | <g id="surface1"> | ||
4 | <path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 402.890625 12.007812 C 130.164062 69.984375 -48.917969 350.078125 11.871094 622.820312 C 80.050781 926.59375 402.890625 1100.53125 696.15625 991.105469 C 819.378906 944.558594 917.132812 856.367188 973.8125 738.777344 C 1015.710938 650.585938 1027.210938 602.40625 1027.210938 507.679688 C 1027.210938 369.675781 977.921875 252.085938 879.34375 154.09375 C 751.195312 25.890625 577.863281 -25.554688 402.890625 12.007812 Z M 788.984375 350.078125 L 788.984375 431.738281 L 713.40625 431.738281 C 671.511719 431.738281 632.082031 435.003906 627.152344 438.269531 C 619.757812 443.167969 616.472656 497.882812 614.832031 648.136719 L 612.367188 852.285156 L 415.214844 852.285156 L 412.75 648.136719 C 411.105469 497.882812 407.820312 443.167969 400.425781 438.269531 C 395.496094 435.003906 356.066406 431.738281 314.992188 431.738281 L 238.597656 431.738281 L 238.597656 355.792969 C 238.597656 313.332031 241.0625 276.585938 244.347656 274.132812 C 246.8125 270.867188 370.855469 268.417969 519.539062 268.417969 L 788.984375 268.417969 Z M 788.984375 350.078125 "/> | ||
5 | </g> | ||
6 | </svg> | ||
diff --git a/recipes/tick/index.js b/recipes/tick/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/tick/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = Ferdium => Ferdium; | |||
diff --git a/recipes/tick/package.json b/recipes/tick/package.json new file mode 100644 index 0000000..2c1356f --- /dev/null +++ b/recipes/tick/package.json | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "id": "tick", | ||
3 | "name": "tick", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "http://app.tickspot.com/" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/tick/webview.js b/recipes/tick/webview.js new file mode 100644 index 0000000..8101672 --- /dev/null +++ b/recipes/tick/webview.js | |||
@@ -0,0 +1,11 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: not sure what "notify" would be useful for this app | ||
9 | |||
10 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
11 | }; | ||