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
43b39feb
Commit
43b39feb
authored
Jan 28, 2016
by
Matthew Taylor
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #340 from mewtaylor/issue/gh-337-accessibility
Fix issue GH-337: accessibility
parents
15c11aca
c46e42e8
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
43 deletions
+50
-43
src/components/intro/intro.jsx
src/components/intro/intro.jsx
+14
-7
src/views/about/about.jsx
src/views/about/about.jsx
+5
-5
src/views/credits/credits.jsx
src/views/credits/credits.jsx
+31
-31
No files found.
src/components/intro/intro.jsx
View file @
43b39feb
...
@@ -64,10 +64,12 @@ var Intro = React.createClass({
...
@@ -64,10 +64,12 @@ var Intro = React.createClass({
<
a
className=
"sprite sprite-1"
href=
"/projects/editor/?tip_bar=getStarted"
>
<
a
className=
"sprite sprite-1"
href=
"/projects/editor/?tip_bar=getStarted"
>
<
img
<
img
className=
"costume costume-1"
className=
"costume costume-1"
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/cat-a.png"
/>
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/cat-a.png"
alt=
"Scratch Cat"
/>
<
img
<
img
className=
"costume costume-2"
className=
"costume costume-2"
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/cat-b.png"
/>
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/cat-b.png"
alt=
"Scratch Cat"
/>
<
div
className=
"circle"
></
div
>
<
div
className=
"circle"
></
div
>
<
div
className=
"text"
>
<
div
className=
"text"
>
{
this
.
props
.
messages
[
'
intro.tryItOut
'
]
}
{
this
.
props
.
messages
[
'
intro.tryItOut
'
]
}
...
@@ -76,10 +78,12 @@ var Intro = React.createClass({
...
@@ -76,10 +78,12 @@ var Intro = React.createClass({
<
a
className=
"sprite sprite-2"
href=
"/starter_projects/"
>
<
a
className=
"sprite sprite-2"
href=
"/starter_projects/"
>
<
img
<
img
className=
"costume costume-1"
className=
"costume costume-1"
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/tera-a.png"
/>
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/tera-a.png"
alt=
"Tera"
/>
<
img
<
img
className=
"costume costume-2"
className=
"costume costume-2"
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/tera-b.png"
/>
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/tera-b.png"
alt=
"Tera"
/>
<
div
className=
"circle"
></
div
>
<
div
className=
"circle"
></
div
>
<
div
className=
"text"
>
<
div
className=
"text"
>
{
this
.
props
.
messages
[
'
intro.seeExamples
'
]
}
{
this
.
props
.
messages
[
'
intro.seeExamples
'
]
}
...
@@ -88,10 +92,12 @@ var Intro = React.createClass({
...
@@ -88,10 +92,12 @@ var Intro = React.createClass({
<
a
className=
"sprite sprite-3"
href=
"#"
onClick=
{
this
.
handleJoinClick
}
>
<
a
className=
"sprite sprite-3"
href=
"#"
onClick=
{
this
.
handleJoinClick
}
>
<
img
<
img
className=
"costume costume-1"
className=
"costume costume-1"
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/gobo-a.png"
/>
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/gobo-a.png"
alt=
"Gobo"
/>
<
img
<
img
className=
"costume costume-2"
className=
"costume costume-2"
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/gobo-b.png"
/>
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/gobo-b.png"
alt=
"Gobo"
/>
<
div
className=
"circle"
></
div
>
<
div
className=
"circle"
></
div
>
<
div
className=
"text"
>
<
div
className=
"text"
>
{
this
.
props
.
messages
[
'
intro.joinScratch
'
]
}
{
this
.
props
.
messages
[
'
intro.joinScratch
'
]
}
...
@@ -122,7 +128,8 @@ var Intro = React.createClass({
...
@@ -122,7 +128,8 @@ var Intro = React.createClass({
</
div
>
</
div
>
<
div
className=
"video"
>
<
div
className=
"video"
>
<
div
className=
"play-button"
onClick=
{
this
.
showVideo
}
></
div
>
<
div
className=
"play-button"
onClick=
{
this
.
showVideo
}
></
div
>
<
img
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/hp-video-screenshot.png"
/>
<
img
src=
"//cdn.scratch.mit.edu/scratchr2/static/images/hp-video-screenshot.png"
alt=
"Intro Video"
/>
</
div
>
</
div
>
<
Modal
<
Modal
className=
"video-modal"
className=
"video-modal"
...
...
src/views/about/about.jsx
View file @
43b39feb
...
@@ -39,7 +39,7 @@ var About = React.createClass({
...
@@ -39,7 +39,7 @@ var About = React.createClass({
<
ul
>
<
ul
>
<
li
>
<
li
>
<
h2
><
FormattedMessage
id=
'about.whoUsesScratch'
/></
h2
>
<
h2
><
FormattedMessage
id=
'about.whoUsesScratch'
/></
h2
>
<
img
src=
"/images/about/who-uses-scratch.jpg"
/>
<
img
src=
"/images/about/who-uses-scratch.jpg"
alt=
""
/>
<
p
><
FormattedHTMLMessage
id=
'about.whoUsesScratchDescription'
/></
p
>
<
p
><
FormattedHTMLMessage
id=
'about.whoUsesScratchDescription'
/></
p
>
</
li
>
</
li
>
...
@@ -56,25 +56,25 @@ var About = React.createClass({
...
@@ -56,25 +56,25 @@ var About = React.createClass({
<
li
>
<
li
>
<
h2
><
FormattedMessage
id=
'about.aroundTheWorld'
/></
h2
>
<
h2
><
FormattedMessage
id=
'about.aroundTheWorld'
/></
h2
>
<
img
src=
"/images/about/around-the-world.png"
/>
<
img
src=
"/images/about/around-the-world.png"
alt=
""
/>
<
p
><
FormattedHTMLMessage
id=
'about.aroundTheWorldDescription'
/></
p
>
<
p
><
FormattedHTMLMessage
id=
'about.aroundTheWorldDescription'
/></
p
>
</
li
>
</
li
>
<
li
>
<
li
>
<
h2
><
FormattedMessage
id=
'about.schools'
/></
h2
>
<
h2
><
FormattedMessage
id=
'about.schools'
/></
h2
>
<
img
src=
"/images/about/scratch-in-schools.jpg"
/>
<
img
src=
"/images/about/scratch-in-schools.jpg"
alt=
""
/>
<
p
><
FormattedHTMLMessage
id=
'about.schoolsDescription'
/></
p
>
<
p
><
FormattedHTMLMessage
id=
'about.schoolsDescription'
/></
p
>
</
li
>
</
li
>
<
li
>
<
li
>
<
h2
><
FormattedMessage
id=
'about.quotes'
/></
h2
>
<
h2
><
FormattedMessage
id=
'about.quotes'
/></
h2
>
<
img
src=
"/images/about/quotes.gif"
/>
<
img
src=
"/images/about/quotes.gif"
alt=
"Quotes about Scratch"
/>
<
p
><
FormattedHTMLMessage
id=
'about.quotesDescription'
/></
p
>
<
p
><
FormattedHTMLMessage
id=
'about.quotesDescription'
/></
p
>
</
li
>
</
li
>
<
li
>
<
li
>
<
h2
><
FormattedMessage
id=
'about.research'
/></
h2
>
<
h2
><
FormattedMessage
id=
'about.research'
/></
h2
>
<
img
src=
"/images/about/research-remix.png"
/>
<
img
src=
"/images/about/research-remix.png"
alt=
""
/>
<
p
><
FormattedHTMLMessage
id=
'about.researchDescription'
/></
p
>
<
p
><
FormattedHTMLMessage
id=
'about.researchDescription'
/></
p
>
</
li
>
</
li
>
...
...
src/views/credits/credits.jsx
View file @
43b39feb
This diff is collapsed.
Click to expand it.
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