added link to main page

This commit is contained in:
Adrian Hinz 2019-12-30 12:37:37 +01:00
parent 0dae3149e7
commit 9c13694113
2 changed files with 42 additions and 42 deletions

View File

@ -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.
$(
'<div id="titleBar">' +
'<a href="#navPanel" class="toggle"></a>' +
'<span class="title">' + $('#logo').html() + '</span>' +
'</div>'
)
.appendTo($body);
// Title Bar.
$(
'<div id="titleBar">' +
'<a href="#navPanel" class="toggle"></a>' +
'<span class="title"><a href="/" style="text-decoration: none; color:#fff;">' + $('#logo').html() + '</a></span>' +
'</div>'
)
.appendTo($body);
// Panel.
$(
'<div id="navPanel">' +
'<nav>' +
$('#nav').navList() +
'</nav>' +
'</div>'
)
.appendTo($body)
.panel({
delay: 500,
hideOnClick: true,
hideOnSwipe: true,
resetScroll: true,
resetForms: true,
side: 'left',
target: $body,
visibleClass: 'navPanel-visible'
});
// Panel.
$(
'<div id="navPanel">' +
'<nav>' +
$('#nav').navList() +
'</nav>' +
'</div>'
)
.appendTo($body)
.panel({
delay: 500,
hideOnClick: true,
hideOnSwipe: true,
resetScroll: true,
resetForms: true,
side: 'left',
target: $body,
visibleClass: 'navPanel-visible'
});
})(jQuery);
})(jQuery);

View File

@ -36,7 +36,7 @@
<div class="col-6 col-6-medium">
<section>
<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;' } %>
</section>
</div>