diff --git a/smart-hut/public/img/curtains-icon.png b/smart-hut/public/img/curtains-icon.png
new file mode 100644
index 0000000..2772356
Binary files /dev/null and b/smart-hut/public/img/curtains-icon.png differ
diff --git a/smart-hut/public/img/thermostat-icon.png b/smart-hut/public/img/thermostat-icon.png
new file mode 100644
index 0000000..9f64146
Binary files /dev/null and b/smart-hut/public/img/thermostat-icon.png differ
diff --git a/smart-hut/src/components/dashboard/devices/NewDevice.js b/smart-hut/src/components/dashboard/devices/NewDevice.js
index 6945a20..965ccc0 100644
--- a/smart-hut/src/components/dashboard/devices/NewDevice.js
+++ b/smart-hut/src/components/dashboard/devices/NewDevice.js
@@ -165,8 +165,12 @@ class NewDevice extends Component {
render() {
const deviceOptions = [
//stuff
- { key: "thermostat", text: "Thermostat", value: "thermostat", image: {} },
- { key: "curtains", text: "Curtain", value: "curtains", image: {} },
+ { key: "thermostat", text: "Thermostat", value: "thermostat",
+ image: {avatar: true, src: "/img/thermostat-icon.png"}
+ },
+ { key: "curtains", text: "Curtain", value: "curtains",
+ image: {avatar: true, src: "/img/curtains-icon.png"}
+ },
//stuff ends
{
key: "light",
diff --git a/smart-hut/src/components/dashboard/devices/Videocam.js b/smart-hut/src/components/dashboard/devices/Videocam.js
index cdde004..409d467 100644
--- a/smart-hut/src/components/dashboard/devices/Videocam.js
+++ b/smart-hut/src/components/dashboard/devices/Videocam.js
@@ -70,12 +70,16 @@ class Videocam extends Component {
/>
+
+
+ this.setOnOff(val.checked)}
+ />
+
+
- this.setOnOff(val.checked)}
- />
);
diff --git a/smart-hut/src/views/Home.js b/smart-hut/src/views/Home.js
index b5e904f..1347c0a 100644
--- a/smart-hut/src/views/Home.js
+++ b/smart-hut/src/views/Home.js
@@ -247,7 +247,7 @@ const Home = () => (
-
+
The Shell