diff options
Diffstat (limited to 'recipes/dev-community')
-rw-r--r-- | recipes/dev-community/icon.svg | 6 | ||||
-rw-r--r-- | recipes/dev-community/index.js | 1 | ||||
-rw-r--r-- | recipes/dev-community/package.json | 9 | ||||
-rw-r--r-- | recipes/dev-community/webview.js | 9 |
4 files changed, 25 insertions, 0 deletions
diff --git a/recipes/dev-community/icon.svg b/recipes/dev-community/icon.svg new file mode 100644 index 0000000..d06b864 --- /dev/null +++ b/recipes/dev-community/icon.svg | |||
@@ -0,0 +1,6 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools --> | ||
2 | <svg xmlns="http://www.w3.org/2000/svg" | ||
3 | aria-label="dev.to" role="img" | ||
4 | viewBox="0 0 512 512"><rect | ||
5 | width="512" height="512" | ||
6 | rx="15%"/><path fill="#ffffff" d="M140.47 203.94h-17.44v104.47h17.45c10.155-.545 17.358-8.669 17.47-17.41v-69.65c-.696-10.364-7.796-17.272-17.48-17.41zm45.73 87.25c0 18.81-11.61 47.31-48.36 47.25h-46.4V172.98h47.38c35.44 0 47.36 28.46 47.37 47.28zm100.68-88.66H233.6v38.42h32.57v29.57H233.6v38.41h53.29v29.57h-62.18c-11.16.29-20.44-8.53-20.72-19.69V193.7c-.27-11.15 8.56-20.41 19.71-20.69h63.19zm103.64 115.29c-13.2 30.75-36.85 24.63-47.44 0l-38.53-144.8h32.57l29.71 113.72 29.57-113.72h32.58z"/></svg> \ No newline at end of file | ||
diff --git a/recipes/dev-community/index.js b/recipes/dev-community/index.js new file mode 100644 index 0000000..c0193ee --- /dev/null +++ b/recipes/dev-community/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = Ferdium => class DevCommunity extends Ferdium {}; | |||
diff --git a/recipes/dev-community/package.json b/recipes/dev-community/package.json new file mode 100644 index 0000000..0dd7e7f --- /dev/null +++ b/recipes/dev-community/package.json | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "id": "dev-community", | ||
3 | "name": "Dev Community", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://dev.to" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/dev-community/webview.js b/recipes/dev-community/webview.js new file mode 100644 index 0000000..56a20b6 --- /dev/null +++ b/recipes/dev-community/webview.js | |||
@@ -0,0 +1,9 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
9 | }; | ||