jam-cloud/web/app/views/events/event.html.haml

47 lines
2.0 KiB
Plaintext

- provide(:title, @event.title)
- provide(:description, @event.social_description || "Play music together over the Internet as if in the same room.")
-content_for :social_meta do
%meta{property: 'fb_app_id', content: Rails.application.config.facebook_app_id}
%meta{property: 'og:title', content: 'JamKazam'}
%meta{property: 'og:url', content: request.original_url}
%meta{property: 'og:description', content: @event.social_description || "Play music together over the Internet as if in the same room."}
%meta{property: 'og:image', content: request.protocol + request.host_with_port + image_path("web/logo-256.png")}
%meta{property: 'og:image:width', content: '256'}
%meta{property: 'og:image:height', content: '256'}
%meta{property: 'og:type', content: 'website'}
%meta{property: 'twitter:card', content: 'summary'}
%meta{property: 'twitter:site', content: '@jamkazam'}
%meta{property: 'twitter:title', content: 'JamKazam'}
%meta{property: 'twitter:description',content: @event.social_description || "Play music together over the Internet as if in the same room."}
.landing-content
%h1= @event.title
%p.w60= raw(@event.description)
%br
%br
%h2 ARTIST LINEUP
%br
= render :partial => "event_session", :collection => @event.event_sessions.order('ordinal, starts_at')
%br{clear:'all'}
.landing-sidebar
%br
%br
%div{align:'center'}
- if @event.show_sponser?
.sponsor
%span SPONSORED BY:
%a{href: 'http://www.centurylinktechnology.com/'}
= image_tag 'content/logo_centurylink.png', width:320, height:80, alt:'CenturyLink logo'
%div{align: 'center'} LEARN ABOUT JAMKAZAM</div>
%br
= image_tag 'web/carousel_musicians.jpg', width:350, alt:'JamKazam Overview', class: 'video-slide',
:'data-video-header' => 'JamKazam Overview', :'data-video-url' => 'https://www.youtube.com/embed/ylYcvTY9CVo?autoplay=1'
%br{clear:'all'}