Commit 5d693ed5 authored by Matthew Taylor's avatar Matthew Taylor

Add `/info/cards/` route

Also implements a method for handling translation of static files as described in https://github.com/LLK/scratch-www/issues/372#issuecomment-193350144
parent cc457aed
......@@ -42,6 +42,7 @@ var path = require('path');
var languages = require('../languages.json');
var localeCompare = require('./lib/locale-compare');
var localizedUrls = require('./lib/localized-urls');
// -----------------------------------------------------------------------------
// Main script
......@@ -92,6 +93,28 @@ files.forEach(function (file) {
localeCompare.getIdsForView(view, file, viewLocales, idsWithICU, icuWithIds);
});
// get asset url translations
var localizedAssetUrls = {};
files = glob.sync(path.resolve(__dirname, '../src/views/**/l10n-static.json'));
files.forEach(function (file) {
var dirPath = file.split('/');
dirPath.pop();
var view = dirPath.pop();
localizedAssetUrls[view] = {};
var assetUrls = JSON.parse(fs.readFileSync(file, 'utf8'));
for (var lang in localizedUrls) {
localizedAssetUrls[view][lang] = {};
for (var key in assetUrls) {
if (localizedUrls[lang].hasOwnProperty(key)) {
localizedAssetUrls[view][lang][key] = localizedUrls[lang][key];
} else {
localizedAssetUrls[view][lang][key] = assetUrls[key];
}
}
}
});
// md5 of english strings with message key as the value for searching po files.
// Sample structure: { 'sdfas43534sdfasdf': 'general-general.blah', 'lkjfasdf4t342asdfa': 'about-about.blah' }
var md5WithIds = localeCompare.getMD5Map(icuWithIds);
......@@ -110,5 +133,8 @@ for (i in views) {
if (views[i] in viewLocales) {
viewTranslations = merge(viewLocales[views[i]], viewTranslations);
}
if (views[i] in localizedAssetUrls) {
viewTranslations = merge(viewTranslations, localizedAssetUrls[[views[i]]]);
}
localeCompare.writeTranslationsToJS(outputDir, views[i], viewTranslations);
}
{
"en": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/Scratch2Cards.pdf",
"cards.danceLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/DanceCards.pdf",
"cards.danceThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-dance-thumb.png",
"cards.nameLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/AnimateYourNameCards.pdf",
"cards.nameThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-animateyourname-thumb.png",
"cards.hideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/Hide-and-Seek-Cards.pdf",
"cards.hideThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-hideandseek-thumb.png",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/01_v2_ChangeColor.pdf",
"cards.changeColorThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-changecolor-thumb.png",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/02_v2_MovetoaBeat.pdf",
"cards.moveToBeatThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-movetoabeat-thumb.png",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/03_v2_KeyMoves.pdf",
"cards.keyMovesThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-keymoves-thumb.png",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/04_v2_SaySomething.pdf",
"cards.saySomethingThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-saysomething-thumb.png",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/05_v2_Glide.pdf",
"cards.glideThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-glide-thumb.png",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/06_v2_FollowtheMouse.pdf",
"cards.followMouseThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-followthemouse-thumb.png",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/07_v2_DanceTwist.pdf",
"cards.danceTwistThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-dancetwist-thumb.png",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/08_v2_InteractiveWhirl.pdf",
"cards.whirlThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-interactivewhirl-thumb.png",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/09_v2_AnimateIt.pdf",
"cards.animateItThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-animateit-thumb.png ",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/10_v2_MovingAnimation.pdf",
"cards.movingAnimationThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-movinganimation-thumb.png",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/11_v2_SurpriseButton.pdf",
"cards.surpriseButtonThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-surprisebutton-thumb.png",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/12_v2_KeepScore.pdf",
"cards.keepScoreThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-keepscore-thumb.png"
},
"ar": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ar/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ar/01_v2_ChangeColor.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ar/04_v2_SaySomething.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ar/06_v2_FollowtheMouse.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ar/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ar/09_v2_AnimateIt.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ar/11_v2_SurpriseButton.pdf"
},
"ca": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ca/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ca/01_v2_ChangeColor.pdf",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ca/02_v2_MovetoaBeat.pdf",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ca/03_v2_KeyMoves.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ca/04_v2_SaySomething.pdf",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ca/05_v2_Glide.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ca/06_v2_FollowtheMouse.pdf",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ca/07_v2_DanceTwist.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ca/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ca/09_v2_AnimateIt.pdf",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ca/10_v2_MovingAnimation.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ca/11_v2_SurpriseButton.pdf",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ca/12_v2_KeepScore.pdf"
},
"cs": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/cs/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/cs/01_v2_ChangeColor.pdf",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/cs/02_v2_MovetoaBeat.pdf",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/cs/03_v2_KeyMoves.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/cs/04_v2_SaySomething.pdf",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/cs/05_v2_Glide.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/cs/06_v2_FollowtheMouse.pdf",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/cs/07_v2_DanceTwist.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/cs/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/cs/09_v2_AnimateIt.pdf",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/cs/10_v2_MovingAnimation.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/cs/11_v2_SurpriseButton.pdf",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/cs/12_v2_KeepScore.pdf"
},
"de": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/de/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/de/01_v2_ChangeColor.pdf",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/de/02_v2_MovetoaBeat.pdf",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/de/03_v2_KeyMoves.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/de/04_v2_SaySomething.pdf",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/de/05_v2_Glide.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/de/06_v2_FollowtheMouse.pdf",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/de/07_v2_DanceTwist.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/de/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/de/09_v2_AnimateIt.pdf",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/de/10_v2_MovingAnimation.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/de/11_v2_SurpriseButton.pdf",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/de/12_v2_KeepScore.pdf"
},
"es": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/es/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/es/01_v2_ChangeColor.pdf",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/es/02_v2_MovetoaBeat.pdf",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/es/03_v2_KeyMoves.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/es/04_v2_SaySomething.pdf",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/es/05_v2_Glide.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/es/06_v2_FollowtheMouse.pdf",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/es/07_v2_DanceTwist.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/es/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/es/09_v2_AnimateIt.pdf",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/es/10_v2_MovingAnimation.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/es/11_v2_SurpriseButton.pdf",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/es/12_v2_KeepScore.pdf"
},
"fr": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/fr/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/fr/01_v2_ChangeColor.pdf",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/fr/02_v2_MovetoaBeat.pdf",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/fr/03_v2_KeyMoves.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/fr/04_v2_SaySomething.pdf",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/fr/05_v2_Glide.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/fr/06_v2_FollowtheMouse.pdf",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/fr/07_v2_DanceTwist.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/fr/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/fr/09_v2_AnimateIt.pdf",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/fr/10_v2_MovingAnimation.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/fr/11_v2_SurpriseButton.pdf",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/fr/12_v2_KeepScore.pdf"
},
"hr": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/hr/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/hr/01_v2_ChangeColor.pdf",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/hr/02_v2_MovetoaBeat.pdf",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/hr/03_v2_KeyMoves.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/hr/04_v2_SaySomething.pdf",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/hr/05_v2_Glide.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/hr/06_v2_FollowtheMouse.pdf",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/hr/07_v2_DanceTwist.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/hr/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/hr/09_v2_AnimateIt.pdf",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/hr/10_v2_MovingAnimation.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/hr/11_v2_SurpriseButton.pdf",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/hr/12_v2_KeepScore.pdf"
},
"it": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/it/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/it/01_v2_ChangeColor.pdf",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/it/02_v2_MovetoaBeat.pdf",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/it/03_v2_KeyMoves.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/it/04_v2_SaySomething.pdf",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/it/05_v2_Glide.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/it/06_v2_FollowtheMouse.pdf",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/it/07_v2_DanceTwist.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/it/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/it/09_v2_AnimateIt.pdf",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/it/10_v2_MovingAnimation.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/it/11_v2_SurpriseButton.pdf",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/it/12_v2_KeepScore.pdf"
},
"ja": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja/01_v2_ChangeColor.pdf",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja/02_v2_MovetoaBeat.pdf",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja/03_v2_KeyMoves.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja/04_v2_SaySomething.pdf",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja/05_v2_Glide.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja/06_v2_FollowtheMouse.pdf",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja/07_v2_DanceTwist.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja/09_v2_AnimateIt.pdf",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja/10_v2_MovingAnimation.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja/11_v2_SurpriseButton.pdf",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja/12_v2_KeepScore.pdf"
},
"ja-hr": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja-hr/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja-hr/01_v2_ChangeColor.pdf",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja-hr/02_v2_MovetoaBeat.pdf",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja-hr/03_v2_KeyMoves.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja-hr/04_v2_SaySomething.pdf",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja-hr/05_v2_Glide.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja-hr/06_v2_FollowtheMouse.pdf",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja-hr/07_v2_DanceTwist.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja-hr/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja-hr/09_v2_AnimateIt.pdf",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja-hr/10_v2_MovingAnimation.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja-hr/11_v2_SurpriseButton.pdf",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ja-hr/12_v2_KeepScore.pdf"
},
"ko": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ko/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ko/01_v2_ChangeColor.pdf",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ko/02_v2_MovetoaBeat.pdf",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ko/03_v2_KeyMoves.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ko/04_v2_SaySomething.pdf",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ko/05_v2_Glide.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ko/06_v2_FollowtheMouse.pdf",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ko/07_v2_DanceTwist.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ko/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ko/09_v2_AnimateIt.pdf",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ko/10_v2_MovingAnimation.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ko/11_v2_SurpriseButton.pdf",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/ko/12_v2_KeepScore.pdf"
},
"nl": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/nl/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/nl/01_v2_ChangeColor.pdf",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/nl/02_v2_MovetoaBeat.pdf",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/nl/03_v2_KeyMoves.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/nl/04_v2_SaySomething.pdf",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/nl/05_v2_Glide.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/nl/06_v2_FollowtheMouse.pdf",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/nl/07_v2_DanceTwist.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/nl/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/nl/09_v2_AnimateIt.pdf",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/nl/10_v2_MovingAnimation.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/nl/11_v2_SurpriseButton.pdf",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/nl/12_v2_KeepScore.pdf"
},
"pt-br": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/pt-br/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/pt-br/01_v2_ChangeColor.pdf",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/pt-br/02_v2_MovetoaBeat.pdf",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/pt-br/03_v2_KeyMoves.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/pt-br/04_v2_SaySomething.pdf",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/pt-br/05_v2_Glide.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/pt-br/06_v2_FollowtheMouse.pdf",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/pt-br/07_v2_DanceTwist.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/pt-br/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/pt-br/09_v2_AnimateIt.pdf",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/pt-br/10_v2_MovingAnimation.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/pt-br/11_v2_SurpriseButton.pdf",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/pt-br/12_v2_KeepScore.pdf"
},
"sl": {
"cards.allCardsLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/sl/Scratch2Cards.pdf",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/sl/01_v2_ChangeColor.pdf",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/sl/02_v2_MovetoaBeat.pdf",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/sl/03_v2_KeyMoves.pdf",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/sl/04_v2_SaySomething.pdf",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/sl/05_v2_Glide.pdf",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/sl/06_v2_FollowtheMouse.pdf",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/sl/07_v2_DanceTwist.pdf",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/sl/08_v2_InteractiveWhirl.pdf",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/sl/09_v2_AnimateIt.pdf",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/sl/10_v2_MovingAnimation.pdf",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/sl/11_v2_SurpriseButton.pdf",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/sl/12_v2_KeepScore.pdf"
}
}
\ No newline at end of file
......@@ -24,6 +24,11 @@
"view": "credits",
"title": "Credits"
},
{
"pattern": "/info/cards",
"view": "cards",
"title": "Cards"
},
{
"pattern": "/jobs",
"view": "jobs",
......
var React = require('react');
var injectIntl = require('react-intl').injectIntl;
var FormattedMessage = require('react-intl').FormattedMessage;
var FormattedHTMLMessage = require('react-intl').FormattedHTMLMessage;
var render = require('../../lib/render.jsx');
var Box = require('../../components/box/box.jsx');
require('./cards.scss');
var Cards = injectIntl(React.createClass({
type: 'Cards',
render: function () {
var locale = window._locale || 'en';
var formatMessage = this.props.intl.formatMessage;
var englishLinks = {
'cards.allCardsLink': 'https://scratch.mit.edu/scratchr2/static/pdfs/help/Scratch2Cards.pdf'
};
return (
<div className="inner">
<div className="intro">
<div className="intro-content">
<h1><FormattedMessage id='cards.introHeader' /></h1>
<p><FormattedMessage id='cards.introContent' /></p>
<p>
<a href={formatMessage({id: 'cards.allCardsLink'})}>
<FormattedMessage id='cards.introAllCards' />
</a>
</p>
{(
locale.indexOf('en') === -1 &&
formatMessage({id: 'cards.allCardsLink'}) === englishLinks['cards.allCardsLink']
) ? [
<p>
<FormattedHTMLMessage id='cards.introWikiSupport' />
</p>
] : []}
{(
locale.indexOf('en') === -1 &&
formatMessage({id: 'cards.allCardsLink'}) !== englishLinks['cards.allCardsLink']
) ? [
<p>
<a href={englishLinks['cards.allCardsLink']}>
<FormattedMessage id='cards.introAllCards' />&nbsp;
(<FormattedMessage id='cards.introAllCardsEnglish' />)
</a>
</p>
] : []}
</div>
<img src='//scratch.mit.edu/scratchr2/static/images/help/card-use-overview.png' />
</div>
<div className='cards-container'>
<Box title={''}>
<div>
<h4><FormattedMessage id='cards.dance' /></h4>
<a href={formatMessage({id: 'cards.danceLink'})}>
<img src={formatMessage({id: 'cards.danceThumb'})} />
</a>
<a href={formatMessage({id: 'cards.danceLink'})}>
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.name' /></h4>
<a href={formatMessage({id: 'cards.nameLink'})}>
<img src={formatMessage({id: 'cards.nameThumb'})} />
</a>
<a href={formatMessage({id: 'cards.nameLink'})}>
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.hide' /></h4>
<a href={formatMessage({id: 'cards.hideLink'})}>
<img src={formatMessage({id: 'cards.hideThumb'})} />
</a>
<a href={formatMessage({id: 'cards.hideLink'})}>
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.changeColor' /></h4>
<a href={formatMessage({id: 'cards.changeColorLink'})}>
<img src={formatMessage({id: 'cards.changeColorThumb'})} />
</a>
<a href={formatMessage({id: 'cards.changeColorLink'})}>
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.moveToBeat' /></h4>
<a href={formatMessage({id: 'cards.moveToBeatLink'})}>
<img src={formatMessage({id: 'cards.moveToBeatThumb'})} />
</a>
<a href={formatMessage({id: 'cards.moveToBeatLink'})} class="inline-icon-left">
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.keyMoves' /></h4>
<a href={formatMessage({id: 'cards.keyMovesLink'})}>
<img src={formatMessage({id: 'cards.keyMovesThumb'})} />
</a>
<a href={formatMessage({id: 'cards.keyMovesLink'})} class="inline-icon-left">
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.saySomething' /></h4>
<a href={formatMessage({id: 'cards.saySomethingLink'})}>
<img src={formatMessage({id: 'cards.saySomethingThumb'})} />
</a>
<a href={formatMessage({id: 'cards.saySomethingLink'})} class="inline-icon-left">
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.glide' /></h4>
<a href={formatMessage({id: 'cards.glideLink'})}>
<img src={formatMessage({id: 'cards.glideThumb'})} />
</a>
<a href={formatMessage({id: 'cards.glideLink'})} class="inline-icon-left">
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.followMouse' /></h4>
<a href={formatMessage({id: 'cards.followMouseLink'})}>
<img src={formatMessage({id: 'cards.followMouseThumb'})} />
</a>
<a href={formatMessage({id: 'cards.followMouseLink'})} class="inline-icon-left">
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.danceTwist' /></h4>
<a href={formatMessage({id: 'cards.danceTwistLink'})}>
<img src={formatMessage({id: 'cards.danceTwistThumb'})} />
</a>
<a href={formatMessage({id: 'cards.danceTwistLink'})} class="inline-icon-left">
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.whirl' /></h4>
<a href={formatMessage({id: 'cards.whirlLink'})}>
<img src={formatMessage({id: 'cards.whirlThumb'})} />
</a>
<a href={formatMessage({id: 'cards.whirlLink'})} class="inline-icon-left">
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.animateIt' /></h4>
<a href={formatMessage({id: 'cards.animateItLink'})}>
<img src={formatMessage({id: 'cards.animateItThumb'})} />
</a>
<a href={formatMessage({id: 'cards.animateItLink'})} class="inline-icon-left">
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.movingAnimation' /></h4>
<a href={formatMessage({id: 'cards.movingAnimationLink'})}>
<img src={formatMessage({id: 'cards.movingAnimationThumb'})} />
</a>
<a href={formatMessage({id: 'cards.movingAnimationLink'})}>
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.surpriseButton' /></h4>
<a href={formatMessage({id: 'cards.surpriseButtonLink'})}>
<img src={formatMessage({id: 'cards.surpriseButtonThumb'})} />
</a>
<a href={formatMessage({id: 'cards.surpriseButtonLink'})}>
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
<div>
<h4><FormattedMessage id='cards.keepScore' /></h4>
<a href={formatMessage({id: 'cards.keepScoreLink'})}>
<img src={formatMessage({id: 'cards.keepScoreThumb'})} />
</a>
<a href={formatMessage({id: 'cards.keepScoreLink'})} class="inline-icon-left">
<img src="/svgs/pdf-icon-ui-blue.svg" alt="" className='pdf-icon' />
<FormattedMessage id='cards.viewCard' />
</a>
</div>
</Box>
</div>
</div>
);
}
}));
render(<Cards />, document.getElementById('view'));
@import "../../colors";
@import "../../typography";
.intro {
display: flex;
margin: 1em 0;
align-items: center;
justify-content: center;
.intro-content {
float: left;
width: 45%;
}
img {
width: 45%;
}
}
.cards-container {
text-align: center;
.box-content {
div {
display: inline-block;
margin: 0 .75em;
max-width: 25%;
a {
display: block;
.pdf-icon {
margin-right: .2em;
width: 1em;
}
}
}
}
}
{
"cards.allCardsLink": "//scratch.mit.edu/scratchr2/static/pdfs/help/Scratch2Cards.pdf",
"cards.danceLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/DanceCards.pdf",
"cards.danceLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/DanceCards.pdf",
"cards.danceThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-dance-thumb.png",
"cards.nameLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/AnimateYourNameCards.pdf",
"cards.nameThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-animateyourname-thumb.png",
"cards.hideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/Hide-and-Seek-Cards.pdf",
"cards.hideThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-hideandseek-thumb.png",
"cards.changeColorLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/01_v2_ChangeColor.pdf",
"cards.changeColorThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-changecolor-thumb.png",
"cards.moveToBeatLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/02_v2_MovetoaBeat.pdf",
"cards.moveToBeatThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-movetoabeat-thumb.png",
"cards.keyMovesLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/03_v2_KeyMoves.pdf",
"cards.keyMovesThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-keymoves-thumb.png",
"cards.saySomethingLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/04_v2_SaySomething.pdf",
"cards.saySomethingThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-saysomething-thumb.png",
"cards.glideLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/05_v2_Glide.pdf",
"cards.glideThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-glide-thumb.png",
"cards.followMouseLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/06_v2_FollowtheMouse.pdf",
"cards.followMouseThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-followthemouse-thumb.png",
"cards.danceTwistLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/07_v2_DanceTwist.pdf",
"cards.danceTwistThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-dancetwist-thumb.png",
"cards.whirlLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/08_v2_InteractiveWhirl.pdf",
"cards.whirlThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-interactivewhirl-thumb.png",
"cards.animateItLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/09_v2_AnimateIt.pdf",
"cards.animateItThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-animateit-thumb.png ",
"cards.movingAnimationLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/10_v2_MovingAnimation.pdf",
"cards.movingAnimationThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-movinganimation-thumb.png",
"cards.surpriseButtonLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/11_v2_SurpriseButton.pdf",
"cards.surpriseButtonThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-surprisebutton-thumb.png",
"cards.keepScoreLink": "//cdn.scratch.mit.edu/scratchr2/static/pdfs/help/12_v2_KeepScore.pdf",
"cards.keepScoreThumb": "//cdn.scratch.mit.edu/scratchr2/static/images/help/card-keepscore-thumb.png"
}
\ No newline at end of file
{
"cards.introHeader": "Scratch Cards",
"cards.introContent": "Scratch cards provide a quick way to learn new Scratch code.",
"cards.introAllCards": "Get all the Cards",
"cards.introAllCardsEnglish": "English",
"cards.introWikiSupport": "Looking for Scratch Cards in your language? Check <a href=\"http://wiki.scratch.mit.edu/wiki/Scratch_Support_Materials\">Scratch Wiki</a>.",
"cards.viewCard": "View Card",
"cards.dance": "Dance, Dance, Dance",
"cards.name": "Animate Your Name",
"cards.hide": "Hide and Seek",
"cards.changeColor": "Change Color",
"cards.moveToBeat": "Move to a Beat",
"cards.keyMoves": "Key Moves",
"cards.saySomething": "Say Something",
"cards.glide": "Glide",
"cards.followMouse": "Follow the Mouse",
"cards.danceTwist": "Dance Twist",
"cards.whirl": "Interactive Whirl",
"cards.animateIt": "Animate It",
"cards.movingAnimation": "Moving Animation",
"cards.surpriseButton": "Surprise Button",
"cards.keepScore": "Keep Score"
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="20px" height="20px" viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve">
<g>
<g>
<path style="fill:#41ABE1;" d="M11.8,2.2L16.6,7v0L11.8,2.2z"/>
<path style="fill:#41ABE1;" d="M16.8,7.3c0-0.1-0.1-0.2-0.1-0.3c0,0,0,0,0,0l-4.8-4.8C11.7,2.1,11.6,2,11.4,2H7.1
C5.9,2,4.8,3.1,4.8,4.4v4.4c0,0.4,0.3,0.6,0.6,0.6C5.8,9.4,6,9.2,6,8.8V4.4c0-0.6,0.5-1.1,1.1-1.1h3.6v2.4C10.8,7,11.8,8,13.1,8
h2.4v7.6c0,0.6-0.5,1.1-1.1,1.1H7.1c-0.5,0-0.8-0.3-1-0.7c-0.1-0.2-0.3-0.4-0.5-0.4H5.5c-0.4,0-0.7,0.4-0.6,0.8
C5.3,17.4,6.2,18,7.1,18h7.3c1.3,0,2.4-1.1,2.4-2.4V7.4C16.8,7.4,16.8,7.3,16.8,7.3z M13.1,6.8c-0.6,0-1.1-0.5-1.1-1.1V4.1
l2.6,2.6H13.1z"/>
</g>
<g>
<path style="fill:#41ABE1;" d="M3.2,10.9h1.5c0.9,0,1.4,0.5,1.4,1.2v0c0,0.8-0.6,1.2-1.5,1.2H4.2v1h-1V10.9z M4.6,12.6
c0.3,0,0.6-0.2,0.6-0.5v0c0-0.3-0.2-0.5-0.6-0.5H4.2v0.9H4.6z"/>
<path style="fill:#41ABE1;" d="M7,10.9h1.3c1.2,0,2,0.7,2,1.7v0c0,1-0.7,1.7-2,1.7H7V10.9z M8.4,13.5c0.6,0,1-0.3,1-0.9v0
c0-0.6-0.4-0.9-1-0.9H8v1.8H8.4z"/>
<path style="fill:#41ABE1;" d="M11.3,10.9h2.8v0.8h-1.8v0.6h1.6v0.8h-1.6v1.2h-1V10.9z"/>
</g>
</g>
</svg>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment