+ {props.isLoading && (
+
+ )}
+
+
+ );
+ };
+};
+
+export default WithLoader;
\ No newline at end of file
diff --git a/src/shared/sidebar.css b/src/shared/sidebar.css
new file mode 100644
index 0000000..cfb3e02
--- /dev/null
+++ b/src/shared/sidebar.css
@@ -0,0 +1,6 @@
+.sidebar{
+ background: #cccc;
+ width: 92px;
+ height: calc(100vh);
+ position: absolute;
+}
\ No newline at end of file
diff --git a/src/shared/sidebar.hoc.js b/src/shared/sidebar.hoc.js
new file mode 100644
index 0000000..30a18a3
--- /dev/null
+++ b/src/shared/sidebar.hoc.js
@@ -0,0 +1,36 @@
+import React, { Component } from "react";
+import { Link } from 'react-router-dom';
+import { connect } from "react-redux";
+import { compose } from "redux";
+import './sidebar.css';
+
+const Sidebar = (HocComponent) => {
+ return class SidebarComponent extends Component {
+
+ render() {
+ return (
+