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
e5d14ff0
Commit
e5d14ff0
authored
Nov 26, 2019
by
rschamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update content for 2019
parent
976cfa4a
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
24 deletions
+26
-24
src/views/splash/hoc/middle-banner.jsx
src/views/splash/hoc/middle-banner.jsx
+10
-10
src/views/splash/hoc/top-banner.jsx
src/views/splash/hoc/top-banner.jsx
+10
-10
src/views/splash/l10n.json
src/views/splash/l10n.json
+3
-3
src/views/splash/presentation.jsx
src/views/splash/presentation.jsx
+3
-1
static/images/hoc/code-a-cartoon.jpg
static/images/hoc/code-a-cartoon.jpg
+0
-0
static/images/hoc/imagine.jpg
static/images/hoc/imagine.jpg
+0
-0
static/images/hoc/talking.png
static/images/hoc/talking.png
+0
-0
No files found.
src/views/splash/hoc/middle-banner.jsx
View file @
e5d14ff0
...
...
@@ -18,26 +18,26 @@ const MiddleBanner = () => (
</
h1
>
<
a
className=
"hoc-more-activities button"
href=
"/
tips
"
href=
"/
projects/editor?tutorial=all
"
>
<
img
src=
"/svgs/tutorials.svg"
/>
<
FormattedMessage
id=
"hocbanner.moreActivities"
/>
</
a
>
</
FlexRow
>
<
FlexRow
className=
"hoc-banner-images"
>
<
a
href=
"
http://localhost:8333/projects/editor/?tip_bar=nam
e"
>
<
a
href=
"
/projects/editor?tutorial=imagin
e"
>
<
FlexRow
className=
"hoc-banner-image mod-middle-image column"
>
<
img
src=
"/images/
ttt/animate-your-nam
e.jpg"
/>
<
img
src=
"/images/
hoc/imagin
e.jpg"
/>
<
div
className=
"hoc-image-text"
>
<
FormattedMessage
id=
"hocbanner.
nam
e"
/>
<
FormattedMessage
id=
"hocbanner.
imagin
e"
/>
</
div
>
</
FlexRow
>
</
a
>
<
a
href=
"
http://localhost:8333/projects/editor/?tip_bar=fly
"
>
<
a
href=
"
/projects/331474033/editor?tutorial=code-cartoon
"
>
<
FlexRow
className=
"hoc-banner-image mod-middle-image column"
>
<
img
src=
"/images/
ttt/make-it-fly
.jpg"
/>
<
img
src=
"/images/
hoc/code-a-cartoon
.jpg"
/>
<
div
className=
"hoc-image-text"
>
<
FormattedMessage
id=
"hocbanner.
fly
"
/>
<
FormattedMessage
id=
"hocbanner.
codeACartoon
"
/>
</
div
>
</
FlexRow
>
</
a
>
...
...
@@ -45,11 +45,11 @@ const MiddleBanner = () => (
key=
"frameless-desktop"
minWidth=
{
frameless
.
desktop
}
>
<
a
href=
"
http://localhost:8333/projects/editor/?tip_bar=po
ng"
>
<
a
href=
"
/projects/editor?tutorial=talki
ng"
>
<
FlexRow
className=
"hoc-banner-image mod-middle-image column"
>
<
img
src=
"/images/
ttt/pong-game.jp
g"
/>
<
img
src=
"/images/
hoc/talking.pn
g"
/>
<
div
className=
"hoc-image-text"
>
<
FormattedMessage
id=
"hocbanner.
po
ng"
/>
<
FormattedMessage
id=
"hocbanner.
talki
ng"
/>
</
div
>
</
FlexRow
>
</
a
>
...
...
src/views/splash/hoc/top-banner.jsx
View file @
e5d14ff0
...
...
@@ -19,7 +19,7 @@ const TopBanner = () => (
</
h1
>
<
a
className=
"hoc-more-activities button"
href=
"
https://beta.scratch.mit.edu/
?tutorial=all"
href=
"
/projects/editor
?tutorial=all"
>
<
img
src=
"/svgs/tutorials.svg"
/>
<
FormattedMessage
id=
"hocbanner.moreActivities"
/>
...
...
@@ -30,28 +30,28 @@ const TopBanner = () => (
key=
"frameless-desktop"
minWidth=
{
frameless
.
desktop
}
>
<
a
href=
"
https://beta.scratch.mit.edu/?tutorial=getStarted
"
>
<
a
href=
"
/projects/editor?tutorial=imagine
"
>
<
FlexRow
className=
"hoc-banner-image column"
>
<
img
src=
"/images/hoc/
getting-started
.jpg"
/>
<
img
src=
"/images/hoc/
imagine
.jpg"
/>
<
div
className=
"hoc-image-text"
>
<
FormattedMessage
id=
"hocbanner.
gettingStarted
"
/>
<
FormattedMessage
id=
"hocbanner.
imagine
"
/>
</
div
>
</
FlexRow
>
</
a
>
</
MediaQuery
>
<
a
href=
"
https://beta.scratch.mit.edu/?tutorial=animations-that-talk
"
>
<
a
href=
"
/projects/331474033/editor?tutorial=code-cartoon
"
>
<
FlexRow
className=
"hoc-banner-image column"
>
<
img
src=
"/images/hoc/c
reate-animations-that-talk.pn
g"
/>
<
img
src=
"/images/hoc/c
ode-a-cartoon.jp
g"
/>
<
div
className=
"hoc-image-text"
>
<
FormattedMessage
id=
"hocbanner.
animationTalk
"
/>
<
FormattedMessage
id=
"hocbanner.
codeACartoon
"
/>
</
div
>
</
FlexRow
>
</
a
>
<
a
href=
"
https://beta.scratch.mit.edu/?tutorial=animate-an-adventure-game
"
>
<
a
href=
"
/projects/editor?tutorial=talking
"
>
<
FlexRow
className=
"hoc-banner-image column"
>
<
img
src=
"/images/hoc/
create-an-adventure-game.jp
g"
/>
<
img
src=
"/images/hoc/
talking.pn
g"
/>
<
div
className=
"hoc-image-text"
>
<
FormattedMessage
id=
"hocbanner.
adventureGame
"
/>
<
FormattedMessage
id=
"hocbanner.
talking
"
/>
</
div
>
</
FlexRow
>
</
a
>
...
...
src/views/splash/l10n.json
View file @
e5d14ff0
...
...
@@ -35,9 +35,9 @@
"hocbanner.title"
:
"Get Creative with Coding!"
,
"hocbanner.moreActivities"
:
"See more activities"
,
"hocbanner.
gettingStarted"
:
"Getting Starte
d"
,
"hocbanner.
animationTalk"
:
"Create Animations that Talk
"
,
"hocbanner.
adventureGame"
:
"Animate an Adventure Game
"
,
"hocbanner.
imagine"
:
"Imagine a Worl
d"
,
"hocbanner.
codeACartoon"
:
"Code a Cartoon
"
,
"hocbanner.
talking"
:
"Talking Tales
"
,
"hocbanner.name"
:
"Animate a Name"
,
"hocbanner.fly"
:
"Make it Fly"
,
"hocbanner.pong"
:
"Pong Game"
,
...
...
src/views/splash/presentation.jsx
View file @
e5d14ff0
...
...
@@ -35,7 +35,7 @@ const ShareProjectMessage = require('./activity-rows/share-project.jsx');
const
TopBanner
=
require
(
'
./hoc/top-banner.jsx
'
);
const
MiddleBanner
=
require
(
'
./hoc/middle-banner.jsx
'
);
const
HOC_START_TIME
=
157526280000
0
;
// 2019-12-02 00:00:00
const
HOC_START_TIME
=
157526280000
;
// 2019-12-02 00:00:00
const
HOC_END_TIME
=
1577077200000
;
// 2019-12-23 00:00:00
require
(
'
./splash.scss
'
);
...
...
@@ -419,6 +419,7 @@ 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"
...
...
@@ -433,6 +434,7 @@ class SplashPresentation extends React.Component { // eslint-disable-line react/
/>
)
)
/* eslint-enable indent, react/jsx-indent, react/jsx-indent-props */
}
<
div
className=
"inner mod-splash"
...
...
static/images/hoc/code-a-cartoon.jpg
0 → 100644
View file @
e5d14ff0
151 KB
static/images/hoc/imagine.jpg
0 → 100644
View file @
e5d14ff0
188 KB
static/images/hoc/talking.png
0 → 100644
View file @
e5d14ff0
92.4 KB
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