twitter gem and a partial added to embed tweets about a conference and new layout added for conference info screen

This commit is contained in:
AnithaPal 2016-07-20 15:11:50 -04:00
parent febd3451ad
commit f29a15b8e4
11 changed files with 216 additions and 28 deletions

View file

@ -1,15 +1,21 @@
.container
- if @conference.present?
.row
.col-md-12
- if @program.present?
%section#program#current-events
= render 'current_events'
.row
.col-md-12.text-center
%h2 Tweets About Conference
.row
.col-md-12
- if @sponsors.any?
%section#sponsors
= render 'conference/sponsors'
#main-display
- if @conference.present?
%section#main-heading
.container
.row
.col-md-12.text-center
%h1
= @conference.title
- if @conference.description.present?
%h3
= @conference.description
- if @program.present?
%section#event-display
= render 'current_events'
- if @conference.contact.social_tag.present?
%section#tweets-display
- if @tweets.present?
= render 'conference_tweets'
- if @sponsors.any?
%section#sponsor-display
= render 'sponsors'