aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dick Tang <dick.tang@ymail.com>2023-09-03 08:35:35 +0800
committerLibravatar GitHub <noreply@github.com>2023-09-03 01:35:35 +0100
commit948bbe30694c09a7d58e669dc654c5b0a41f5cb1 (patch)
tree8a4867cc6213d0b4df0cb2a2e93484b651014455
parentadd meiphoo7-Mae as a contributor for code (#414) (diff)
downloadferdium-recipes-948bbe30694c09a7d58e669dc654c5b0a41f5cb1.tar.gz
ferdium-recipes-948bbe30694c09a7d58e669dc654c5b0a41f5cb1.tar.zst
ferdium-recipes-948bbe30694c09a7d58e669dc654c5b0a41f5cb1.zip
new recipes: poe (#410)
-rw-r--r--recipes/poe/icon.svg74
-rw-r--r--recipes/poe/index.js1
-rw-r--r--recipes/poe/package.json9
-rw-r--r--recipes/poe/webview.js9
4 files changed, 93 insertions, 0 deletions
diff --git a/recipes/poe/icon.svg b/recipes/poe/icon.svg
new file mode 100644
index 0000000..5473bcb
--- /dev/null
+++ b/recipes/poe/icon.svg
@@ -0,0 +1,74 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Generator: Adobe Illustrator 27.4.1, 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 256 256" style="enable-background:new 0 0 256 256;" xml:space="preserve">
5<style type="text/css">
6
7 .st0{clip-path:url(#SVGID_00000133527875262486821400000001153180155358611075_);fill:url(#SVGID_00000103267335179042386410000005078162319280924838_);}
8 .st1{clip-path:url(#SVGID_00000133527875262486821400000001153180155358611075_);}
9 .st2{clip-path:url(#SVGID_00000002381985252449150410000003368820002510750851_);fill:none;}
10 .st3{fill:#FFFFFF;}
11</style>
12<g>
13 <defs>
14 <path id="SVGID_1_" d="M85.33,0h85.33C217.79,0,256,38.21,256,85.33v85.33c0,47.13-38.21,85.33-85.33,85.33H85.33
15 C38.21,256,0,217.79,0,170.67V85.33C0,38.21,38.21,0,85.33,0z"/>
16 </defs>
17 <clipPath id="SVGID_00000155108198301274388750000013446560141749851533_">
18 <use xlink:href="#SVGID_1_" style="overflow:visible;"/>
19 </clipPath>
20
21 <linearGradient id="SVGID_00000106840072797459131300000000128220150509945512_" gradientUnits="userSpaceOnUse" x1="21.9432" y1="-10.4261" x2="235.0101" y2="271.6984" gradientTransform="matrix(1 0 0 -1 0 258)">
22 <stop offset="0.0319" style="stop-color:#FF46D7"/>
23 <stop offset="0.1565" style="stop-color:#E658FE"/>
24 <stop offset="0.3012" style="stop-color:#C040FF"/>
25 <stop offset="0.5414" style="stop-color:#A143EF"/>
26 <stop offset="0.755" style="stop-color:#6344CD"/>
27 <stop offset="0.8505" style="stop-color:#4747BB"/>
28 <stop offset="0.984" style="stop-color:#4786C9"/>
29 </linearGradient>
30
31 <rect x="0.03" y="0.03" style="clip-path:url(#SVGID_00000155108198301274388750000013446560141749851533_);fill:url(#SVGID_00000106840072797459131300000000128220150509945512_);" width="255.94" height="255.94"/>
32 <g style="clip-path:url(#SVGID_00000155108198301274388750000013446560141749851533_);">
33 <g>
34 <defs>
35 <path id="SVGID_00000148629484165200948110000004982047370892829827_" d="M85.33,0h85.33C217.79,0,256,38.21,256,85.33v85.33
36 c0,47.13-38.21,85.33-85.33,85.33H85.33C38.21,256,0,217.79,0,170.67V85.33C0,38.21,38.21,0,85.33,0z"/>
37 </defs>
38 <clipPath id="SVGID_00000110461631799784324430000006267980943016249986_">
39 <use xlink:href="#SVGID_00000148629484165200948110000004982047370892829827_" style="overflow:visible;"/>
40 </clipPath>
41 <rect style="clip-path:url(#SVGID_00000110461631799784324430000006267980943016249986_);fill:none;" width="256" height="256"/>
42 </g>
43 </g>
44</g>
45<path class="st3" d="M224.23,140.89V107.6c0-0.01,0-0.02,0-0.02c0-7.12-5.75-12.9-12.86-12.95l0,0c-0.03,0-0.06,0-0.09,0h-0.01l0,0
46 c-4-0.07-9.58-0.99-13.55-4.96c-3.52-3.52-4.68-9.4-4.98-14.3l-0.01,0.02c-0.01-0.11-0.01-0.23-0.02-0.35
47 c-0.01-0.08,0-0.16-0.01-0.24c-0.66-6.53-6.18-11.63-12.89-11.63H76.2c-0.44,0-0.88,0.02-1.31,0.07c-0.15,0.01-0.29,0.04-0.44,0.06
48 c-0.27,0.04-0.54,0.07-0.81,0.12c-0.19,0.04-0.37,0.09-0.56,0.14c-0.22,0.06-0.45,0.1-0.67,0.17c-0.19,0.06-0.37,0.13-0.55,0.19
49 c-0.21,0.08-0.43,0.15-0.64,0.23c-0.17,0.07-0.33,0.16-0.51,0.24c-0.21,0.1-0.43,0.2-0.64,0.31c-0.16,0.08-0.31,0.18-0.47,0.27
50 c-0.21,0.12-0.42,0.24-0.62,0.38c-0.17,0.11-0.33,0.24-0.49,0.36c-0.17,0.13-0.35,0.25-0.53,0.39c-0.28,0.23-0.54,0.47-0.8,0.72
51 c-0.05,0.05-0.1,0.09-0.15,0.14c-0.04,0.04-0.07,0.08-0.11,0.12c-0.26,0.26-0.51,0.53-0.74,0.82c-0.14,0.16-0.25,0.33-0.38,0.5
52 s-0.26,0.34-0.38,0.51c-0.13,0.19-0.24,0.39-0.36,0.59c-0.1,0.17-0.2,0.33-0.29,0.5c-0.11,0.2-0.2,0.4-0.29,0.61
53 c-0.08,0.18-0.18,0.36-0.25,0.54c-0.08,0.2-0.15,0.4-0.22,0.6s-0.15,0.39-0.21,0.6c-0.06,0.2-0.1,0.4-0.15,0.6
54 c-0.05,0.21-0.11,0.42-0.15,0.63c-0.04,0.23-0.07,0.46-0.11,0.7c-0.03,0.19-0.06,0.37-0.08,0.56c-0.02,0.18-0.02,0.36-0.03,0.54
55 l-0.01-0.01c-0.3,4.9-1.46,10.78-4.98,14.3c-3.97,3.97-9.54,4.89-13.55,4.96l0,0h-0.01c-0.03,0-0.06,0-0.09,0l0,0
56 c-0.4,0-0.79,0.02-1.18,0.06c-0.2,0.02-0.39,0.05-0.58,0.08c-0.22,0.03-0.45,0.06-0.67,0.1c-0.22,0.04-0.44,0.1-0.66,0.16
57 c-0.19,0.05-0.38,0.09-0.57,0.15c-0.22,0.07-0.42,0.15-0.63,0.22c-0.19,0.07-0.38,0.13-0.57,0.21c-0.2,0.08-0.38,0.18-0.58,0.27
58 c-0.19,0.09-0.38,0.18-0.57,0.28s-0.36,0.21-0.54,0.32s-0.37,0.21-0.55,0.33c-0.2,0.14-0.39,0.28-0.58,0.43
59 c-0.15,0.11-0.29,0.21-0.43,0.32c-0.66,0.54-1.27,1.15-1.81,1.81c-0.12,0.14-0.22,0.29-0.33,0.43c-0.15,0.19-0.3,0.38-0.43,0.58
60 c-0.12,0.18-0.22,0.36-0.33,0.55c-0.11,0.18-0.22,0.35-0.32,0.54s-0.19,0.38-0.28,0.57s-0.18,0.38-0.27,0.58
61 c-0.08,0.19-0.14,0.38-0.21,0.57c-0.08,0.21-0.15,0.42-0.22,0.63c-0.06,0.19-0.1,0.38-0.15,0.57c-0.06,0.22-0.11,0.43-0.16,0.66
62 c-0.05,0.22-0.07,0.45-0.1,0.67c-0.03,0.19-0.07,0.38-0.08,0.58c-0.04,0.42-0.07,0.85-0.07,1.28l0,0v33.29c0,0.01,0,0.01,0,0.02
63 c0,7.12,5.75,12.9,12.86,12.95l0,0c0.03,0,0.06,0,0.09,0l0,0l0,0c4,0.07,9.58,0.99,13.55,4.96c3.45,3.45,4.63,9.17,4.96,14v33.13
64 c0,4.2,5.29,6.05,7.91,2.78l18.72-23.4h89.94c0.01,0,0.01,0,0.02,0c6.91,0,12.53-5.41,12.92-12.22l0.01,0.02
65 c0.29-4.9,1.46-10.78,4.98-14.3c3.97-3.97,9.54-4.89,13.55-4.96l0,0h0.01c0.03,0,0.06,0,0.09,0l0,0c0.35,0,0.7-0.02,1.05-0.05
66 c0.06,0,0.12,0,0.18-0.01C219.13,153.12,224.23,147.6,224.23,140.89z M193.37,154.44c-4.03,4.03-9.75,4.91-13.78,4.96l0,0H76.41l0,0
67 c-4.02-0.04-9.75-0.92-13.78-4.96c-3.28-3.28-4.53-8.96-4.96-13.99v-32.42c0.42-5.03,1.68-10.72,4.96-14
68 c4.03-4.03,9.75-4.91,13.78-4.95l0,0H179.6h-0.01c4.02,0.04,9.75,0.92,13.78,4.96c3.28,3.28,4.53,8.96,4.96,13.99v32.42
69 C197.9,145.47,196.65,151.16,193.37,154.44z"/>
70<path class="st3" d="M99.32,104.61c-7.15,0-12.96,5.8-12.96,12.95v12.96c0,7.15,5.8,12.96,12.96,12.96c7.15,0,12.95-5.8,12.95-12.96
71 v-12.96C112.27,110.41,106.47,104.61,99.32,104.61z"/>
72<path class="st3" d="M156.68,104.61c-7.15,0-12.96,5.8-12.96,12.95v12.96c0,7.15,5.8,12.96,12.96,12.96s12.96-5.8,12.96-12.96
73 v-12.96C169.64,110.41,163.84,104.61,156.68,104.61z"/>
74</svg>
diff --git a/recipes/poe/index.js b/recipes/poe/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/poe/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/poe/package.json b/recipes/poe/package.json
new file mode 100644
index 0000000..58a6829
--- /dev/null
+++ b/recipes/poe/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "poe",
3 "name": "poe",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://poe.com/"
8 }
9}
diff --git a/recipes/poe/webview.js b/recipes/poe/webview.js
new file mode 100644
index 0000000..1119219
--- /dev/null
+++ b/recipes/poe/webview.js
@@ -0,0 +1,9 @@
1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
4
5const _path = _interopRequireDefault(require('path'));
6
7module.exports = Ferdium => {
8 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9};