2014-01-03 13:32:13 -05:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block content
|
|
|
|
|
2014-03-16 19:59:48 -04:00
|
|
|
h1#site-slogan(data-i18n="home.slogan") Learn to Code JavaScript by Playing a Game
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-03-16 19:59:48 -04:00
|
|
|
#trailer-wrapper
|
|
|
|
<object width="640" height="360"><param name="movie" value="//www.youtube.com/v/1zjaA13k-dA?hl=en_US&version=3&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/v/1zjaA13k-dA?hl=en_US&version=3&rel=0" type="application/x-shockwave-flash" width="640" height="360" allowscriptaccess="always" allowfullscreen="true"></embed></object>
|
|
|
|
|
|
|
|
hr
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-03-16 19:59:48 -04:00
|
|
|
.alert.alert-danger.lt-ie10
|
|
|
|
strong(data-i18n="home.no_ie") CodeCombat does not run in Internet Explorer 9 or older. Sorry!
|
2014-01-03 13:32:13 -05:00
|
|
|
|
|
|
|
if isMobile
|
2014-03-16 19:59:48 -04:00
|
|
|
.alert.alert-danger.mobile
|
|
|
|
strong(data-i18n="home.no_mobile") CodeCombat wasn't designed for mobile devices and may not work!
|
2014-01-03 13:32:13 -05:00
|
|
|
if isOldBrowser
|
2014-03-16 19:59:48 -04:00
|
|
|
.alert.alert-danger.old-browser
|
|
|
|
strong(data-i18n="home.old_browser") Uh oh, your browser is too old to run CodeCombat. Sorry!
|
|
|
|
br
|
|
|
|
span(data-i18n="home.old_browser_suffix") You can try anyway, but it probably won't work.
|
|
|
|
|
|
|
|
a#beginner-campaign(href="/play/level/rescue-mission")
|
|
|
|
div.game-mode-wrapper
|
|
|
|
if isEnglish
|
|
|
|
img(src="/images/pages/home/campaign.jpg").img-rounded
|
|
|
|
else
|
|
|
|
img(src="/images/pages/home/campaign_notext.jpg").img-rounded
|
|
|
|
h3(data-i18n="home.campaign") Campaign
|
|
|
|
h4(data-i18n="home.for-beginners") For Beginners
|
2014-03-16 20:48:16 -04:00
|
|
|
.play-text(data-i18n="home.play") Play
|
2014-03-16 19:59:48 -04:00
|
|
|
|
|
|
|
a#multiplayer(href="/play/ladder/dungeon-arena")
|
|
|
|
div.game-mode-wrapper
|
|
|
|
if isEnglish
|
|
|
|
img(src="/images/pages/home/multiplayer.jpg").img-rounded
|
|
|
|
else
|
|
|
|
img(src="/images/pages/home/multiplayer_notext.jpg").img-rounded
|
|
|
|
h3(data-i18n="home.multiplayer") Multiplayer
|
|
|
|
h4(data-i18n="home.for-developers") For Developers
|
2014-03-16 20:48:16 -04:00
|
|
|
.play-text(data-i18n="home.play") Play
|
2014-03-16 19:59:48 -04:00
|
|
|
|
|
|
|
.clearfix
|