Commit fdddad35 authored by rschamp's avatar rschamp

Review feedback

parent d83769be
......@@ -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"
......
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