aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Victor B <39555268+victorbnl@users.noreply.github.com>2023-07-20 01:31:47 +0200
committerLibravatar GitHub <noreply@github.com>2023-07-20 05:01:47 +0530
commit32432733d86e3d6598bafa1ff58502152adc24ba (patch)
tree829b05acc0437903f6206f89e3e1a4aeeed0a88d
parentOpen Telegram links within Ferdium (#394) (diff)
downloadferdium-recipes-32432733d86e3d6598bafa1ff58502152adc24ba.tar.gz
ferdium-recipes-32432733d86e3d6598bafa1ff58502152adc24ba.tar.zst
ferdium-recipes-32432733d86e3d6598bafa1ff58502152adc24ba.zip
Add Miro recipe (#392)
-rw-r--r--recipes/miro/icon.svg1
-rw-r--r--recipes/miro/index.js1
-rw-r--r--recipes/miro/package.json9
-rw-r--r--recipes/miro/webview.js9
4 files changed, 20 insertions, 0 deletions
diff --git a/recipes/miro/icon.svg b/recipes/miro/icon.svg
new file mode 100644
index 0000000..69d840c
--- /dev/null
+++ b/recipes/miro/icon.svg
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 48 48" viewBox="0 0 48 48"><path d="M10.4 0h27.2C43.3 0 48 4.7 48 10.4v27.2C48 43.3 43.3 48 37.6 48H10.4C4.7 48 0 43.3 0 37.6V10.4C0 4.7 4.7 0 10.4 0z" style="fill:#ffd02f"/><path d="M33.3 6H28l4.4 7.7L22.8 6h-5.3l4.8 9.4-10-9.4H7l5.3 12L7 42h5.3l10.1-25.7L17.5 42h5.3l9.7-27.4L28.1 42h5.3L43 12l-9.7-6z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#050038"/></svg>
diff --git a/recipes/miro/index.js b/recipes/miro/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/miro/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/miro/package.json b/recipes/miro/package.json
new file mode 100644
index 0000000..18adc17
--- /dev/null
+++ b/recipes/miro/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "miro",
3 "name": "Miro",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://miro.com/app/dashboard/"
8 }
9}
diff --git a/recipes/miro/webview.js b/recipes/miro/webview.js
new file mode 100644
index 0000000..56a20b6
--- /dev/null
+++ b/recipes/miro/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};