mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Merge pull request #376 from mewtaylor/issue/gh-374-tips-link
[Develop] Fix GH-374: Add tips to create link for logged out
This commit is contained in:
commit
6f8a916426
1 changed files with 2 additions and 1 deletions
|
@ -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'} />
|
||||
|
|
Loading…
Reference in a new issue