diff options
Diffstat (limited to 'recipes/netlify')
-rw-r--r-- | recipes/netlify/icon.svg | 14 | ||||
-rw-r--r-- | recipes/netlify/index.js | 1 | ||||
-rw-r--r-- | recipes/netlify/package.json | 10 | ||||
-rw-r--r-- | recipes/netlify/service.css | 1 | ||||
-rw-r--r-- | recipes/netlify/webview.js | 16 |
5 files changed, 42 insertions, 0 deletions
diff --git a/recipes/netlify/icon.svg b/recipes/netlify/icon.svg new file mode 100644 index 0000000..b3216d0 --- /dev/null +++ b/recipes/netlify/icon.svg | |||
@@ -0,0 +1,14 @@ | |||
1 | <svg version="1.2" baseProfile="tiny-ps" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="1024" height="1024"> | ||
2 | <title>logomark-svg</title> | ||
3 | <defs> | ||
4 | <radialGradient id="grd1" gradientUnits="userSpaceOnUse" cx="4.831" cy="4.829" r="3834.313"> | ||
5 | <stop offset="0" stop-color="#20c6b7" /> | ||
6 | <stop offset="100" stop-color="#4d9abf" /> | ||
7 | </radialGradient> | ||
8 | </defs> | ||
9 | <style> | ||
10 | tspan { white-space:pre } | ||
11 | .shp0 { fill: url(#grd1) } | ||
12 | </style> | ||
13 | <path id="Layer" class="shp0" d="M32.59 18.13L32.58 18.13C32.57 18.13 32.56 18.12 32.55 18.12C32.55 18.11 32.54 18.1 32.54 18.1C32.53 18.09 32.53 18.08 32.53 18.07C32.52 18.06 32.52 18.06 32.52 18.05C32.52 18.04 32.52 18.03 32.52 18.02L33.3 13.3L36.92 16.92L33.15 18.53C33.15 18.53 33.15 18.53 33.14 18.53C33.14 18.53 33.14 18.53 33.14 18.53C33.13 18.53 33.13 18.53 33.13 18.53C33.12 18.53 33.12 18.53 33.12 18.53L33.1 18.53C33.1 18.53 33.09 18.53 33.08 18.52C33.05 18.48 33.01 18.44 32.97 18.4C32.94 18.37 32.9 18.33 32.85 18.3C32.81 18.27 32.77 18.24 32.73 18.21C32.68 18.18 32.64 18.16 32.59 18.14L32.59 18.13ZM37.85 17.85L41.72 21.72C42.53 22.53 42.93 22.93 43.08 23.4C43.1 23.47 43.12 23.54 43.13 23.61L33.87 19.68C33.87 19.68 33.87 19.68 33.87 19.68C33.86 19.68 33.86 19.68 33.86 19.68C33.86 19.68 33.86 19.68 33.86 19.68C33.86 19.68 33.86 19.68 33.85 19.68C33.82 19.66 33.77 19.64 33.77 19.61C33.77 19.57 33.82 19.55 33.86 19.54L33.87 19.53L37.85 17.85L37.85 17.85ZM42.97 24.85C42.77 25.23 42.38 25.62 41.72 26.28L37.35 30.65L31.7 29.47L31.67 29.46C31.62 29.45 31.57 29.45 31.57 29.4C31.56 29.28 31.54 29.17 31.5 29.06C31.47 28.95 31.42 28.84 31.37 28.74C31.31 28.63 31.24 28.54 31.17 28.45C31.09 28.36 31.01 28.28 30.91 28.21C30.89 28.19 30.9 28.15 30.9 28.12C30.9 28.11 30.9 28.11 30.91 28.1L31.97 21.58L31.97 21.55C31.98 21.5 31.99 21.45 32.03 21.45C32.15 21.43 32.26 21.41 32.37 21.37C32.48 21.33 32.58 21.29 32.68 21.23C32.78 21.17 32.87 21.11 32.96 21.03C33.04 20.96 33.12 20.87 33.19 20.78C33.2 20.77 33.21 20.76 33.22 20.75C33.25 20.74 33.29 20.75 33.32 20.77L42.97 24.85L42.97 24.85ZM36.35 31.65L29.16 38.84L30.39 31.28L30.4 31.27C30.4 31.26 30.4 31.25 30.4 31.24C30.41 31.21 30.44 31.2 30.46 31.19L30.47 31.19C30.54 31.16 30.61 31.13 30.67 31.09C30.73 31.06 30.79 31.02 30.85 30.97C30.91 30.93 30.97 30.88 31.02 30.83C31.07 30.78 31.12 30.73 31.17 30.67C31.19 30.64 31.22 30.62 31.26 30.61C31.26 30.61 31.26 30.61 31.27 30.61C31.27 30.61 31.27 30.61 31.27 30.61C31.28 30.61 31.28 30.61 31.28 30.61C31.28 30.61 31.29 30.61 31.29 30.61L36.35 31.65L36.35 31.65ZM27.64 40.36L26.83 41.17L17.88 28.23C17.88 28.22 17.88 28.22 17.87 28.22C17.87 28.22 17.87 28.22 17.87 28.22C17.87 28.22 17.87 28.22 17.87 28.22C17.87 28.21 17.87 28.21 17.87 28.21C17.85 28.19 17.84 28.17 17.84 28.15C17.84 28.14 17.85 28.12 17.86 28.11L17.87 28.1C17.9 28.06 17.92 28.02 17.95 27.97L17.97 27.94L17.97 27.94C17.99 27.91 18 27.89 18.02 27.88C18.04 27.87 18.07 27.87 18.1 27.88L28.02 29.92C28.02 29.92 28.03 29.92 28.04 29.93C28.04 29.93 28.05 29.93 28.06 29.93C28.06 29.94 28.07 29.94 28.07 29.94C28.08 29.95 28.09 29.95 28.09 29.95C28.11 29.97 28.11 29.98 28.11 30C28.15 30.13 28.19 30.25 28.26 30.37C28.32 30.49 28.4 30.6 28.49 30.7C28.58 30.81 28.68 30.9 28.79 30.98C28.9 31.05 29.01 31.12 29.14 31.17C29.17 31.19 29.16 31.22 29.14 31.25C29.14 31.25 29.14 31.26 29.14 31.26C29.14 31.26 29.13 31.27 29.13 31.27C29.13 31.28 29.13 31.28 29.13 31.28C29.13 31.29 29.13 31.29 29.13 31.3C29 32.06 27.93 38.59 27.64 40.36ZM25.95 42.05C25.35 42.64 25 42.95 24.6 43.08C24.51 43.11 24.41 43.13 24.31 43.15C24.2 43.16 24.1 43.17 24 43.17C23.9 43.17 23.8 43.16 23.69 43.15C23.59 43.13 23.49 43.11 23.4 43.08C22.93 42.93 22.53 42.53 21.72 41.72L12.73 32.73L15.08 29.09C15.09 29.07 15.1 29.05 15.12 29.04C15.14 29.02 15.18 29.03 15.21 29.04C15.34 29.08 15.48 29.11 15.62 29.13C15.76 29.14 15.9 29.15 16.04 29.14C16.18 29.13 16.31 29.11 16.45 29.08C16.59 29.05 16.72 29.01 16.85 28.96C16.88 28.95 16.9 28.94 16.92 28.96C16.93 28.96 16.93 28.96 16.93 28.97C16.93 28.97 16.94 28.97 16.94 28.97C16.94 28.98 16.94 28.98 16.94 28.98C16.95 28.99 16.95 28.99 16.95 28.99L25.95 42.05L25.95 42.05ZM11.86 31.86L9.8 29.8L13.87 28.06C13.88 28.06 13.88 28.06 13.88 28.06C13.88 28.06 13.89 28.06 13.89 28.06C13.89 28.06 13.9 28.06 13.9 28.06C13.9 28.06 13.9 28.06 13.91 28.05C13.94 28.05 13.96 28.09 13.98 28.12C13.99 28.14 14 28.15 14.01 28.17C14.02 28.18 14.03 28.2 14.04 28.21C14.05 28.23 14.06 28.24 14.08 28.26C14.09 28.27 14.1 28.29 14.11 28.3L14.12 28.32C14.13 28.34 14.13 28.35 14.11 28.37L11.86 31.86L11.86 31.86ZM8.89 28.89L6.28 26.28C5.83 25.83 5.51 25.51 5.29 25.23L13.22 26.88C13.23 26.88 13.23 26.88 13.23 26.88C13.23 26.88 13.24 26.88 13.24 26.88C13.24 26.88 13.24 26.88 13.25 26.88C13.25 26.88 13.25 26.88 13.25 26.88C13.3 26.89 13.36 26.9 13.36 26.95C13.36 27 13.3 27.02 13.25 27.04L13.22 27.05L8.89 28.89ZM4.83 23.89C4.83 23.85 4.84 23.81 4.84 23.77C4.85 23.72 4.85 23.68 4.86 23.64C4.87 23.6 4.88 23.56 4.89 23.52C4.9 23.48 4.91 23.44 4.92 23.4C5.07 22.93 5.47 22.53 6.28 21.72L9.62 18.38C10 18.94 10.39 19.5 10.77 20.06C11.16 20.61 11.54 21.17 11.93 21.73C12.31 22.29 12.7 22.84 13.08 23.4C13.47 23.96 13.86 24.51 14.24 25.07C14.27 25.11 14.3 25.15 14.27 25.18C14.12 25.34 13.98 25.51 13.87 25.7C13.87 25.71 13.87 25.72 13.86 25.72C13.86 25.73 13.86 25.73 13.85 25.74C13.85 25.74 13.84 25.75 13.84 25.75C13.83 25.76 13.83 25.76 13.82 25.77C13.81 25.77 13.8 25.77 13.78 25.77L13.78 25.77L4.83 23.89L4.83 23.89ZM10.51 17.49L15 13C15.42 13.18 16.96 13.83 18.33 14.41C19.37 14.85 20.32 15.25 20.62 15.38C20.65 15.39 20.68 15.41 20.69 15.44C20.7 15.45 20.69 15.48 20.69 15.5C20.65 15.66 20.64 15.82 20.64 15.99C20.65 16.15 20.68 16.32 20.72 16.48C20.77 16.63 20.83 16.79 20.91 16.93C21 17.07 21.1 17.21 21.21 17.32C21.24 17.35 21.21 17.4 21.19 17.43L21.17 17.46L16.61 24.52C16.6 24.54 16.59 24.55 16.57 24.57C16.55 24.58 16.51 24.58 16.48 24.57C16.44 24.56 16.4 24.55 16.35 24.54C16.31 24.53 16.26 24.52 16.21 24.52C16.17 24.51 16.12 24.5 16.08 24.5C16.03 24.5 15.99 24.5 15.94 24.5C15.78 24.5 15.6 24.53 15.42 24.56L15.42 24.56C15.4 24.56 15.38 24.57 15.36 24.55C15.36 24.55 15.36 24.55 15.35 24.54C15.35 24.54 15.34 24.53 15.34 24.53C15.34 24.53 15.33 24.52 15.33 24.52C15.33 24.51 15.32 24.51 15.32 24.5L10.51 17.49L10.51 17.49ZM15.91 12.09L21.72 6.28C22.53 5.47 22.93 5.07 23.4 4.92C23.49 4.89 23.59 4.87 23.69 4.85C23.8 4.84 23.9 4.83 24 4.83C24.1 4.83 24.2 4.84 24.31 4.85C24.41 4.87 24.51 4.89 24.6 4.92C25.07 5.07 25.47 5.47 26.28 6.28L27.54 7.54L23.4 13.94C23.4 13.95 23.4 13.95 23.39 13.95C23.39 13.96 23.39 13.96 23.38 13.97C23.38 13.97 23.38 13.97 23.37 13.98C23.37 13.98 23.37 13.99 23.36 13.99C23.34 14.01 23.3 14 23.27 13.99C23.11 13.94 22.94 13.91 22.77 13.9C22.6 13.89 22.43 13.9 22.27 13.94C22.1 13.97 21.94 14.02 21.78 14.09C21.63 14.16 21.48 14.25 21.35 14.36C21.32 14.39 21.28 14.37 21.25 14.36C20.71 14.12 16.51 12.35 15.91 12.09L15.91 12.09ZM28.41 8.42L32.23 12.23L31.31 17.93L31.31 17.95C31.31 17.95 31.31 17.95 31.31 17.96C31.31 17.96 31.31 17.96 31.31 17.97C31.31 17.97 31.31 17.97 31.31 17.97C31.31 17.98 31.31 17.98 31.3 17.98C31.3 18 31.27 18.01 31.25 18.01C31.21 18.03 31.16 18.05 31.11 18.06C31.06 18.08 31.02 18.1 30.97 18.13C30.92 18.15 30.88 18.18 30.83 18.2C30.79 18.23 30.75 18.26 30.71 18.29C30.71 18.29 30.7 18.29 30.7 18.29C30.7 18.29 30.7 18.29 30.7 18.3C30.69 18.3 30.69 18.3 30.69 18.3C30.69 18.3 30.69 18.3 30.69 18.3C30.68 18.32 30.67 18.33 30.65 18.33C30.64 18.33 30.64 18.33 30.64 18.33C30.63 18.33 30.63 18.33 30.63 18.33C30.62 18.33 30.62 18.33 30.61 18.33C30.61 18.32 30.61 18.32 30.6 18.32L24.79 15.85L24.78 15.84C24.74 15.83 24.69 15.81 24.69 15.77C24.69 15.69 24.67 15.61 24.66 15.53C24.64 15.45 24.62 15.38 24.59 15.3C24.56 15.22 24.53 15.15 24.5 15.07C24.46 15 24.43 14.93 24.38 14.86C24.36 14.81 24.33 14.77 24.35 14.72L28.42 8.42L28.41 8.42ZM24.48 17.02L29.94 19.33C29.97 19.34 30 19.36 30.01 19.39C30.01 19.39 30.02 19.4 30.02 19.4C30.02 19.41 30.02 19.41 30.02 19.42C30.02 19.42 30.02 19.43 30.02 19.43C30.02 19.44 30.01 19.44 30.01 19.45C30 19.53 29.98 19.62 29.98 19.71L29.98 19.86C29.98 19.9 29.94 19.92 29.91 19.93L29.9 19.94C29.03 20.3 17.77 25.11 17.75 25.11C17.73 25.11 17.72 25.11 17.7 25.09C17.67 25.06 17.7 25.02 17.73 24.98C17.73 24.98 17.73 24.98 17.73 24.98C17.73 24.97 17.73 24.97 17.73 24.97C17.73 24.97 17.73 24.97 17.74 24.97C17.74 24.96 17.74 24.96 17.74 24.96L22.22 18.02L22.23 18.01C22.25 17.97 22.29 17.92 22.33 17.92L22.38 17.93C22.48 17.94 22.57 17.95 22.66 17.95C23.34 17.95 23.97 17.62 24.35 17.06C24.35 17.05 24.36 17.05 24.36 17.05C24.36 17.04 24.36 17.04 24.37 17.04C24.37 17.03 24.37 17.03 24.38 17.03C24.38 17.02 24.38 17.02 24.39 17.02C24.41 17 24.45 17.01 24.48 17.02L24.48 17.02ZM18.24 26.21L30.52 20.97C30.52 20.97 30.54 20.97 30.55 20.99C30.62 21.05 30.68 21.1 30.73 21.14L30.76 21.16C30.78 21.17 30.81 21.19 30.81 21.21C30.81 21.22 30.81 21.23 30.81 21.24L29.76 27.7L29.75 27.73C29.74 27.78 29.74 27.83 29.69 27.83C29.55 27.84 29.41 27.87 29.28 27.91C29.15 27.95 29.02 28.01 28.9 28.09C28.78 28.16 28.67 28.25 28.57 28.35C28.47 28.45 28.39 28.56 28.32 28.68L28.31 28.69C28.3 28.71 28.29 28.73 28.26 28.74C28.24 28.75 28.21 28.75 28.19 28.75L18.4 26.73C18.39 26.72 18.25 26.21 18.24 26.21L18.24 26.21Z" /> | ||
14 | </svg> \ No newline at end of file | ||
diff --git a/recipes/netlify/index.js b/recipes/netlify/index.js new file mode 100644 index 0000000..f620a46 --- /dev/null +++ b/recipes/netlify/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = (Ferdi) => class Netlify extends Ferdi {}; | |||
diff --git a/recipes/netlify/package.json b/recipes/netlify/package.json new file mode 100644 index 0000000..b4784a0 --- /dev/null +++ b/recipes/netlify/package.json | |||
@@ -0,0 +1,10 @@ | |||
1 | { | ||
2 | "id": "netlify", | ||
3 | "name": "Netlify", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://app.netlify.com", | ||
8 | "hasIndirectMessages": true | ||
9 | } | ||
10 | } | ||
diff --git a/recipes/netlify/service.css b/recipes/netlify/service.css new file mode 100644 index 0000000..38dcab0 --- /dev/null +++ b/recipes/netlify/service.css | |||
@@ -0,0 +1 @@ | |||
/* Insert custom styles you want to insert here */ \ No newline at end of file | |||
diff --git a/recipes/netlify/webview.js b/recipes/netlify/webview.js new file mode 100644 index 0000000..9a74683 --- /dev/null +++ b/recipes/netlify/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | var _path = _interopRequireDefault(require("path")); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = (Ferdi) => { | ||
8 | const getMessages = () => { | ||
9 | const notifications = document.querySelectorAll("circle"); | ||
10 | |||
11 | Ferdi.setBadge(0, notifications.length > 0 ? 1 : 0); | ||
12 | }; | ||
13 | Ferdi.loop(getMessages); | ||
14 | |||
15 | Ferdi.injectCSS(_path.default.join(__dirname, "service.css")); | ||
16 | }; | ||