jam-cloud/web/app/views/users/welcome.html.haml

42 lines
1.6 KiB
Plaintext

.welcome
.landing-tag
%h1 Play music together over the Internet as if in the same room
.login-wrapper
= link_to image_tag("web/cta_button.png", :alt => "Sign up now for your free account!"), signup_path, class: "signup", id: "signup"
.clearleft
= link_to "Already have an account?", signin_path, class: "signin", id: "signin"
.share_links
- [:twitter, :facebook, :google].each do |site|
= link_to(image_tag("content/icon_#{site}.png", :style => "vertical-align:top"), "javascript:void(0)", {'data-site' => site, :class => 'like-link'})
= ' '
- content_for :after_black_bar do
- if @jamfest_2014
.jamfest{style: 'top:-70px;position:relative'}
%a{ href: event_path(@jamfest_2014.slug), style: 'font-size:20px;margin-top:11px' }
Listen to the terrific band performances from Virtual Jam Fest 2014!
%div{style: "padding-top:20px;"}
.right
= render :partial => "buzz"
.left
= render :partial => "latest"
.clearall
.home-questions
= "Have questions about how JamKazam works?"
%a{id: "faq-open", href: "https://jamkazam.desk.com/customer/portal/articles/1305119-frequently-asked-questions-faq", target: "_blank"} Here are some answers
- content_for :extra_js do
:javascript
$(function () {
window.JK.WelcomePage();
$('.like-link').click(function() {
var like_site = $(this).data('site');
JK.GA.trackJKSocial(JK.GA.Categories.jkLike, like_site, JK.clientType());
window.open("/endorse/0/"+like_site, '_blank');
});
})
- content_for :extra_dialogs do
= render :partial => "clients/shareDialog"
= render :partial => "clients/commentDialog"