From da2739d3a92c355cc1a0aff8c7dd9c9c5b92b661 Mon Sep 17 00:00:00 2001 From: catarak Date: Wed, 17 Aug 2016 18:35:15 -0400 Subject: [PATCH] add link to fullscreen in nav --- client/components/Nav.js | 10 +++++++++- client/modules/IDE/pages/IDEView.js | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/client/components/Nav.js b/client/components/Nav.js index 975e3ceb..1e1e2ee5 100644 --- a/client/components/Nav.js +++ b/client/components/Nav.js @@ -31,6 +31,11 @@ function Nav(props) { Download +
  • + + Fullscreen + +
  • @@ -57,7 +62,10 @@ Nav.propTypes = { user: PropTypes.shape({ authenticated: PropTypes.bool.isRequired, username: PropTypes.string - }).isRequired + }).isRequired, + project: PropTypes.shape({ + id: PropTypes.string + }) }; export default Nav; diff --git a/client/modules/IDE/pages/IDEView.js b/client/modules/IDE/pages/IDEView.js index 258db9af..1a1c3a02 100644 --- a/client/modules/IDE/pages/IDEView.js +++ b/client/modules/IDE/pages/IDEView.js @@ -114,6 +114,7 @@ class IDEView extends React.Component { saveProject={this.props.saveProject} exportProjectAsZip={this.props.exportProjectAsZip} cloneProject={this.props.cloneProject} + project={this.props.project} />