Remove Clojure from /about and play modals

This commit is contained in:
Matt Lott 2016-04-27 16:15:24 -07:00
parent 7788608d2d
commit 7b88eb0250
7 changed files with 2 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View file

@ -758,7 +758,7 @@
story_statistic_2b: "200+ countries"
story_statistic_3a: "Together, they have written"
story_statistic_3b: "1 billion lines of code and counting"
story_statistic_3c: "across six different programming languages"
story_statistic_3c: "across many different programming languages" # {change}
story_long_way_1: "Though we've come a long way..."
story_sketch_caption: "Nick's very first sketch depicting a programming game in action."
story_long_way_2: "we still have much to do before we complete our quest, so..."

View file

@ -233,7 +233,7 @@ block content
#story-languages
.text-center
.text-h5(data-i18n="about.story_statistic_3c")
#language-icons.text-center(title="Clojure, CoffeeScript, JavaScript, Python, Java, Lua")
#language-icons.text-center(title="CoffeeScript, JavaScript, Python, Java, Lua")
img.hidden-xs(src="/images/pages/about/languages.png")
img.hidden-sm.hidden-md.hidden-lg(src="/images/pages/about/languages_group1.png")
img.hidden-sm.hidden-md.hidden-lg(src="/images/pages/about/languages_group2.png")

View file

@ -100,10 +100,8 @@ module.exports = class LadderPlayModal extends ModalView
{id: 'python', name: 'Python'}
{id: 'javascript', name: 'JavaScript'}
{id: 'coffeescript', name: 'CoffeeScript (Experimental)'}
{id: 'clojure', name: 'Clojure (Experimental)'}
{id: 'lua', name: 'Lua'}
{id: 'java', name: 'Java'}
#{id: 'io', name: 'Io (Experimental)'}
]
ctx.league = @options.league
teamsList = teamDataFromLevel @level

View file

@ -111,9 +111,7 @@ module.exports = class PlayHeroesModal extends ModalView
{id: 'python', name: "Python (#{$.i18n.t('choose_hero.default')})"}
{id: 'javascript', name: 'JavaScript'}
{id: 'coffeescript', name: "CoffeeScript (#{$.i18n.t('choose_hero.experimental')})"}
{id: 'clojure', name: "Clojure (#{$.i18n.t('choose_hero.experimental')})"}
{id: 'lua', name: 'Lua'}
#{id: 'io', name: "Io (#{$.i18n.t('choose_hero.experimental')})"}
]
if me.isAdmin() or not application.isProduction()