diff options
author | André Oliveira <37463445+SpecialAro@users.noreply.github.com> | 2024-03-18 12:36:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-18 12:36:05 +0000 |
commit | 006950318f1228af10eeb0cdfb0861af6ecb1e75 (patch) | |
tree | d61c790d4a4b9f6f16620f645b2ba5dce248f79d /recipes/fandom | |
parent | Google Voice darkmode update for add contact (#516) (diff) | |
download | ferdium-recipes-006950318f1228af10eeb0cdfb0861af6ecb1e75.tar.gz ferdium-recipes-006950318f1228af10eeb0cdfb0861af6ecb1e75.tar.zst ferdium-recipes-006950318f1228af10eeb0cdfb0861af6ecb1e75.zip |
Add several recipes (#519)
The added recipes are as follows:
- Mastodeck (fixes https://github.com/ferdium/ferdium-app/issues/959)
- Microsoft Planner (fixes https://github.com/ferdium/ferdium-app/issues/955)
- Alibaba Chat (fixes https://github.com/ferdium/ferdium-app/issues/1376)
- Fiverr (step forward in https://github.com/ferdium/ferdium-app/issues/1377 - missing unread logic)
- Draw.io (fixes https://github.com/ferdium/ferdium-app/issues/1429)
- Canva (fixes https://github.com/ferdium/ferdium-app/issues/1447)
- Penpot (fixes https://github.com/ferdium/ferdium-app/issues/1469)
- HackerNews (fixes https://github.com/ferdium/ferdium-app/issues/1505)
- Google Maps (fixes https://github.com/ferdium/ferdium-app/issues/1513)
- Patreon (fixes https://github.com/ferdium/ferdium-app/issues/1524)
- Fandom (fixes https://github.com/ferdium/ferdium-app/issues/1540)
- Romeo (fixes https://github.com/ferdium/ferdium-app/issues/1553)
- Infomaniak Kdrive (fixes https://github.com/ferdium/ferdium-app/issues/1559)
- Notion Calendar (fixes https://github.com/ferdium/ferdium-app/issues/1599)
- Superlist (fixes https://github.com/ferdium/ferdium-app/issues/1601)
- Purelymail (fixes https://github.com/ferdium/ferdium-app/issues/1624)
- SOGo (fixes https://github.com/ferdium/ferdium-app/issues/1472)
Diffstat (limited to 'recipes/fandom')
-rw-r--r-- | recipes/fandom/icon.svg | 21 | ||||
-rw-r--r-- | recipes/fandom/index.js | 1 | ||||
-rw-r--r-- | recipes/fandom/package.json | 9 | ||||
-rw-r--r-- | recipes/fandom/webview.js | 16 |
4 files changed, 47 insertions, 0 deletions
diff --git a/recipes/fandom/icon.svg b/recipes/fandom/icon.svg new file mode 100644 index 0000000..96959d6 --- /dev/null +++ b/recipes/fandom/icon.svg | |||
@@ -0,0 +1,21 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Generator: Adobe Illustrator 28.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | ||
3 | <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | ||
4 | viewBox="0 0 155 155" style="enable-background:new 0 0 155 155;" xml:space="preserve"> | ||
5 | <style type="text/css"> | ||
6 | .st0{fill:#FA005A;} | ||
7 | .st1{fill:#FFC500;} | ||
8 | </style> | ||
9 | <g> | ||
10 | <path class="st0" d="M128.75,75.7L53.85,0.81c-0.39-0.39-0.88-0.65-1.41-0.76C51.9-0.05,51.34,0,50.84,0.21s-0.94,0.56-1.24,1.01 | ||
11 | s-0.47,0.99-0.47,1.53v62.97L26.44,43.06c-0.39-0.39-0.88-0.65-1.42-0.76c-0.54-0.11-1.09-0.05-1.6,0.16 | ||
12 | c-0.51,0.21-0.94,0.56-1.24,1.02c-0.3,0.46-0.47,0.99-0.47,1.54v65.02c0,2.04,0.39,4.05,1.17,5.94c0.78,1.88,1.92,3.59,3.36,5.03 | ||
13 | l29.52,29.47c2.91,2.89,6.84,4.52,10.94,4.53h21.6c4.1,0,8.03-1.63,10.93-4.53l29.52-29.47c1.44-1.44,2.58-3.14,3.35-5.02 | ||
14 | c0.78-1.88,1.17-3.89,1.17-5.92V86.64c0-2.03-0.4-4.05-1.18-5.92C131.34,78.84,130.19,77.13,128.75,75.7L128.75,75.7z"/> | ||
15 | <path class="st1" d="M105.91,103.12c0,1.23-0.49,2.4-1.36,3.27l-23.78,23.87c-0.43,0.43-0.94,0.78-1.51,1.01 | ||
16 | c-0.57,0.23-1.17,0.36-1.78,0.36s-1.22-0.12-1.78-0.36c-0.56-0.24-1.08-0.58-1.51-1.01l-23.73-23.9c-0.86-0.86-1.35-2.02-1.37-3.24 | ||
17 | v-9.11c0-0.61,0.12-1.21,0.36-1.78c0.23-0.56,0.58-1.07,1.01-1.5l8.55-8.55c0.87-0.87,2.05-1.36,3.28-1.36 | ||
18 | c1.23,0,2.41,0.49,3.28,1.36l11.94,11.95l11.92-11.95c0.87-0.87,2.05-1.36,3.28-1.36c1.23,0,2.41,0.49,3.28,1.36l8.53,8.55 | ||
19 | c0.43,0.43,0.78,0.94,1.01,1.5c0.23,0.56,0.36,1.17,0.36,1.78L105.91,103.12L105.91,103.12z"/> | ||
20 | </g> | ||
21 | </svg> | ||
diff --git a/recipes/fandom/index.js b/recipes/fandom/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/fandom/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = Ferdium => Ferdium; | |||
diff --git a/recipes/fandom/package.json b/recipes/fandom/package.json new file mode 100644 index 0000000..318d761 --- /dev/null +++ b/recipes/fandom/package.json | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "id": "fandom", | ||
3 | "name": "Fandom", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://www.fandom.com" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/fandom/webview.js b/recipes/fandom/webview.js new file mode 100644 index 0000000..2a81dec --- /dev/null +++ b/recipes/fandom/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
9 | // const getMessages = () => { | ||
10 | // // TODO: Insert your notification-finding code here | ||
11 | // Ferdium.setBadge(0, 0); | ||
12 | // }; | ||
13 | // Ferdium.loop(getMessages); | ||
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
16 | }; | ||