codecombat/app/templates/home.jade

27 lines
938 B
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
extends /templates/base
block content
h1#site-slogan(data-i18n="home.slogan") Learn to Code by Playing a Game
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.
2014-04-03 18:10:24 -04:00
2014-09-25 17:38:02 -04:00
a#beginner-campaign(href="/play")
2014-03-16 19:59:48 -04:00
div.game-mode-wrapper
2014-09-25 17:38:02 -04:00
img(src="/images/pages/home/play_img.png").img-rounded
h3(data-i18n="home.campaign") Campaign
h4(data-i18n="home.for_beginners") For Beginners
.play-text(data-i18n="home.play") Play
2014-03-16 19:59:48 -04:00
.clearfix