mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-31 07:12:49 -04:00
Update /schools contact us button styling
This commit is contained in:
parent
8837d042ab
commit
d369c0b47c
3 changed files with 22 additions and 6 deletions
app
|
@ -16,20 +16,31 @@
|
|||
|
||||
.btn-contact-us
|
||||
background-color: #3878DE
|
||||
border: none
|
||||
color: #FFFFFF
|
||||
font-size: 20px
|
||||
font-size: 18px
|
||||
margin-top: 20px
|
||||
padding: 20px
|
||||
width: 330px
|
||||
text-decoration: none
|
||||
text-transform: uppercase
|
||||
|
||||
div
|
||||
text-align: left
|
||||
|
||||
img
|
||||
float: left
|
||||
margin-right: 10px
|
||||
|
||||
|
||||
.btn-create-account
|
||||
background-color: #09AC48
|
||||
color: #FFFFFF
|
||||
display: inline-block
|
||||
font-size: 20px
|
||||
font-size: 18px
|
||||
margin: 10px
|
||||
padding: 20px
|
||||
padding: 24px
|
||||
width: 400px
|
||||
text-decoration: none
|
||||
text-transform: uppercase
|
||||
|
||||
|
|
|
@ -7,9 +7,9 @@ block content
|
|||
br
|
||||
br
|
||||
.text-right
|
||||
a.btn-contact-us(href='/teachers/freetrial')
|
||||
button.btn-contact-us(href='/teachers/freetrial')
|
||||
img(src='/images/pages/sales/chat_icon.png')
|
||||
span.spl contact us for pricing and free trial
|
||||
div contact us for pricing and a free trial
|
||||
|
||||
.hero-quote-container
|
||||
.hero-quote "CodeCombat is without question the most engaging platform for learning programming languages."
|
||||
|
@ -204,5 +204,5 @@ block content
|
|||
br
|
||||
|
||||
p.text-center
|
||||
a.btn-contact-us(href='/teachers/freetrial') contact us for a free trial
|
||||
button.btn-contact-us contact us for a free trial
|
||||
br
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
app = require 'core/application'
|
||||
AuthModal = require 'views/core/AuthModal'
|
||||
RootView = require 'views/core/RootView'
|
||||
template = require 'templates/sales-view'
|
||||
|
@ -7,12 +8,16 @@ module.exports = class SalesView extends RootView
|
|||
template: template
|
||||
|
||||
events:
|
||||
'click .btn-contact-us': 'onClickContactUs'
|
||||
'click .btn-create-account': 'onClickSignup'
|
||||
'click .btn-login-account': 'onClickLogin'
|
||||
|
||||
getTitle: ->
|
||||
'CodeCombat'
|
||||
|
||||
onClickContactUs: (e) ->
|
||||
app.router.navigate '/teachers/freetrial', trigger: true
|
||||
|
||||
onClickLogin: (e) ->
|
||||
@openModalView new AuthModal(mode: 'login') if me.get('anonymous')
|
||||
window.tracker?.trackEvent 'Started Login', category: 'Sales', label: 'Sales Login'
|
||||
|
|
Loading…
Add table
Reference in a new issue