diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js index 8285bed..95aad4f 100644 --- a/app/assets/javascripts/main.js +++ b/app/assets/javascripts/main.js @@ -1,51 +1,51 @@ /* - Halcyonic by HTML5 UP - html5up.net | @ajlkn - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) + Halcyonic by HTML5 UP + html5up.net | @ajlkn + Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) */ (function($) { - var $window = $(window), - $body = $('body'); + var $window = $(window), + $body = $('body'); - // Breakpoints. - breakpoints({ - xlarge: [ '1281px', '1680px' ], - large: [ '981px', '1280px' ], - medium: [ '737px', '980px' ], - small: [ null, '736px' ] - }); + // Breakpoints. + breakpoints({ + xlarge: [ '1281px', '1680px' ], + large: [ '981px', '1280px' ], + medium: [ '737px', '980px' ], + small: [ null, '736px' ] + }); - // Nav. + // Nav. - // Title Bar. - $( - '
' + - '' + - '' + $('#logo').html() + '' + - '
' - ) - .appendTo($body); + // Title Bar. + $( + '
' + + '' + + '' + $('#logo').html() + '' + + '
' + ) + .appendTo($body); - // Panel. - $( - '' - ) - .appendTo($body) - .panel({ - delay: 500, - hideOnClick: true, - hideOnSwipe: true, - resetScroll: true, - resetForms: true, - side: 'left', - target: $body, - visibleClass: 'navPanel-visible' - }); + // Panel. + $( + '' + ) + .appendTo($body) + .panel({ + delay: 500, + hideOnClick: true, + hideOnSwipe: true, + resetScroll: true, + resetForms: true, + side: 'left', + target: $body, + visibleClass: 'navPanel-visible' + }); -})(jQuery); \ No newline at end of file +})(jQuery); diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 76c9357..ed91e6f 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -36,7 +36,7 @@
Zapisz się do newslettera

-

Poznaj 20 sposobów na wykorzystanie włókien węglowych


+

Poznaj 20 sposobów na wykorzystanie włókien węglowych w budownictwie


<%= link_to 'Zapisz się', { controller: :newsletter, action: :new }, { remote: false, class: "button-large", style: 'color:white;' } %>