Minor HTML cleanup
This commit is contained in:
parent
904ca19878
commit
8a35bb377e
4 changed files with 17 additions and 17 deletions
|
|
@ -6,7 +6,7 @@
|
|||
= image_tag(conference.picture_url, class: 'img-responsive') if conference.picture?
|
||||
.col-md-6
|
||||
%h3
|
||||
= conference.title
|
||||
= conference.title.html_safe
|
||||
%small
|
||||
%b
|
||||
= date_string(conference.start_date, conference.end_date)
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
.scroll-top-wrapper
|
||||
= link_to "#banner", class: "smoothscroll" do
|
||||
%i.fa.fa-2x.fa-arrow-circle-up
|
||||
-# .scroll-top-wrapper
|
||||
-# = link_to "#banner", class: "smoothscroll" do
|
||||
-# %i.fa.fa-2x.fa-arrow-circle-up
|
||||
|
||||
:javascript
|
||||
$(function(){
|
||||
$(document).on( 'scroll', function(){
|
||||
if ($(window).scrollTop() > 100) {
|
||||
$('.scroll-top-wrapper').addClass('show');
|
||||
} else {
|
||||
$('.scroll-top-wrapper').removeClass('show');
|
||||
}
|
||||
});
|
||||
});
|
||||
-# :javascript
|
||||
-# $(function(){
|
||||
-# $(document).on( 'scroll', function(){
|
||||
-# if ($(window).scrollTop() > 100) {
|
||||
-# $('.scroll-top-wrapper').addClass('show');
|
||||
-# } else {
|
||||
-# $('.scroll-top-wrapper').removeClass('show');
|
||||
-# }
|
||||
-# });
|
||||
-# });
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
- if @conference.contact.has_social_media?
|
||||
= render 'social_media', contact: @conference.contact
|
||||
= render 'footer'
|
||||
)
|
||||
|
||||
|
||||
-# - content_for :script_head do
|
||||
-# :javascript
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue