aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/awork
diff options
context:
space:
mode:
authorLibravatar S Wulf <DustRaven@users.noreply.github.com>2023-05-15 01:19:35 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-15 00:19:35 +0100
commitaad356e2f38c3933a09438fe61dfd93b46541410 (patch)
treebff6994d131d8655528a1282423f3dd04fa05f8e /recipes/awork
parentfix(ci): version bump check when new recipe and multiple commits (#362) (diff)
downloadferdium-recipes-aad356e2f38c3933a09438fe61dfd93b46541410.tar.gz
ferdium-recipes-aad356e2f38c3933a09438fe61dfd93b46541410.tar.zst
ferdium-recipes-aad356e2f38c3933a09438fe61dfd93b46541410.zip
Add awork recipe (#355)
Diffstat (limited to 'recipes/awork')
-rw-r--r--recipes/awork/icon.svg3
-rw-r--r--recipes/awork/index.js1
-rw-r--r--recipes/awork/package.json11
-rw-r--r--recipes/awork/webview.js9
4 files changed, 24 insertions, 0 deletions
diff --git a/recipes/awork/icon.svg b/recipes/awork/icon.svg
new file mode 100644
index 0000000..4e43027
--- /dev/null
+++ b/recipes/awork/icon.svg
@@ -0,0 +1,3 @@
1<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024">
2 <path fill="#fff" fill-rule="evenodd" stroke="#091a34" d="M642.493 862.316v142.53c0 13.163-13.594 21.69-25.077 15.726L512 965.834l-105.414 54.738c-11.48 5.963-25.08-2.563-25.08-15.726v-142.53c0-13.164 13.6-21.69 25.08-15.727L512 901.327l130.493-39.011zM512 0c36.802 0 66.635 29.871 66.635 66.72 0 26.924-15.934 50.106-38.87 60.648v94.575h133.844c140.53 0 254.86 114.478 254.86 255.187v67.868c0 140.709-114.33 255.183-254.86 255.183H350.394c-140.53 0-254.862-114.474-254.862-255.183V477.13c0-140.71 114.331-255.187 254.862-255.187h133.841v-94.575c-22.933-10.542-38.87-33.724-38.87-60.648C445.365 29.87 475.198 0 512 0zm161.61 360.943H350.393c-64.087 0-116.04 52.019-116.04 116.187v67.868c0 64.167 51.953 116.184 116.04 116.184h323.215c64.086 0 116.037-52.017 116.037-116.184V477.13c0-64.168-51.95-116.187-116.037-116.187zm-289.327 83.266c36.802 0 66.635 29.87 66.635 66.72s-29.833 66.72-66.635 66.72c-36.802 0-66.635-29.872-66.635-66.72s29.833-66.72 66.635-66.72zm255.434 0c36.802 0 66.635 29.87 66.635 66.72s-29.833 66.72-66.635 66.72c-36.802 0-66.635-29.872-66.635-66.72s29.833-66.72 66.635-66.72z"/>
3</svg> \ No newline at end of file
diff --git a/recipes/awork/index.js b/recipes/awork/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/awork/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/awork/package.json b/recipes/awork/package.json
new file mode 100644
index 0000000..fb221cd
--- /dev/null
+++ b/recipes/awork/package.json
@@ -0,0 +1,11 @@
1{
2 "id": "awork",
3 "name": "Awork",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://{teamId}.awork.io",
8 "hasTeamId": true,
9 "urlInputSuffix": ".awork.io"
10 }
11} \ No newline at end of file
diff --git a/recipes/awork/webview.js b/recipes/awork/webview.js
new file mode 100644
index 0000000..46366f4
--- /dev/null
+++ b/recipes/awork/webview.js
@@ -0,0 +1,9 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9}; \ No newline at end of file