add link to fullscreen in nav
This commit is contained in:
parent
3ab1b82d8d
commit
da2739d3a9
2 changed files with 10 additions and 1 deletions
|
@ -31,6 +31,11 @@ function Nav(props) {
|
|||
Download
|
||||
</a>
|
||||
</li>
|
||||
<li className="nav__item">
|
||||
<Link to={`/full/${props.project.id}`} target="_blank">
|
||||
Fullscreen
|
||||
</Link>
|
||||
</li>
|
||||
<li className="nav__item">
|
||||
<p className="nav__open">
|
||||
<Link to="/sketches">
|
||||
|
@ -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;
|
||||
|
|
|
@ -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}
|
||||
/>
|
||||
<Toolbar
|
||||
className="Toolbar"
|
||||
|
|
Loading…
Reference in a new issue