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