Another round of splash design
* Add map to splash * Reverse venue<->conference relation * Split venue address into fields * Don't go through venue for lodgings anymore
This commit is contained in:
parent
30e8ab856c
commit
cb227a0afc
55 changed files with 717 additions and 548 deletions
|
|
@ -1,36 +1,34 @@
|
|||
= content_for :splash_nav do
|
||||
%li
|
||||
=link_to('#program', class: 'smoothscroll') do
|
||||
Program
|
||||
|
||||
.container
|
||||
.row
|
||||
.col-md-12.text-center
|
||||
%h1 Program
|
||||
- if @conference.splashpage and @conference.splashpage.include_tracks
|
||||
.row
|
||||
.col-md-12
|
||||
- @conference.tracks.each do |t|
|
||||
.tracks{ class: (@conference.tracks.count.to_i <= 2 ? "col-md-#{12/@conference.tracks.count.to_i}" : "col-md-4") }
|
||||
%h4.text-center
|
||||
= t.name
|
||||
%p
|
||||
= markdown(t.description)
|
||||
- if @conference.call_for_papers and @conference.call_for_papers.schedule_public
|
||||
.row
|
||||
.col-md-12
|
||||
%p.text-center
|
||||
Check out our
|
||||
= link_to 'Schedule', conference_schedule_path(@conference.short_title)
|
||||
- if !@keynote_speakers.blank?
|
||||
%div.row.text-center
|
||||
%div.col-md-12
|
||||
%h3 Keynote Speakers
|
||||
- @keynote_speakers.each do |k|
|
||||
%div{ class: (@keynote_speakers.count.to_i <= 2 ? "col-md-#{12/@keynote_speakers.count.to_i}" : "col-md-4") }
|
||||
= image_tag(k.gravatar_url(size: '80'), class: 'img-circle') unless k.gravatar_url.blank?
|
||||
%h4
|
||||
= k.name
|
||||
-unless k.biography.blank?
|
||||
%p
|
||||
= k.biography
|
||||
.col-md-12
|
||||
%h2.text-center
|
||||
Program
|
||||
%p.lead.text-center
|
||||
= @conference.short_title
|
||||
has the most awesome program ever!
|
||||
- if @conference.splashpage and @conference.splashpage.include_tracks
|
||||
See rock-star speakers cover the topics of
|
||||
- if @conference.splashpage and @conference.splashpage.include_tracks
|
||||
- @conference.tracks.each_slice(3) do |slice|
|
||||
.row.row-centered
|
||||
- slice.each do |track|
|
||||
.col-md-4.col-centered.col-top.track
|
||||
%h4.text-center
|
||||
= track.name
|
||||
= markdown(track.description)
|
||||
|
||||
- if @conference.call_for_papers and @conference.call_for_papers.schedule_public
|
||||
.row
|
||||
.col-md-12
|
||||
%p.cta-button.text-center
|
||||
= link_to(conference_schedule_path(@conference.short_title), class: 'btn btn-default btn-lg') do
|
||||
Full Schedule
|
||||
|
||||
- #FIXME: Display keynotes https://github.com/openSUSE/osem/issues/544
|
||||
- #FIXME: Display schedule highlights https://github.com/openSUSE/osem/issues/545
|
||||
|
||||
|
||||
= content_for :splash_nav do
|
||||
%li
|
||||
=link_to('#program', class: 'smoothscroll') do
|
||||
Program
|
||||
Loading…
Add table
Add a link
Reference in a new issue