codecombat/app/templates/home.jade

34 lines
1.2 KiB
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
extends /templates/base
block outer_content
#spacer
a#play-button(href="/play", data-i18n="common.play")
2014-01-03 13:32:13 -05:00
//#or-ipad(data-i18n="home.or_ipad")
//img(src="/images/pages/home/app_store_badge.svg")#apple-store-button
#slogan(data-i18n="home.slogan")
2014-01-03 13:32:13 -05:00
.alert.alert-danger.lt-ie9
strong(data-i18n="home.no_ie") CodeCombat does not run in Internet Explorer 8 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.
2014-11-27 12:44:08 -05:00
block extra_footer_content
if true || explainHourOfCode
// 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
| to introduce millions of students to one hour of computer science and computer programming.