added link to main page
This commit is contained in:
parent
0dae3149e7
commit
9c13694113
|
|
@ -1,51 +1,51 @@
|
||||||
/*
|
/*
|
||||||
Halcyonic by HTML5 UP
|
Halcyonic by HTML5 UP
|
||||||
html5up.net | @ajlkn
|
html5up.net | @ajlkn
|
||||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(function($) {
|
(function($) {
|
||||||
|
|
||||||
var $window = $(window),
|
var $window = $(window),
|
||||||
$body = $('body');
|
$body = $('body');
|
||||||
|
|
||||||
// Breakpoints.
|
// Breakpoints.
|
||||||
breakpoints({
|
breakpoints({
|
||||||
xlarge: [ '1281px', '1680px' ],
|
xlarge: [ '1281px', '1680px' ],
|
||||||
large: [ '981px', '1280px' ],
|
large: [ '981px', '1280px' ],
|
||||||
medium: [ '737px', '980px' ],
|
medium: [ '737px', '980px' ],
|
||||||
small: [ null, '736px' ]
|
small: [ null, '736px' ]
|
||||||
});
|
});
|
||||||
|
|
||||||
// Nav.
|
// Nav.
|
||||||
|
|
||||||
// Title Bar.
|
// Title Bar.
|
||||||
$(
|
$(
|
||||||
'<div id="titleBar">' +
|
'<div id="titleBar">' +
|
||||||
'<a href="#navPanel" class="toggle"></a>' +
|
'<a href="#navPanel" class="toggle"></a>' +
|
||||||
'<span class="title">' + $('#logo').html() + '</span>' +
|
'<span class="title"><a href="/" style="text-decoration: none; color:#fff;">' + $('#logo').html() + '</a></span>' +
|
||||||
'</div>'
|
'</div>'
|
||||||
)
|
)
|
||||||
.appendTo($body);
|
.appendTo($body);
|
||||||
|
|
||||||
// Panel.
|
// Panel.
|
||||||
$(
|
$(
|
||||||
'<div id="navPanel">' +
|
'<div id="navPanel">' +
|
||||||
'<nav>' +
|
'<nav>' +
|
||||||
$('#nav').navList() +
|
$('#nav').navList() +
|
||||||
'</nav>' +
|
'</nav>' +
|
||||||
'</div>'
|
'</div>'
|
||||||
)
|
)
|
||||||
.appendTo($body)
|
.appendTo($body)
|
||||||
.panel({
|
.panel({
|
||||||
delay: 500,
|
delay: 500,
|
||||||
hideOnClick: true,
|
hideOnClick: true,
|
||||||
hideOnSwipe: true,
|
hideOnSwipe: true,
|
||||||
resetScroll: true,
|
resetScroll: true,
|
||||||
resetForms: true,
|
resetForms: true,
|
||||||
side: 'left',
|
side: 'left',
|
||||||
target: $body,
|
target: $body,
|
||||||
visibleClass: 'navPanel-visible'
|
visibleClass: 'navPanel-visible'
|
||||||
});
|
});
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
<div class="col-6 col-6-medium">
|
<div class="col-6 col-6-medium">
|
||||||
<section>
|
<section>
|
||||||
<span style="font-size:3em;">Zapisz się do newslettera</span><br /><br />
|
<span style="font-size:3em;">Zapisz się do newslettera</span><br /><br />
|
||||||
<p style="font-size: 3em; line-height:1em;">Poznaj 20 sposobów na wykorzystanie włókien węglowych</p><br />
|
<p style="font-size: 3em; line-height:1em;">Poznaj 20 sposobów na wykorzystanie włókien węglowych w budownictwie</p><br />
|
||||||
<%= link_to 'Zapisz się', { controller: :newsletter, action: :new }, { remote: false, class: "button-large", style: 'color:white;' } %>
|
<%= link_to 'Zapisz się', { controller: :newsletter, action: :new }, { remote: false, class: "button-large", style: 'color:white;' } %>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue