aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/badoo
diff options
context:
space:
mode:
authorLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2023-10-19 01:23:01 +0100
committerLibravatar GitHub <noreply@github.com>2023-10-19 01:23:01 +0100
commit5438c4606943d02c3286af727d3b483a9a290768 (patch)
treed497f332ed74b38c0e190e35eef1faa7ac42ba10 /recipes/badoo
parentInstagram fix (#1403) (#443) (diff)
downloadferdium-recipes-5438c4606943d02c3286af727d3b483a9a290768.tar.gz
ferdium-recipes-5438c4606943d02c3286af727d3b483a9a290768.tar.zst
ferdium-recipes-5438c4606943d02c3286af727d3b483a9a290768.zip
Add multiple recipes (#444)
Diffstat (limited to 'recipes/badoo')
-rw-r--r--recipes/badoo/icon.svg19
-rw-r--r--recipes/badoo/index.js1
-rw-r--r--recipes/badoo/package.json9
-rw-r--r--recipes/badoo/webview.js16
4 files changed, 45 insertions, 0 deletions
diff --git a/recipes/badoo/icon.svg b/recipes/badoo/icon.svg
new file mode 100644
index 0000000..69229e3
--- /dev/null
+++ b/recipes/badoo/icon.svg
@@ -0,0 +1,19 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3<svg version="1.1"
4 id="svg4525" inkscape:version="0.92.1 r15371" sodipodi:docname="BADOO.svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg"
5 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128.8 128.8"
6 style="enable-background:new 0 0 128.8 128.8;" xml:space="preserve">
7<style type="text/css">
8 .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#783BF9;}
9 .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#F99DF0;}
10</style>
11<sodipodi:namedview bordercolor="#666666" borderopacity="1.0" fit-margin-bottom="0" fit-margin-left="0" fit-margin-right="0" fit-margin-top="0" id="base" inkscape:current-layer="layer1" inkscape:cx="449.73135" inkscape:cy="344.53354" inkscape:document-units="mm" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:showpageshadow="false" inkscape:window-height="715" inkscape:window-maximized="1" inkscape:window-width="1366" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:zoom="0.436992" pagecolor="#ffffff" showgrid="false" units="px">
12 </sodipodi:namedview>
13<path class="st0" d="M44.9,0h39.1c12.9,0,19.4,0,26.4,2.2c7.6,2.8,13.6,8.8,16.3,16.3c2.2,7,2.2,13.4,2.2,26.4v39
14 c0,12.9,0,19.4-2.2,26.4c-2.8,7.6-8.8,13.6-16.3,16.3c-7,2.2-13.4,2.2-26.4,2.2h-39c-12.9,0-19.4,0-26.4-2.2
15 C11,123.9,5,117.9,2.2,110.3C0,103.3,0,96.8,0,83.9v-39C0,32,0,25.5,2.2,18.6C5,11,11,5,18.6,2.2C25.5,0,32,0,44.9,0"/>
16<path class="st1" d="M90.5,55.8c0,14.3-11.5,26-25.9,26c-0.1,0-0.1,0-0.2,0c-14.3,0.1-26-11.4-26.1-25.8c0-0.1,0-0.2,0-0.3V55h9.2
17 v0.8c0,9.3,7.6,16.9,16.9,16.9s16.9-7.6,16.9-16.9V55h9.2V55.8z M86.3,30.2c-9.3-0.3-17.9,5-21.9,13.5c-4-8.5-12.6-13.8-21.9-13.5
18 c-13.5,0.2-24.3,11.1-24.4,24.6c0,26.5,25.4,47.9,46.3,47.9s46.3-21.5,46.3-47.9C110.7,41.2,99.4,30.2,86.3,30.2z"/>
19</svg>
diff --git a/recipes/badoo/index.js b/recipes/badoo/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/badoo/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/badoo/package.json b/recipes/badoo/package.json
new file mode 100644
index 0000000..5e1d978
--- /dev/null
+++ b/recipes/badoo/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "badoo",
3 "name": "Badoo",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://badoo.com"
8 }
9}
diff --git a/recipes/badoo/webview.js b/recipes/badoo/webview.js
new file mode 100644
index 0000000..2a81dec
--- /dev/null
+++ b/recipes/badoo/webview.js
@@ -0,0 +1,16 @@
1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
4
5const _path = _interopRequireDefault(require('path'));
6
7module.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};