Implements smoothscroll

This commit is contained in:
Gopesh Tulsyan 2014-06-26 15:13:23 +05:30
parent f7a12c977b
commit 9c69abe950
10 changed files with 42 additions and 8 deletions

View file

@ -1,6 +1,6 @@
= content_for :splash_nav do
%li
%a{ href: '#callforpapers' } Call For Papers
%a.smoothscroll{ href: '#callforpapers' } Call For Papers
%div.container#callforpapers.text-center
%div.row

View file

@ -1,6 +1,6 @@
= content_for :splash_nav do
%li
%a{ href: '#location' } Location
%a.smoothscroll{ href: '#location' } Location
%div.banner-disp{ style: ("background-image: url(#{@conference.venue.photo})" unless @conference.venue.photo.blank?), class:('with-background' unless @conference.venue.photo.blank?) }

View file

@ -1,6 +1,6 @@
= content_for :splash_nav do
%li
%a{ href: '#program' } Program
%a.smoothscroll{ href: '#program' } Program
%div.container.text-center
%div.row

View file

@ -1,6 +1,6 @@
= content_for :splash_nav do
%li
%a{ href: '#registration' } Registration
%a.smoothscroll{ href: '#registration' } Registration
%div.container.text-center
%div.row
%h2 Registration

View file

@ -1,6 +1,6 @@
= content_for :splash_nav do
%li
%a{ href: '#social-media' } Social Media
%a.smoothscroll{ href: '#social-media' } Social Media
%div.container#social-media.text-center
%div.row

View file

@ -1,6 +1,6 @@
= content_for :splash_nav do
%li
%a{ href: '#sponsors' } Sponsors
%a.smoothscroll{ href: '#sponsors' } Sponsors
%div.container#sponsors.text-center
%div.row
%div.col-md-12