diff options
-rw-r--r-- | all.json | 9 | ||||
-rw-r--r-- | recipes/udemy/icon.svg | 1 | ||||
-rw-r--r-- | recipes/udemy/index.js | 1 | ||||
-rw-r--r-- | recipes/udemy/package.json | 11 | ||||
-rw-r--r-- | recipes/udemy/service.css | 5 | ||||
-rw-r--r-- | recipes/udemy/webview.js | 9 |
6 files changed, 36 insertions, 0 deletions
@@ -1618,6 +1618,15 @@ | |||
1618 | }, | 1618 | }, |
1619 | { | 1619 | { |
1620 | "featured": false, | 1620 | "featured": false, |
1621 | "id": "udemy", | ||
1622 | "name": "Udemy", | ||
1623 | "version": "1.0.4", | ||
1624 | "icons": { | ||
1625 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/udemy/icon.svg" | ||
1626 | } | ||
1627 | }, | ||
1628 | { | ||
1629 | "featured": false, | ||
1621 | "id": "unraid", | 1630 | "id": "unraid", |
1622 | "name": "Unraid", | 1631 | "name": "Unraid", |
1623 | "version": "1.1.0", | 1632 | "version": "1.1.0", |
diff --git a/recipes/udemy/icon.svg b/recipes/udemy/icon.svg new file mode 100644 index 0000000..961b64a --- /dev/null +++ b/recipes/udemy/icon.svg | |||
@@ -0,0 +1 @@ | |||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144 64" width="64" height="64"><path d="M141.58 40.23a3.83 3.83 0 0 0-1.693-.796c-3.655 3.643-8.115 7.48-12.075 10.06-1.827 1.214-4.126 1.82-5.647 1.82-3.503 0-5.025-3.34-5.482-8.65-.61-7.13-1.02-15.672-1.02-28.873 0-13.54-3.073-22.743-11.258-23.465-.346-.03-.696-.052-1.06-.052-5.025 0-7.462 2.58-10.66 9.104-2.74 5.613-7.004 13.806-14.92 29.282C70.913 42.014 63.3 53.85 56.75 62.042c-1.824 2.27-3.265 3.83-4.62 4.72-.905.596-1.774.894-2.688.894-2.585 0-4.47-2.18-5.1-7.26-.15-1.207-.23-2.577-.23-4.12 0-10.47 3.96-27.462 10.8-52.498 5.025-18.206 2.894-30.646-8.07-30.646h-.123l-.007.002c-2.483.03-4.54.928-6.524 2.49-1.952 1.537-3.906 4.857-5.73 9.322C32.413-10.03 19.91 15.047.014 27.966c-.234 4.912 2.546 9.82 8.18 10.353 5.13.486 8.77-1.676 13.46-4.825a1296.183 1296.183 0 0 0-1.858 8.416l-.652 2.986a83.792 83.792 0 0 0-1.417 8.52C14.92 78.494 26.543 90.87 40.155 90.87c2.275 0 4.53-.27 6.767-.84C61.92 86.226 76.36 69.023 93.448 29.42c-.26 4.308-.286 8.33-.1 12.065 1.125 22.697 10.103 29.507 22.787 29.507 9.593 0 18.576-5.006 23.144-11.227 3.35-4.4 4.72-9.256 4.72-13.05 0-2.944-.934-5.295-2.42-6.488" fill="#ea5252" fill-rule="evenodd"/></svg> \ No newline at end of file | |||
diff --git a/recipes/udemy/index.js b/recipes/udemy/index.js new file mode 100644 index 0000000..23607bd --- /dev/null +++ b/recipes/udemy/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = Ferdi => Ferdi; | |||
diff --git a/recipes/udemy/package.json b/recipes/udemy/package.json new file mode 100644 index 0000000..32c5031 --- /dev/null +++ b/recipes/udemy/package.json | |||
@@ -0,0 +1,11 @@ | |||
1 | { | ||
2 | "id": "udemy", | ||
3 | "name": "Udemy", | ||
4 | "version": "1.0.4", | ||
5 | "license": "MIT", | ||
6 | "repository": "https://github.com/gaspergrom/Franz-services/tree/master/udemy", | ||
7 | "config": { | ||
8 | "serviceURL": "https://www.udemy.com/home/my-courses/learning/", | ||
9 | "hasNotificationSound": true | ||
10 | } | ||
11 | } | ||
diff --git a/recipes/udemy/service.css b/recipes/udemy/service.css new file mode 100644 index 0000000..2d8c1a6 --- /dev/null +++ b/recipes/udemy/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/udemy/webview.js b/recipes/udemy/webview.js new file mode 100644 index 0000000..f440fe5 --- /dev/null +++ b/recipes/udemy/webview.js | |||
@@ -0,0 +1,9 @@ | |||
1 | module.exports = (Ferdi) => { | ||
2 | function getMessages() { | ||
3 | let direct = 0; | ||
4 | let indirect = 0; | ||
5 | Ferdi.setBadge(direct, indirect); | ||
6 | } | ||
7 | |||
8 | Ferdi.loop(getMessages); | ||
9 | } | ||