@@ -685,7 +710,8 @@ Nav.propTypes = {
stopSketch: PropTypes.func.isRequired,
setAllAccessibleOutput: PropTypes.func.isRequired,
newFile: PropTypes.func.isRequired,
- newFolder: PropTypes.func.isRequired
+ newFolder: PropTypes.func.isRequired,
+ layout: PropTypes.oneOf(['dashboard', 'project'])
};
Nav.defaultProps = {
@@ -693,7 +719,8 @@ Nav.defaultProps = {
id: undefined,
owner: undefined
},
- cmController: {}
+ cmController: {},
+ layout: 'project'
};
function mapStateToProps(state) {
diff --git a/client/modules/User/pages/DashboardView.jsx b/client/modules/User/pages/DashboardView.jsx
index 49b162b6..af93db70 100644
--- a/client/modules/User/pages/DashboardView.jsx
+++ b/client/modules/User/pages/DashboardView.jsx
@@ -5,7 +5,7 @@ import { bindActionCreators } from 'redux';
import { browserHistory } from 'react-router';
import { updateSettings, initiateVerification, createApiKey, removeApiKey } from '../actions';
-import NavBasic from '../../../components/NavBasic';
+import Nav from '../../../components/Nav';
import AssetList from '../../IDE/components/AssetList';
import SketchList from '../../IDE/components/SketchList';
@@ -68,7 +68,7 @@ class DashboardView extends React.Component {
return (
-
+
diff --git a/client/styles/components/_nav.scss b/client/styles/components/_nav.scss
index 74945c78..d58e54d0 100644
--- a/client/styles/components/_nav.scss
+++ b/client/styles/components/_nav.scss
@@ -43,7 +43,8 @@
}
}
-.nav__item:first-child {
+.nav__item:first-child,
+.nav__item--no-icon {
padding-left: #{15 / $base-font-size}rem;
}
@@ -179,4 +180,4 @@
color: getThemifyVariable('button-hover-color');
}
}
-}
\ No newline at end of file
+}