1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-18 09:04:35 +01:00

Images to about page

This commit is contained in:
Razi KAntorp 2014-03-10 17:58:02 +01:00
parent eb980f2ecc
commit d63d7d3b40
8 changed files with 8 additions and 25 deletions

View File

@ -9,7 +9,7 @@
@stop
@section('body')
<script>
<!--<script>
$(document).ready(function () {
var $window = $(window);
$('section[data-type="background"]').each(function () {
@ -21,7 +21,7 @@
});
});
});
</script>
</script>-->
<div class="navbar" style="margin-bottom:0px">
<div class="container">
<div class="navbar-inner">
@ -62,6 +62,7 @@
<div class="row">
<div class="col-md-5">
<div class="screendump">
<img src="images/about1.jpg">
</div>
</div>
<div class="col-md-7">
@ -81,6 +82,7 @@
</div>
<div class="col-md-5">
<div class="screendump">
<img src="images/about2.jpg">
</div>
</div>
</div>

View File

@ -12,15 +12,6 @@
@section('body')
<script>
$(document).ready(function () {
var $window = $(window);
$('section[data-type="background"]').each(function () {
var $bgobj = $(this);
$(window).scroll(function () {
var yPos = -($window.scrollTop() / $bgobj.data('speed'));
var coords = '50% ' + yPos + 'px';
$bgobj.css({ backgroundPosition: coords });
});
});
$("#feedbackSubmit").click(function() {
//clear any errors
contactForm.clearErrors();

View File

@ -16,16 +16,6 @@
<script>
$(document).ready(function () {
var $window = $(window);
$('section[data-type="background"]').each(function () {
var $bgobj = $(this);
$(window).scroll(function () {
var yPos = -($window.scrollTop() / $bgobj.data('speed'));
var coords = '50% ' + yPos + 'px';
$bgobj.css({ backgroundPosition: coords });
});
});
if (isStorageSupported()) {
$('[name="guest_key"]').val(localStorage.getItem('guest_key'));
}

View File

@ -137,7 +137,7 @@ a .cta:hover span {
background-image: url(/images/hero-bg-3.jpg);
padding: 150px 0;
background-repeat: no-repeat;
background-position: bottom center;
background-position: center center;
background-size: cover;
}
.hero4 {
@ -145,7 +145,7 @@ a .cta:hover span {
background-image: url(/images/hero-bg-4.jpg);
padding: 150px 0;
background-repeat: no-repeat;
background-position: bottom center;
background-position: center center;
background-size: cover;
}
.hero2 h1, .hero3 h1, .hero4 h1 {
@ -154,8 +154,8 @@ a .cta:hover span {
}
.background {
background-repeat: no-repeat;
background-position: top center;
background-attachment: fixed;
background-position: center center;
background-attachment: static;
background-size: cover;
min-height: 500px;
}

Binary file not shown.

BIN
public/images/about1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
public/images/about2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
public/images/hero-bg-4.psd Normal file

Binary file not shown.