Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
fdddad35
Commit
fdddad35
authored
Nov 27, 2019
by
rschamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Review feedback
parent
d83769be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
18 deletions
+13
-18
src/views/splash/l10n.json
src/views/splash/l10n.json
+0
-3
src/views/splash/presentation.jsx
src/views/splash/presentation.jsx
+13
-15
No files found.
src/views/splash/l10n.json
View file @
fdddad35
...
...
@@ -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"
,
...
...
src/views/splash/presentation.jsx
View file @
fdddad35
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment