2014-01-03 13:32:13 -05:00
|
|
|
extends /templates/base
|
|
|
|
|
2015-08-08 08:35:08 -04:00
|
|
|
block append site_nav
|
|
|
|
#kids-coding-container
|
|
|
|
img#boy-coding.kid-coding(src="/images/pages/home/boy_coding.png", alt="", draggable="false")
|
|
|
|
img#girl-coding.kid-coding(src="/images/pages/home/girl_coding.png", alt="", draggable="false")
|
|
|
|
|
2014-11-22 20:38:01 -05:00
|
|
|
block outer_content
|
|
|
|
#spacer
|
|
|
|
|
2015-02-23 18:57:43 -05:00
|
|
|
a#play-button(href="/play", data-i18n="[html]home.play")
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-11-30 15:44:18 -05:00
|
|
|
//a(href="https://itunes.apple.com/us/app/codecombat/id936523909?mt=8")
|
|
|
|
// #or-ipad(data-i18n="home.or_ipad")
|
|
|
|
//
|
|
|
|
//a(href="https://itunes.apple.com/us/app/codecombat/id936523909?mt=8")
|
|
|
|
// img(src="/images/pages/home/app_store_badge.svg")#apple-store-button
|
2015-09-21 15:40:33 -04:00
|
|
|
|
2015-10-16 17:55:50 -04:00
|
|
|
// Example of how to throw down a temporary news link
|
|
|
|
//#news
|
|
|
|
// a(href="/play/ladder/ace-of-coders", data-i18n="temp.ace_of_coders_tournament") New: play in the Ace of Coders tournament now!
|
2014-11-22 20:38:01 -05:00
|
|
|
|
|
|
|
#slogan(data-i18n="home.slogan")
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-12-07 21:56:57 -05:00
|
|
|
//- TODO: This does not work on IE8
|
2014-09-25 19:17:29 -04:00
|
|
|
.alert.alert-danger.lt-ie9
|
|
|
|
strong(data-i18n="home.no_ie") CodeCombat does not run in Internet Explorer 8 or older. Sorry!
|
2014-11-22 20:38:01 -05:00
|
|
|
|
2015-10-21 20:00:46 -04:00
|
|
|
if view.isIPadBrowser() || view.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!
|
2015-10-21 20:00:46 -04:00
|
|
|
else if view.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.
|
2015-06-25 10:30:13 -04:00
|
|
|
|
2014-11-27 12:44:08 -05:00
|
|
|
|
|
|
|
block extra_footer_content
|
2015-10-21 20:00:46 -04:00
|
|
|
if view.explainsHourOfCode
|
2014-11-27 12:44:08 -05:00
|
|
|
// Does not show up unless lang is en-US.
|
|
|
|
div.hour-of-code-explanation
|
|
|
|
| The 'Hour of Code' is a nationwide initiative by
|
|
|
|
a(href="http://csedweek.org") Computer Science Education Week
|
|
|
|
| and
|
|
|
|
a(href="http://code.org") Code.org
|
2015-10-13 11:11:55 -04:00
|
|
|
| to introduce millions of students to one hour of computer science and computer programming.
|