From 7539e744362e8c756526cfacbd79623353af7580 Mon Sep 17 00:00:00 2001 From: Connor Hudson Date: Tue, 19 Jun 2018 16:13:25 -0400 Subject: [PATCH] Add extension icons, extension info object --- src/lib/extension-info.js | 36 ++ static/svgs/project/extension-microbit.svg | 307 ++++++++++++++++++ static/svgs/project/extension-music.svg | 10 + static/svgs/project/extension-pen.svg | 17 + static/svgs/project/extension-translate.svg | 17 + .../svgs/project/extension-videosensing.svg | 31 ++ static/svgs/project/extension-wedo2.svg | 36 ++ 7 files changed, 454 insertions(+) create mode 100644 src/lib/extension-info.js create mode 100644 static/svgs/project/extension-microbit.svg create mode 100644 static/svgs/project/extension-music.svg create mode 100644 static/svgs/project/extension-pen.svg create mode 100644 static/svgs/project/extension-translate.svg create mode 100644 static/svgs/project/extension-videosensing.svg create mode 100644 static/svgs/project/extension-wedo2.svg diff --git a/src/lib/extension-info.js b/src/lib/extension-info.js new file mode 100644 index 000000000..cda82cdfa --- /dev/null +++ b/src/lib/extension-info.js @@ -0,0 +1,36 @@ +const EXTENSION_INFO = { + microbit: { + name: 'micro:bit', + icon: 'extension-microbit.svg', + hasStatus: true + }, + music: { + name: 'Music', + icon: 'extension-music.svg' + }, + pen: { + name: 'Pen', + icon: 'extension-pen.svg' + }, + speak: { + name: 'Amazon Polly' + }, + speech: { + name: 'Google Speech' + }, + translate: { + name: 'Google Translate', + icon: 'extension-translate.svg' + }, + videoSensing: { + name: 'Video Motion', + icon: 'extension-videomotion.svg' + }, + wedo2: { + name: 'LEGO WeDo 2.0', + icon: 'extension-wedo2.svg', + hasStatus: true + } +}; + +export default EXTENSION_INFO; diff --git a/static/svgs/project/extension-microbit.svg b/static/svgs/project/extension-microbit.svg new file mode 100644 index 000000000..c5490c91b --- /dev/null +++ b/static/svgs/project/extension-microbit.svg @@ -0,0 +1,307 @@ + + + + microbit-block-icon + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + A + + + B + + + 1 + + + 2 + + + 3v + + + GND + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/svgs/project/extension-music.svg b/static/svgs/project/extension-music.svg new file mode 100644 index 000000000..248e6383d --- /dev/null +++ b/static/svgs/project/extension-music.svg @@ -0,0 +1,10 @@ + + + + music-block-icon + Created with Sketch. + + + + + \ No newline at end of file diff --git a/static/svgs/project/extension-pen.svg b/static/svgs/project/extension-pen.svg new file mode 100644 index 000000000..00628df25 --- /dev/null +++ b/static/svgs/project/extension-pen.svg @@ -0,0 +1,17 @@ + + + + pen-block-icon + Created with Sketch. + + + + + + + + + + + + \ No newline at end of file diff --git a/static/svgs/project/extension-translate.svg b/static/svgs/project/extension-translate.svg new file mode 100644 index 000000000..50d1d8a07 --- /dev/null +++ b/static/svgs/project/extension-translate.svg @@ -0,0 +1,17 @@ + + + + translation-block-icon + Created with Sketch. + + + + + + + + + + + + \ No newline at end of file diff --git a/static/svgs/project/extension-videosensing.svg b/static/svgs/project/extension-videosensing.svg new file mode 100644 index 000000000..97ca0b6bf --- /dev/null +++ b/static/svgs/project/extension-videosensing.svg @@ -0,0 +1,31 @@ + + + + videomotion-block-icon + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/svgs/project/extension-wedo2.svg b/static/svgs/project/extension-wedo2.svg new file mode 100644 index 000000000..51cb7710d --- /dev/null +++ b/static/svgs/project/extension-wedo2.svg @@ -0,0 +1,36 @@ + + + + wedo2-block-icon + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file