Tweak the top heading if there is a image

This commit is contained in:
Michael Ball 2019-12-17 01:32:16 -08:00
parent 5441f83271
commit de7a6036d1
2 changed files with 21 additions and 21 deletions

View file

@ -1,11 +1,11 @@
- cache [conference, venue, '#splash#header'] do
#banner
#banner(style: "background_image: url('#{conference.picture_url})'")
.container
.row
.col-md-8.col-md-offset-2#header
.row
.col-md-4
- if conference.picture?
- if conference.picture?
.col-md-4
= image_tag(conference.picture_url,
class: 'img-responsive img-center',
id: 'splash-logo')