aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/sympatia
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/sympatia
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/sympatia')
-rw-r--r--recipes/sympatia/icon.svg49
-rw-r--r--recipes/sympatia/index.js1
-rw-r--r--recipes/sympatia/package.json9
-rw-r--r--recipes/sympatia/webview.js16
4 files changed, 75 insertions, 0 deletions
diff --git a/recipes/sympatia/icon.svg b/recipes/sympatia/icon.svg
new file mode 100644
index 0000000..a6b100d
--- /dev/null
+++ b/recipes/sympatia/icon.svg
@@ -0,0 +1,49 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 520.32 520.32">
3 <defs>
4 <style>
5 .cls-1 {
6 fill: url(#linear-gradient-2);
7 }
8
9 .cls-2 {
10 fill: url(#radial-gradient);
11 }
12
13 .cls-3 {
14 fill: none;
15 }
16
17 .cls-4 {
18 fill: url(#linear-gradient-3);
19 }
20
21 .cls-5 {
22 fill: url(#linear-gradient);
23 }
24 </style>
25 <radialGradient id="radial-gradient" cx="1058.88" cy="-800.54" fx="1058.88" fy="-800.54" r="101.67" gradientTransform="translate(116.05 -1234.25) rotate(35.04) scale(1 -1.37)" gradientUnits="userSpaceOnUse">
26 <stop offset=".6" stop-color="#cc1d5a"/>
27 <stop offset="1" stop-color="#941b4e"/>
28 </radialGradient>
29 <linearGradient id="linear-gradient" x1="76.96" y1="-25.37" x2="362.43" y2="-25.37" gradientTransform="translate(-1.42 234.8) scale(1 -1)" gradientUnits="userSpaceOnUse">
30 <stop offset=".16" stop-color="#ef453e"/>
31 <stop offset=".42" stop-color="#f05337"/>
32 <stop offset=".65" stop-color="#f15b31"/>
33 </linearGradient>
34 <linearGradient id="linear-gradient-2" x1="78.64" y1="76.22" x2="412.5" y2="76.22" xlink:href="#linear-gradient"/>
35 <linearGradient id="linear-gradient-3" x1="136.9" y1="80.89" x2="253.07" y2="39.63" gradientTransform="translate(-1.42 234.8) scale(1 -1)" gradientUnits="userSpaceOnUse">
36 <stop offset="0" stop-color="#941b4e"/>
37 <stop offset=".47" stop-color="#cc1d5a"/>
38 </linearGradient>
39 </defs>
40 <g id="Layer_1-2" data-name="Layer 1">
41 <rect class="cls-3" width="520.32" height="520.32"/>
42 <g>
43 <path class="cls-2" d="m378.48,152.06c-25.35.67-56.04,16.01-73.06,37.03,9.01-10.34,19.68-18.35,33.69-20.02,16.35-2.34,28.02.67,37.7,11.34,29.02,33.03-20.02,79.06-39.36,102.75-13.01,15.68-43.03,48.37-53.38,58.71-1,1.33-8.67,10.68-24.02,10.68-11.01,0-18.01-4.67-21.68-8.01,20.68,20.68,47.04,36.36,77.06,36.36,7.67,0,15.35-1.33,22.35-3.67,2.67-2.67,5.34-5.34,8.01-8.34,22.35-23.69,43.03-48.71,63.38-74.06,13.34-16.68,26.02-33.36,33.36-53.71,4.34-12.01,6.67-24.35,6.34-37.03-8.67-30.69-37.03-53.04-70.39-52.04h0Z"/>
44 <path class="cls-5" d="m198.67,112.03c6.67-.33,13.01,0,19.35.67-40.03-16.35-91.41-8.67-119.76,24.35-13.68,15.68-21.02,31.02-24.69,47.37-4,19.35-2.34,38.36,4.34,56.71,7.34,20.02,20.02,37.03,33.36,53.71,20.35,25.35,41.03,50.37,63.38,74.06,12.34,13.34,26.02,26.69,42.03,35.69,7.67,4.34,22.68,11.34,43.7,11.34s36.03-7.01,43.7-11.34c12.68-7.01,23.69-17.01,34.03-27.69-7.01,2.34-14.34,3.67-22.35,3.67-30.36,0-56.38-15.68-77.06-36.36-1.67-1.33-2.67-2.67-3-3-10.34-10.34-39.7-42.37-52.71-58.05-11.34-13.68-32.69-35.03-42.7-57.38-7.01-11.68-11.34-26.02-11.68-40.03-1.33-39.36,30.69-71.72,70.06-73.72Z"/>
45 <path class="cls-1" d="m446.87,184.42c-3.67-16.01-11.01-31.36-24.69-47.37-33.36-38.7-98.41-42.7-139.44-13.68-4.34,3-8.01,6.67-12.01,10.01-.67.67-1.33,1-1.67,1.67-4,4-17.35,17.68-26.02,28.02-10.01,11.68-19.02,20.68-22.68,23.69-1.67,1.33-3.67,2-5.67,2.34,12.34,13.68,26.02,23.69,45.04,23.69s33.03-10.01,45.04-23.69c17.01-21.02,47.37-36.36,73.06-37.03,33.36-.67,61.72,21.35,70.39,52.04.67-6.67,0-13.01-1.33-19.68Z"/>
46 <path class="cls-4" d="m243.37,163.4c8.67-10.34,19.35-21.02,20.68-22.68-1,1-2,2-3.67,2s-2.67-1-3.67-2c-2-2-3.67-4-7.34-7.34-3.67-3.67-7.67-7.01-12.01-10.01-6-4.34-12.68-8.01-19.68-10.68-6.34-.67-12.68-1-19.35-.67-39.36,2-71.39,34.36-70.39,73.72.33,14.01,4.67,28.02,11.68,40.03-7.34-15.68-8.67-31.69,3.34-45.37,9.67-11.01,21.35-13.68,37.7-11.34,14.01,2,24.69,10.01,33.69,20.35,2.34-.33,4-1,5.67-2.34,4.34-3,13.34-11.68,23.35-23.69Z"/>
47 </g>
48 </g>
49</svg> \ No newline at end of file
diff --git a/recipes/sympatia/index.js b/recipes/sympatia/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/sympatia/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/sympatia/package.json b/recipes/sympatia/package.json
new file mode 100644
index 0000000..c1cdb96
--- /dev/null
+++ b/recipes/sympatia/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "sympatia",
3 "name": "Sympatia",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://sympatia.onet.pl/"
8 }
9}
diff --git a/recipes/sympatia/webview.js b/recipes/sympatia/webview.js
new file mode 100644
index 0000000..2a81dec
--- /dev/null
+++ b/recipes/sympatia/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};