From 5c13b435d25236eb0345357d2df43dbb6b0c970b Mon Sep 17 00:00:00 2001 From: Vijay Aravamudhan Date: Sun, 12 Sep 2021 16:10:51 +0530 Subject: New recipe: 'coinbase' (#697) --- all.json | 9 +++++++++ recipes/coinbase/icon.svg | 7 +++++++ recipes/coinbase/index.js | 1 + recipes/coinbase/package.json | 11 +++++++++++ recipes/coinbase/service.css | 5 +++++ recipes/coinbase/webview.js | 7 +++++++ 6 files changed, 40 insertions(+) create mode 100644 recipes/coinbase/icon.svg create mode 100644 recipes/coinbase/index.js create mode 100644 recipes/coinbase/package.json create mode 100644 recipes/coinbase/service.css create mode 100644 recipes/coinbase/webview.js diff --git a/all.json b/all.json index ab2323e..bd03155 100644 --- a/all.json +++ b/all.json @@ -248,6 +248,15 @@ "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/clubhouse/icon.svg" } }, + { + "featured": false, + "id": "coinbase", + "name": "Coinbase", + "version": "1.0.0", + "icons": { + "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/coinbase/icon.svg" + } + }, { "featured": false, "id": "devdocs", 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 @@ + + + + + + + \ 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 @@ +{ + "id": "coinbase", + "name": "Coinbase", + "version": "1.0.0", + "license": "MIT", + "repository": "https://github.com/gaspergrom/Franz-services", + "config": { + "serviceURL": "https://www.coinbase.com/dashboard", + "hasNotificationSound": true + } +} 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 @@ +.app-wrapper-web .app { + width: 100% !important; + height: 100% !important; + top: 0 !important; +} 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 @@ +const _path = _interopRequireDefault(require('path')); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +module.exports = (Ferdi) => { + Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); +}; -- cgit v1.2.3-54-g00ecf