Redesign splashpage program section & split out partials
This commit is contained in:
parent
494a1b32a4
commit
8f43da79b5
4 changed files with 73 additions and 70 deletions
|
|
@ -1,20 +1,17 @@
|
|||
- cache [@conference.confirmed_booths, '#splash#booths'] do
|
||||
%section#booths
|
||||
.container
|
||||
.row
|
||||
.col-md-12.text-center
|
||||
%h2 Booths
|
||||
.row.row-centered
|
||||
- @conference.confirmed_booths.each do |booth|
|
||||
.col-md-2.col-sm-2.col-centered.col-top
|
||||
%a.thumbnail{ href: '#',
|
||||
data: { toggle: 'modal', target: "#modal-booth-#{booth.id}" } }
|
||||
- if booth.picture?
|
||||
= image_tag get_logo(booth),
|
||||
class: ['img-responsive', 'img-rounded'],
|
||||
title: booth.title
|
||||
- else
|
||||
.caption
|
||||
%h3.text-center= booth.title
|
||||
- content_for :modals do
|
||||
= render 'modal_description', object: booth
|
||||
.row
|
||||
.col-md-12.text-center
|
||||
%h2 Booths
|
||||
.row.row-centered
|
||||
- @conference.confirmed_booths.each do |booth|
|
||||
.col-md-2.col-sm-2.col-centered.col-top.booth
|
||||
%a.thumbnail{ href: '#',
|
||||
data: { toggle: 'modal', target: "#modal-booth-#{booth.id}" } }
|
||||
- if booth.picture?
|
||||
= image_tag get_logo(booth),
|
||||
class: ['img-responsive', 'img-rounded'],
|
||||
title: booth.title
|
||||
- else
|
||||
.caption
|
||||
%h3.text-center= booth.title
|
||||
- content_for :modals do
|
||||
= render 'modal_description', object: booth
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue