refactor map view and make buttons and text bigger

This commit is contained in:
Quincy Larson
2016-01-14 23:06:06 -08:00
committed by Berkeley Martinez
parent 3105dda128
commit 1e5f3dc61c
16 changed files with 166 additions and 324 deletions

View File

@@ -433,7 +433,7 @@ module.exports = function(app) {
Observable.combineLatest(
firstChallenge$,
lastChallenge$,
lastChallenge$
)
.flatMap(([firstChallenge, { id: lastChallengeId } ]) => {
// no id supplied, load first challenge
@@ -623,10 +623,10 @@ module.exports = function(app) {
getSuperBlocks$(challenge$, getCompletedChallengeIds(user))
.subscribe(
superBlocks => {
const view = showAside ? 'map/showAside' : 'map/show';
res.render(view, {
res.render('map/show', {
superBlocks,
title: 'A Map to Learn to Code and Become a Software Engineer'
title: 'A Map to Learn to Code and Become a Software Engineer',
showAside
});
},
next