diff --git a/app/locale/en.coffee b/app/locale/en.coffee index 9b7c60e79..9accd4d4b 100644 --- a/app/locale/en.coffee +++ b/app/locale/en.coffee @@ -31,6 +31,7 @@ contact: "Contact" twitter_follow: "Follow" teachers: "Teachers" + careers: "Careers" modal: close: "Close" @@ -1260,6 +1261,9 @@ guide: temp: "Temp" + temp: + ace_of_coders_tournament: "New: play in the Ace of Coders tournament now!" + multiplayer: multiplayer_title: "Multiplayer Settings" # We'll be changing this around significantly soon. Until then, it's not important to translate. multiplayer_toggle: "Enable multiplayer" diff --git a/app/styles/home.sass b/app/styles/home.sass index 57ee3e1f6..d3dddd9f6 100644 --- a/app/styles/home.sass +++ b/app/styles/home.sass @@ -30,7 +30,7 @@ @media screen and ( max-height: 800px ) height: 510px - #play-button, #or-ipad, #apple-store-button, #slogan, .alert + #play-button, #or-ipad, #apple-store-button, #slogan, .alert, #news text-align: center text-transform: uppercase font-weight: bold @@ -77,6 +77,27 @@ @media screen and ( max-height: 800px ) top: 363px + #news + background: rgba(0, 0, 0, 0.75) + border-radius: 20px + box-shadow: 0 0 30px rgb(149,255,253) + top: 531px + height: 132px + width: 350px + padding: 15px + font-size: 28px + line-height: 32px + @include rotate(-10deg) + + a + color: rgb(149,255,253) + + &:hover + color: rgb(75,230,180) + + @media screen and ( max-height: 800px ) + top: 301px + #slogan top: 681px height: 132px diff --git a/app/templates/base.jade b/app/templates/base.jade index ec136a7c1..a9079b1ec 100644 --- a/app/templates/base.jade +++ b/app/templates/base.jade @@ -60,6 +60,7 @@ block footer #footer-links a(tabindex=-1, data-toggle="coco-modal", data-target="core/ContactModal", data-i18n="nav.contact") Contact a(href='http://blog.codecombat.com/', data-i18n="nav.blog") + a(href='/careers', tabindex=-1, data-i18n="nav.careers") Careers a(href='/contribute', tabindex=-1, data-i18n="nav.contribute") Contribute a(href='/legal', tabindex=-1, data-i18n="nav.legal") Legal a(href='/play/ladder', tabindex=-1, data-i18n="home.multiplayer").multiplayer-nav-link diff --git a/app/templates/home-view.jade b/app/templates/home-view.jade index 28a136c55..6b68e131b 100644 --- a/app/templates/home-view.jade +++ b/app/templates/home-view.jade @@ -15,6 +15,9 @@ block outer_content // //a(href="https://itunes.apple.com/us/app/codecombat/id936523909?mt=8") // img(src="/images/pages/home/app_store_badge.svg")#apple-store-button + + #news + a(href="/play/ladder/ace-of-coders", data-i18n="temp.ace_of_coders_tournament") New: play in the Ace of Coders tournament now! #slogan(data-i18n="home.slogan")