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
287bc840
Commit
287bc840
authored
Aug 15, 2018
by
Eric Rosenbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use project id links for starter projects instead of downloads
parent
fd10e08d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
src/components/extension-landing/project-card.jsx
src/components/extension-landing/project-card.jsx
+1
-1
src/views/ev3/ev3.jsx
src/views/ev3/ev3.jsx
+3
-3
src/views/microbit/microbit.jsx
src/views/microbit/microbit.jsx
+3
-3
No files found.
src/components/extension-landing/project-card.jsx
View file @
287bc840
...
...
@@ -3,9 +3,9 @@ const React = require('react');
const
ProjectCard
=
props
=>
(
<
a
download
className=
"project-card"
href=
{
props
.
cardUrl
}
target=
"_blank"
>
<
div
className=
"project-card-image"
>
<
img
src=
{
props
.
imageSrc
}
/>
...
...
src/views/ev3/ev3.jsx
View file @
287bc840
...
...
@@ -202,19 +202,19 @@ class EV3 extends ExtensionLanding {
<
h3
><
FormattedMessage
id=
"ev3.starterProjects"
/></
h3
>
<
Steps
>
<
ProjectCard
cardUrl=
"https://
downloads.scratch.mit.edu/ev3/ev3-wave-hello.sb3
"
cardUrl=
"https://
beta.scratch.mit.edu/#239075992
"
description=
{
this
.
props
.
intl
.
formatMessage
({
id
:
'
ev3.waveHelloDescription
'
})
}
imageSrc=
"/images/ev3/starter-wave-hello.png"
title=
{
this
.
props
.
intl
.
formatMessage
({
id
:
'
ev3.waveHelloTitle
'
})
}
/>
<
ProjectCard
cardUrl=
"https://
downloads.scratch.mit.edu/ev3/ev3-distance-instrument.sb3
"
cardUrl=
"https://
beta.scratch.mit.edu/#239076020
"
description=
{
this
.
props
.
intl
.
formatMessage
({
id
:
'
ev3.distanceInstrumentDescription
'
})
}
imageSrc=
"/images/ev3/starter-distance-instrument.png"
title=
{
this
.
props
.
intl
.
formatMessage
({
id
:
'
ev3.distanceInstrumentTitle
'
})
}
/>
<
ProjectCard
cardUrl=
"https://
downloads.scratch.mit.edu/ev3/ev3-space-tacos.sb3
"
cardUrl=
"https://
beta.scratch.mit.edu/#239076044
"
description=
{
this
.
props
.
intl
.
formatMessage
({
id
:
'
ev3.spaceTacosDescription
'
})
}
imageSrc=
"/images/ev3/starter-flying-game.png"
title=
{
this
.
props
.
intl
.
formatMessage
({
id
:
'
ev3.spaceTacosTitle
'
})
}
...
...
src/views/microbit/microbit.jsx
View file @
287bc840
...
...
@@ -207,19 +207,19 @@ class MicroBit extends ExtensionLanding {
<
h3
><
FormattedMessage
id=
"microbit.starterProjects"
/></
h3
>
<
Steps
>
<
ProjectCard
cardUrl=
"https://
downloads.scratch.mit.edu/microbit/microbit-heartbeat.sb3
"
cardUrl=
"https://
beta.scratch.mit.edu/#239075756
"
description=
{
this
.
props
.
intl
.
formatMessage
({
id
:
'
microbit.heartBeatDescription
'
})
}
imageSrc=
"/images/microbit/starter-heart.png"
title=
{
this
.
props
.
intl
.
formatMessage
({
id
:
'
microbit.heartBeat
'
})
}
/>
<
ProjectCard
cardUrl=
"https://
downloads.scratch.mit.edu/microbit/microbit-guitar.sb3
"
cardUrl=
"https://
beta.scratch.mit.edu/#239075950
"
description=
{
this
.
props
.
intl
.
formatMessage
({
id
:
'
microbit.tiltGuitarDescription
'
})
}
imageSrc=
"/images/microbit/starter-guitar.png"
title=
{
this
.
props
.
intl
.
formatMessage
({
id
:
'
microbit.tiltGuitar
'
})
}
/>
<
ProjectCard
cardUrl=
"https://
downloads.scratch.mit.edu/microbit/microbit-fish.sb
3"
cardUrl=
"https://
beta.scratch.mit.edu/#23907597
3"
description=
{
this
.
props
.
intl
.
formatMessage
({
id
:
'
microbit.oceanAdventureDescription
'
})
}
imageSrc=
"/images/microbit/starter-fish.png"
title=
{
this
.
props
.
intl
.
formatMessage
({
id
:
'
microbit.oceanAdventure
'
})
}
...
...
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