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

View File

@ -12,15 +12,6 @@
@section('body') @section('body')
<script> <script>
$(document).ready(function () { $(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() { $("#feedbackSubmit").click(function() {
//clear any errors //clear any errors
contactForm.clearErrors(); contactForm.clearErrors();

View File

@ -16,16 +16,6 @@
<script> <script>
$(document).ready(function () { $(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()) { if (isStorageSupported()) {
$('[name="guest_key"]').val(localStorage.getItem('guest_key')); $('[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); background-image: url(/images/hero-bg-3.jpg);
padding: 150px 0; padding: 150px 0;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: bottom center; background-position: center center;
background-size: cover; background-size: cover;
} }
.hero4 { .hero4 {
@ -145,7 +145,7 @@ a .cta:hover span {
background-image: url(/images/hero-bg-4.jpg); background-image: url(/images/hero-bg-4.jpg);
padding: 150px 0; padding: 150px 0;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: bottom center; background-position: center center;
background-size: cover; background-size: cover;
} }
.hero2 h1, .hero3 h1, .hero4 h1 { .hero2 h1, .hero3 h1, .hero4 h1 {
@ -154,8 +154,8 @@ a .cta:hover span {
} }
.background { .background {
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: top center; background-position: center center;
background-attachment: fixed; background-attachment: static;
background-size: cover; background-size: cover;
min-height: 500px; 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.