master
parent
7c2771ad33
commit
6071d7f7cb
|
@ -1,10 +1,7 @@
|
|||
@inject('type', 'Type')
|
||||
@extends('template.'.config('settings.template').'.content.master')
|
||||
@section('content')
|
||||
|
||||
|
||||
<style>
|
||||
|
||||
.block {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
@ -13,8 +10,6 @@
|
|||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.img-parallax {
|
||||
width: 100vmax;
|
||||
z-index: -1;
|
||||
|
@ -29,9 +24,9 @@
|
|||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
|
||||
<div class="block" style="height: 100%;">
|
||||
<img src="{{$cover}}" data-speed="-1" class="img-parallax" alt="{{config('settings.name')}} Cover" />
|
||||
<!--<img src="{{$cover}}" data-speed="-1" class="img-parallax" alt="{{config('settings.name')}} Cover" />-->
|
||||
|
||||
<!--<x-img src="{{$cover}}" data-speed="-1" class="img-parallax" alt="{{config('settings.name')}} Cover" />-->
|
||||
<x-img src="{{$cover}}" data-speed="-1" class="img-parallax" alt="{{config('settings.name')}} Cover" />
|
||||
|
||||
|
||||
<div class="d-none d-lg-flex" style="margin-top: 10%; margin-bottom: 8%;">
|
||||
|
@ -52,13 +47,10 @@
|
|||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
$('.img-parallax').each(function() {
|
||||
var $image = $(this);
|
||||
var $imageParent = $(this).parent();
|
||||
var $imageParent = $(this).parent().parent().parent();
|
||||
|
||||
function parallaxImg () {
|
||||
var speed = $image.data('speed');
|
||||
|
@ -89,7 +81,7 @@
|
|||
parallaxImg();
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="card text-bg-dark border-0 d-lg-none" style="border-radius:0; box-shadow:none;">
|
||||
|
@ -169,7 +161,7 @@
|
|||
@if($leistungen->isNotEmpty())
|
||||
<section>
|
||||
<div class="container">
|
||||
<diw class="row">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-12">
|
||||
<h2 id="leistungen" class="mb-4">Leistungen</h2>
|
||||
|
@ -211,7 +203,7 @@
|
|||
@endif
|
||||
|
||||
|
||||
</diw>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
|
Loading…
Reference in New Issue