mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 15:17:53 -05:00
Review feedback
This commit is contained in:
parent
d83769be71
commit
fdddad3516
2 changed files with 13 additions and 18 deletions
|
@ -38,9 +38,6 @@
|
|||
"hocbanner.imagine": "Imagine a World",
|
||||
"hocbanner.codeACartoon": "Code a Cartoon",
|
||||
"hocbanner.talking": "Talking Tales",
|
||||
"hocbanner.name": "Animate a Name",
|
||||
"hocbanner.fly": "Make it Fly",
|
||||
"hocbanner.pong": "Pong Game",
|
||||
|
||||
"welcome.welcomeToScratch": "Welcome to Scratch!",
|
||||
"welcome.learn": "Learn how to make a project in Scratch",
|
||||
|
|
|
@ -419,22 +419,20 @@ class SplashPresentation extends React.Component { // eslint-disable-line react/
|
|||
{
|
||||
this.props.sessionStatus === sessionActions.Status.FETCHED &&
|
||||
Object.keys(this.props.user).length === 0 && (// Only show top banner if user is not logged in
|
||||
/* eslint-disable indent, react/jsx-indent, react/jsx-indent-props */
|
||||
(Date.now() >= HOC_START_TIME && Date.now() < HOC_END_TIME) ? (
|
||||
<MediaQuery
|
||||
key="frameless-tablet"
|
||||
minWidth={frameless.tabletPortrait}
|
||||
>
|
||||
<TopBanner />
|
||||
</MediaQuery>
|
||||
) : (
|
||||
<Intro
|
||||
key="intro"
|
||||
messages={messages}
|
||||
/>
|
||||
)
|
||||
(Date.now() >= HOC_START_TIME && Date.now() < HOC_END_TIME) ? (
|
||||
<MediaQuery
|
||||
key="frameless-tablet"
|
||||
minWidth={frameless.tabletPortrait}
|
||||
>
|
||||
<TopBanner />
|
||||
</MediaQuery>
|
||||
) : (
|
||||
<Intro
|
||||
key="intro"
|
||||
messages={messages}
|
||||
/>
|
||||
)
|
||||
)
|
||||
/* eslint-enable indent, react/jsx-indent, react/jsx-indent-props */
|
||||
}
|
||||
<div
|
||||
className="inner mod-splash"
|
||||
|
|
Loading…
Reference in a new issue