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
68c8deca
Commit
68c8deca
authored
Dec 10, 2018
by
Eric Rosenbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove microworlds pages
parent
8e6af596
Changes
14
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
0 additions
and
1912 deletions
+0
-1912
.tx/config
.tx/config
+0
-6
src/routes.json
src/routes.json
+0
-35
src/views/microworld/art/art.json
src/views/microworld/art/art.json
+0
-714
src/views/microworld/art/art.jsx
src/views/microworld/art/art.jsx
+0
-10
src/views/microworld/fashion/fashion.json
src/views/microworld/fashion/fashion.json
+0
-475
src/views/microworld/fashion/fashion.jsx
src/views/microworld/fashion/fashion.jsx
+0
-10
src/views/microworld/hiphop/hiphop.json
src/views/microworld/hiphop/hiphop.json
+0
-532
src/views/microworld/hiphop/hiphop.jsx
src/views/microworld/hiphop/hiphop.jsx
+0
-10
src/views/microworld/soccer/soccer.json
src/views/microworld/soccer/soccer.json
+0
-8
src/views/microworld/soccer/soccer.jsx
src/views/microworld/soccer/soccer.jsx
+0
-10
src/views/microworldshomepage/l10n.json
src/views/microworldshomepage/l10n.json
+0
-13
src/views/microworldshomepage/microworlds.json
src/views/microworldshomepage/microworlds.json
+0
-37
src/views/microworldshomepage/microworldshomepage.jsx
src/views/microworldshomepage/microworldshomepage.jsx
+0
-49
src/views/microworldshomepage/microworldshomepage.scss
src/views/microworldshomepage/microworldshomepage.scss
+0
-3
No files found.
.tx/config
View file @
68c8deca
...
...
@@ -86,12 +86,6 @@ source_file = src/views/splash/l10n.json
source_lang = en
type = KEYVALUEJSON
[scratch-website.microworlds-homepage-l10njson]
file_filter = localizations/microworlds-homepage/<lang>.json
source_file = src/views/microworldshomepage/l10n.json
source_lang = en
type = KEYVALUEJSON
[scratch-website.conference-index-2017-l10njson]
file_filter = localizations/conference-index-2017/<lang>.json
source_file = src/views/conference/2017/index/l10n.json
...
...
src/routes.json
View file @
68c8deca
...
...
@@ -162,41 +162,6 @@
"view"
:
"messages/container"
,
"title"
:
"Messages"
},
{
"name"
:
"microworld-art"
,
"pattern"
:
"^/microworlds/art"
,
"routeAlias"
:
"/microworlds"
,
"view"
:
"microworld/art/art"
,
"title"
:
"Art"
},
{
"name"
:
"microworld-fashion"
,
"pattern"
:
"^/microworlds/fashion"
,
"routeAlias"
:
"/microworlds"
,
"view"
:
"microworld/fashion/fashion"
,
"title"
:
"Fashion"
},
{
"name"
:
"microworld-hiphop"
,
"pattern"
:
"^/microworlds/hiphop"
,
"routeAlias"
:
"/microworlds"
,
"view"
:
"microworld/hiphop/hiphop"
,
"title"
:
"Hip Hop Dance"
},
{
"name"
:
"microworld-soccer"
,
"pattern"
:
"^/microworlds/soccer"
,
"routeAlias"
:
"/microworlds"
,
"view"
:
"microworld/soccer/soccer"
,
"title"
:
"Soccer"
},
{
"name"
:
"microworlds-homepage"
,
"pattern"
:
"^/microworlds/go/?(
\\
?.*)?$"
,
"routeAlias"
:
"/microworlds"
,
"view"
:
"microworldshomepage/microworldshomepage"
,
"title"
:
"Microworlds"
},
{
"name"
:
"projects"
,
"pattern"
:
"^/projects(/editor|(/
\\
d+(/editor|/fullscreen|/embed)?)?)?/?(
\\
?.*)?$"
,
...
...
src/views/microworld/art/art.json
deleted
100644 → 0
View file @
8e6af596
This diff is collapsed.
Click to expand it.
src/views/microworld/art/art.jsx
deleted
100644 → 0
View file @
8e6af596
const
React
=
require
(
'
react
'
);
// eslint-disable-line
const
Microworld
=
require
(
'
../../../components/microworld/microworld.jsx
'
);
const
Page
=
require
(
'
../../../components/page/www/page.jsx
'
);
const
render
=
require
(
'
../../../lib/render.jsx
'
);
const
microworldData
=
require
(
'
./art.json
'
);
render
(<
Page
><
Microworld
microworldData=
{
microworldData
}
/></
Page
>,
document
.
getElementById
(
'
app
'
));
src/views/microworld/fashion/fashion.json
deleted
100644 → 0
View file @
8e6af596
This diff is collapsed.
Click to expand it.
src/views/microworld/fashion/fashion.jsx
deleted
100644 → 0
View file @
8e6af596
const
React
=
require
(
'
react
'
);
// eslint-disable-line
const
Microworld
=
require
(
'
../../../components/microworld/microworld.jsx
'
);
const
Page
=
require
(
'
../../../components/page/www/page.jsx
'
);
const
render
=
require
(
'
../../../lib/render.jsx
'
);
const
microworldData
=
require
(
'
./fashion.json
'
);
render
(<
Page
><
Microworld
microworldData=
{
microworldData
}
/></
Page
>,
document
.
getElementById
(
'
app
'
));
src/views/microworld/hiphop/hiphop.json
deleted
100644 → 0
View file @
8e6af596
This diff is collapsed.
Click to expand it.
src/views/microworld/hiphop/hiphop.jsx
deleted
100644 → 0
View file @
8e6af596
const
React
=
require
(
'
react
'
);
// eslint-disable-line
const
Microworld
=
require
(
'
../../../components/microworld/microworld.jsx
'
);
const
Page
=
require
(
'
../../../components/page/www/page.jsx
'
);
const
render
=
require
(
'
../../../lib/render.jsx
'
);
const
microworldData
=
require
(
'
./hiphop.json
'
);
render
(<
Page
><
Microworld
microworldData=
{
microworldData
}
/></
Page
>,
document
.
getElementById
(
'
app
'
));
src/views/microworld/soccer/soccer.json
deleted
100644 → 0
View file @
8e6af596
{
"title"
:
"Soccer"
,
"description"
:[
"Make your own soccer animation or game!"
],
"microworld_project_id"
:
"133865271"
,
"show_forum"
:
false
}
src/views/microworld/soccer/soccer.jsx
deleted
100644 → 0
View file @
8e6af596
const
React
=
require
(
'
react
'
);
// eslint-disable-line
const
Microworld
=
require
(
'
../../../components/microworld/microworld.jsx
'
);
const
Page
=
require
(
'
../../../components/page/www/page.jsx
'
);
const
render
=
require
(
'
../../../lib/render.jsx
'
);
const
microworldData
=
require
(
'
./soccer.json
'
);
render
(<
Page
><
Microworld
microworldData=
{
microworldData
}
/></
Page
>,
document
.
getElementById
(
'
app
'
));
src/views/microworldshomepage/l10n.json
deleted
100644 → 0
View file @
8e6af596
{
"tile.tutorial"
:
"Microworld"
,
"tile.tryIt"
:
"Try It"
,
"microworlds.title"
:
"Scratch Microworlds"
,
"microworlds.subTitle"
:
"You can get started with Scratch in a variety of ways. Click a picture to try one."
,
"microworlds.HipHopTitle"
:
"Hip Hop Dance"
,
"microworlds.FashionTitle"
:
"Fashion"
,
"microworlds.HouseTitle"
:
"Interactive House"
,
"microworlds.MakeMusicTitle"
:
"Make Music"
,
"microworlds.SoccerTitle"
:
"Soccer"
,
"microworlds.JokeTitle"
:
"Make a Joke"
,
"microworlds.ArtTitle"
:
"Make Art"
}
src/views/microworldshomepage/microworlds.json
deleted
100644 → 0
View file @
8e6af596
[
{
"title"
:
"microworlds.HipHopTitle"
,
"thumbUrl"
:
"//cdn.scratch.mit.edu/static/site/projects/thumbnails/13386/5050.png"
,
"tutorialLoc"
:
"/pathways/hiphop"
},
{
"title"
:
"microworlds.MakeMusicTitle"
,
"thumbUrl"
:
"//cdn.scratch.mit.edu/static/site/projects/thumbnails/13386/5393.png"
,
"tutorialLoc"
:
"/projects/embed-editor/133865393/?isMicroworld=true"
},
{
"title"
:
"microworlds.SoccerTitle"
,
"thumbUrl"
:
"//cdn.scratch.mit.edu/static/site/projects/thumbnails/13386/5271.png"
,
"tutorialLoc"
:
"/projects/embed-editor/133865271/?isMicroworld=true"
},
{
"title"
:
"microworlds.FashionTitle"
,
"thumbUrl"
:
"//cdn.scratch.mit.edu/static/site/projects/thumbnails/13386/5474.png"
,
"tutorialLoc"
:
"/pathways/fashion"
},
{
"title"
:
"microworlds.ArtTitle"
,
"thumbUrl"
:
"//cdn.scratch.mit.edu/static/site/projects/thumbnails/13386/5435.png"
,
"tutorialLoc"
:
"/projects/embed-editor/133865435/?isMicroworld=true"
},
{
"title"
:
"microworlds.JokeTitle"
,
"thumbUrl"
:
"//cdn.scratch.mit.edu/static/site/projects/thumbnails/13386/5327.png"
,
"tutorialLoc"
:
"/projects/embed-editor/133865327/?isMicroworld=true"
},
{
"title"
:
"microworlds.HouseTitle"
,
"thumbUrl"
:
"//cdn.scratch.mit.edu/static/site/projects/thumbnails/13383/5490.png"
,
"tutorialLoc"
:
"/projects/embed-editor/133835490/?isMicroworld=true"
}
]
src/views/microworldshomepage/microworldshomepage.jsx
deleted
100644 → 0
View file @
8e6af596
const
injectIntl
=
require
(
'
react-intl
'
).
injectIntl
;
const
intlShape
=
require
(
'
react-intl
'
).
intlShape
;
const
FormattedHTMLMessage
=
require
(
'
react-intl
'
).
FormattedHTMLMessage
;
const
FormattedMessage
=
require
(
'
react-intl
'
).
FormattedMessage
;
const
React
=
require
(
'
react
'
);
const
MasonryGrid
=
require
(
'
../../components/masonrygrid/masonrygrid.jsx
'
);
const
TitleBanner
=
require
(
'
../../components/title-banner/title-banner.jsx
'
);
const
TTTTile
=
require
(
'
../../components/ttt-tile/ttt-tile.jsx
'
);
const
Page
=
require
(
'
../../components/page/www/page.jsx
'
);
const
render
=
require
(
'
../../lib/render.jsx
'
);
const
Tiles
=
require
(
'
./microworlds.json
'
);
require
(
'
./microworldshomepage.scss
'
);
const
MicroworldsHomepage
=
props
=>
(
<
div
className=
"microworlds"
>
<
TitleBanner
className=
"masthead mod-blue-bg"
>
<
h1
className=
"title-banner-h1"
>
<
FormattedMessage
id=
"microworlds.title"
/>
</
h1
>
<
p
className=
"intro title-banner-p"
>
<
FormattedHTMLMessage
id=
"microworlds.subTitle"
/>
</
p
>
</
TitleBanner
>
<
div
className=
"inner"
>
<
MasonryGrid
>
{
Tiles
.
map
((
tile
,
key
)
=>
(
<
TTTTile
key=
{
key
}
thumbUrl=
{
tile
.
thumbUrl
}
title=
{
props
.
intl
.
formatMessage
({
id
:
tile
.
title
})
}
tutorialLoc=
{
tile
.
tutorialLoc
}
/>
))
}
</
MasonryGrid
>
</
div
>
</
div
>
);
MicroworldsHomepage
.
propTypes
=
{
intl
:
intlShape
};
const
WrappedMicroworldsHomepage
=
injectIntl
(
MicroworldsHomepage
);
render
(<
Page
><
WrappedMicroworldsHomepage
/></
Page
>,
document
.
getElementById
(
'
app
'
));
src/views/microworldshomepage/microworldshomepage.scss
deleted
100644 → 0
View file @
8e6af596
#view
{
padding
:
0
;
}
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