aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2021-09-12 16:10:51 +0530
committerLibravatar GitHub <noreply@github.com>2021-09-12 10:40:51 +0000
commit5c13b435d25236eb0345357d2df43dbb6b0c970b (patch)
treee78b313733480d14d9eb5bc380aee09081e97b33
parentMerged 'github_enterprise' recipe into 'github' with the extra bits. (diff)
downloadferdium-recipes-5c13b435d25236eb0345357d2df43dbb6b0c970b.tar.gz
ferdium-recipes-5c13b435d25236eb0345357d2df43dbb6b0c970b.tar.zst
ferdium-recipes-5c13b435d25236eb0345357d2df43dbb6b0c970b.zip
New recipe: 'coinbase' (#697)
-rw-r--r--all.json9
-rw-r--r--recipes/coinbase/icon.svg7
-rw-r--r--recipes/coinbase/index.js1
-rw-r--r--recipes/coinbase/package.json11
-rw-r--r--recipes/coinbase/service.css5
-rw-r--r--recipes/coinbase/webview.js7
6 files changed, 40 insertions, 0 deletions
diff --git a/all.json b/all.json
index ab2323e..bd03155 100644
--- a/all.json
+++ b/all.json
@@ -250,6 +250,15 @@
250 }, 250 },
251 { 251 {
252 "featured": false, 252 "featured": false,
253 "id": "coinbase",
254 "name": "Coinbase",
255 "version": "1.0.0",
256 "icons": {
257 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/coinbase/icon.svg"
258 }
259 },
260 {
261 "featured": false,
253 "id": "devdocs", 262 "id": "devdocs",
254 "name": "DevDocs", 263 "name": "DevDocs",
255 "version": "1.0.2", 264 "version": "1.0.2",
diff --git a/recipes/coinbase/icon.svg b/recipes/coinbase/icon.svg
new file mode 100644
index 0000000..2396998
--- /dev/null
+++ b/recipes/coinbase/icon.svg
@@ -0,0 +1,7 @@
1<svg width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
2 <rect fill="#045cb8" x="0" y="0" width="50" height="50" rx="4.8"></rect>
3
4 <g width="25" height="25" viewBox="0 0 25 25" transform="translate(12.5, 12.5)" fill="#FFFFFF">
5 <path d="M 136 63.501 C 119.964 66.742, 108.269 72.881, 96.950 84 C 80.325 100.332, 73.092 122.021, 75.171 149.311 C 76.558 167.517, 83.910 184.001, 95.997 196 C 112.259 212.145, 131.639 218.910, 158.239 217.725 C 170.497 217.179, 176.655 215.972, 187.075 212.073 C 196.900 208.397, 196.824 208.867, 189.412 197.500 C 185.826 192, 182.519 186.863, 182.064 186.085 C 181.356 184.876, 180.360 184.916, 175.218 186.359 C 151.354 193.055, 127.294 185.600, 116.009 168.014 C 110.782 159.868, 108.764 152.066, 108.764 140 C 108.764 115.699, 120.647 99.172, 142.256 93.420 C 151.687 90.909, 168.728 91.869, 178 95.434 C 179.093 95.854, 181.333 92.896, 186.250 84.543 C 189.963 78.236, 193 72.650, 193 72.131 C 193 70.622, 179.204 65.313, 170.792 63.584 C 161.600 61.695, 145.133 61.656, 136 63.501 " stroke="none" fill="white" fill-rule="evenodd" transform="scale(0.08833922261484099) translate(0 0)"></path>
6 </g>
7</svg> \ No newline at end of file
diff --git a/recipes/coinbase/index.js b/recipes/coinbase/index.js
new file mode 100644
index 0000000..23607bd
--- /dev/null
+++ b/recipes/coinbase/index.js
@@ -0,0 +1 @@
module.exports = Ferdi => Ferdi;
diff --git a/recipes/coinbase/package.json b/recipes/coinbase/package.json
new file mode 100644
index 0000000..cb161ec
--- /dev/null
+++ b/recipes/coinbase/package.json
@@ -0,0 +1,11 @@
1{
2 "id": "coinbase",
3 "name": "Coinbase",
4 "version": "1.0.0",
5 "license": "MIT",
6 "repository": "https://github.com/gaspergrom/Franz-services",
7 "config": {
8 "serviceURL": "https://www.coinbase.com/dashboard",
9 "hasNotificationSound": true
10 }
11}
diff --git a/recipes/coinbase/service.css b/recipes/coinbase/service.css
new file mode 100644
index 0000000..2d8c1a6
--- /dev/null
+++ b/recipes/coinbase/service.css
@@ -0,0 +1,5 @@
1.app-wrapper-web .app {
2 width: 100% !important;
3 height: 100% !important;
4 top: 0 !important;
5}
diff --git a/recipes/coinbase/webview.js b/recipes/coinbase/webview.js
new file mode 100644
index 0000000..0e6e90b
--- /dev/null
+++ b/recipes/coinbase/webview.js
@@ -0,0 +1,7 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4
5module.exports = (Ferdi) => {
6 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css'));
7};