Commit 4a40482f authored by Matthew Taylor's avatar Matthew Taylor

Add tips to create link for logged out user

Fixes #374
parent 11a8eb17
......@@ -191,13 +191,14 @@ var Navigation = React.createClass({
'show': this.state.unreadMessageCount > 0
});
var formatMessage = this.props.intl.formatMessage;
var createLink = this.state.session.user ? '/projects/editor/' : '/projects/editor/?tip_bar=home';
return (
<div className={classes}>
<ul>
<li className="logo"><a href="/" aria-label="Scratch"></a></li>
<li className="link create">
<a href="/projects/editor">
<a href={createLink}>
<FormattedMessage
id="general.create"
defaultMessage={'Create'} />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment