master
parent
d3b4957280
commit
ea915a1928
File diff suppressed because one or more lines are too long
|
@ -43,13 +43,14 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-5">
|
||||
|
||||
|
||||
|
||||
@php($otherContents = filterByContentType("News")->filter(function ($item) use ($content) { return $item->id != $content->id; }))
|
||||
|
||||
@if($otherContents->isNotEmpty())
|
||||
|
||||
|
||||
<div class="row mb-5">
|
||||
|
||||
|
||||
<div class="col-12">
|
||||
<hr class="pb-5 mt-5">
|
||||
|
@ -61,7 +62,7 @@
|
|||
<div class="col-12 col-md-4 mb-3">
|
||||
<div class="card shadow-sm h-100">
|
||||
<a href="" class="text-decoration-none">
|
||||
<img src="https://picsum.photos/600/400" class="img-fluid card-img-top">
|
||||
<x-img src="{{$otherContent->image()}}" class="img-fluid card-img-top"/>
|
||||
</a>
|
||||
|
||||
<div class="card-body">
|
||||
|
@ -70,16 +71,17 @@
|
|||
</h3>
|
||||
|
||||
<div class="text-muted small my-3">
|
||||
<span title="383.393.2029">
|
||||
<span title="{{$otherContent->created_at}}">
|
||||
<svg style="fill: currentColor;width:15px;margin-bottom: 5px;margin-right: 3px;}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M112 0c8.8 0 16 7.2 16 16V64H320V16c0-8.8 7.2-16 16-16s16 7.2 16 16V64h32c35.3 0 64 28.7 64 64v32 32V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192 160 128C0 92.7 28.7 64 64 64H96V16c0-8.8 7.2-16 16-16zM416 192H32V448c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V192zM384 96H64c-17.7 0-32 14.3-32 32v32H416V128c0-17.7-14.3-32-32-32z"/></svg>
|
||||
19 hours ago
|
||||
{{ $otherContent->updated_at->diffForHumans() }}
|
||||
|
||||
</span>
|
||||
</div>
|
||||
{!! Str::limit('Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus consequuntur cum cumque dicta eligendi et ex, fugiat id, incidunt iste iusto natus non provident quae veritatis vero vitae voluptas voluptate?', 280) !!}
|
||||
{!! Str::limit($otherContent->vorschau, 280) !!}
|
||||
</div>
|
||||
|
||||
<div class="card-footer text-end">
|
||||
<a class="btn btn-sm btn-ci" href="">
|
||||
<a class="btn btn-sm btn-ci" href="{{$otherContent->path}}">
|
||||
Mehr lesen
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" />
|
||||
|
@ -90,87 +92,11 @@
|
|||
</div>
|
||||
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
<!-- <div class="col-12 col-md-4 mb-3">
|
||||
<div class="card shadow-sm h-100">
|
||||
<a href="" class="text-decoration-none">
|
||||
<img src="https://picsum.photos/600/400" class="img-fluid card-img-top">
|
||||
</a>
|
||||
|
||||
<div class="card-body">
|
||||
<h3 class="h5 mb-2">
|
||||
<a href="" class="text-decoration-none">
|
||||
Neuigkeit
|
||||
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
<div class="text-muted small my-3">
|
||||
<span title="383.393.2029">
|
||||
<svg style="fill: currentColor;width:15px;margin-bottom: 5px;margin-right: 3px;}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M112 0c8.8 0 16 7.2 16 16V64H320V16c0-8.8 7.2-16 16-16s16 7.2 16 16V64h32c35.3 0 64 28.7 64 64v32 32V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192 160 128C0 92.7 28.7 64 64 64H96V16c0-8.8 7.2-16 16-16zM416 192H32V448c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V192zM384 96H64c-17.7 0-32 14.3-32 32v32H416V128c0-17.7-14.3-32-32-32z"/></svg>
|
||||
19 hours ago
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
||||
{!! Str::limit('Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus consequuntur cum cumque dicta eligendi et ex, fugiat id, incidunt iste iusto natus non provident quae veritatis vero vitae voluptas voluptate?', 280) !!}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="card-footer text-end">
|
||||
<a class="btn btn-sm btn-ci" href="">
|
||||
Mehr lesen
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" />
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-4 mb-3">
|
||||
<div class="card shadow-sm h-100">
|
||||
<a href="" class="text-decoration-none">
|
||||
<img src="https://picsum.photos/600/400" class="img-fluid card-img-top">
|
||||
</a>
|
||||
@endif
|
||||
|
||||
<div class="card-body">
|
||||
<h3 class="h5 mb-2">
|
||||
<a href="" class="text-decoration-none">
|
||||
Neuigkeit
|
||||
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
<div class="text-muted small my-3">
|
||||
<span title="383.393.2029">
|
||||
<svg style="fill: currentColor;width:15px;margin-bottom: 5px;margin-right: 3px;}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M112 0c8.8 0 16 7.2 16 16V64H320V16c0-8.8 7.2-16 16-16s16 7.2 16 16V64h32c35.3 0 64 28.7 64 64v32 32V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192 160 128C0 92.7 28.7 64 64 64H96V16c0-8.8 7.2-16 16-16zM416 192H32V448c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V192zM384 96H64c-17.7 0-32 14.3-32 32v32H416V128c0-17.7-14.3-32-32-32z"/></svg>
|
||||
19 hours ago
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
||||
{!! Str::limit('Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus consequuntur cum cumque dicta eligendi et ex, fugiat id, incidunt iste iusto natus non provident quae veritatis vero vitae voluptas voluptate?', 280) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="card-footer text-end">
|
||||
<a class="btn btn-sm btn-ci" href="">
|
||||
Mehr lesen
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" />
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
|
|
|
@ -161,41 +161,41 @@
|
|||
|
||||
|
||||
</div>
|
||||
<div class="row mb-5 d-none">
|
||||
<div class="col-12">
|
||||
<h2 class="mb-4 mt-5 h3">Weitere Produktbilder</h2>
|
||||
|
||||
</div>
|
||||
@isset($content->produktbilder)
|
||||
<div class="row mb-5">
|
||||
<div class="col-12">
|
||||
<h2 class="mb-4 mt-5 h3">Weitere Produktbilder</h2>
|
||||
</div>
|
||||
@foreach($content->produktbilder as $produktbild)
|
||||
<div class="col-12 col-md-6 col-lg-3 text-center">
|
||||
<x-img src="{{$produktbild}}" class="rounded img-fluid border mb-3"/>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
<div class="col-12 col-md-6 col-lg-3 text-center">
|
||||
<img src="https://picsum.photos/400/300" class="rounded img-fluid border mb-3">
|
||||
</div>
|
||||
</div>
|
||||
@endisset
|
||||
|
||||
<div class="col-12 col-md-6 col-lg-3 text-center">
|
||||
<img src="https://picsum.photos/400/300" class="rounded img-fluid border mb-3">
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-6 col-lg-3 text-center">
|
||||
<img src="https://picsum.photos/400/300" class="rounded img-fluid border mb-3">
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-6 col-lg-3 text-center">
|
||||
<img src="https://picsum.photos/400/300" class="rounded img-fluid border mb-3">
|
||||
</div>
|
||||
</div>
|
||||
@php($otherContents = filterByContentType("Produkte")->filter(function ($item) use ($content) { return $item->id != $content->id; }))
|
||||
|
||||
<div class="row mb-5 d-none">
|
||||
@if($otherContents->isNotEmpty())
|
||||
<div class="row mb-5">
|
||||
<div class="col-12">
|
||||
<hr class="pb-5 mt-5">
|
||||
<h2 class="mb-4 mt-5 h3">Weitere Produkte</h2>
|
||||
</div>
|
||||
|
||||
|
||||
@foreach($otherContents->take(3) as $otherContent)
|
||||
|
||||
<div class="col-12 col-md-4 mb-3">
|
||||
<a href="33" class="text-decoration-none">
|
||||
<a href="{{$otherContent->path}}" class="text-decoration-none">
|
||||
<div class="card shadow-sm">
|
||||
<img src="https://picsum.photos/600/400" class="img-fluid card-img-top">
|
||||
<x-img src="{{$otherContent->image()}}" class="img-fluid card-img-top"/>
|
||||
<div class="card-body">
|
||||
<h3 class="h5 mb-2">Anderes Produkt XMY </h3>
|
||||
<h3 class="h5 mb-2">{{$otherContent->title}}</h3>
|
||||
<div class="fw-bold my-3 text-right fs-5" style="color: {{$_secondary_link_color}};">391 €</div>
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam blanditiis, eligendi ex explicabo odio possimus provident rerum saepe soluta suscipit tenetur ullam vero. Autem blanditiis obcaecati quis quod voluptates voluptatum.
|
||||
</div>
|
||||
|
@ -203,32 +203,10 @@
|
|||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-4 mb-3">
|
||||
<a href="33" class="text-decoration-none">
|
||||
<div class="card shadow-sm">
|
||||
<img src="https://picsum.photos/600/400" class="img-fluid card-img-top">
|
||||
<div class="card-body">
|
||||
<h3 class="h5 mb-2">Anderes Produkt XMY </h3>
|
||||
<div class="fw-bold my-3 text-right fs-5" style="color: {{$_secondary_link_color}};">391 €</div>
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam blanditiis, eligendi ex explicabo odio possimus provident rerum saepe soluta suscipit tenetur ullam vero. Autem blanditiis obcaecati quis quod voluptates voluptatum.
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
<div class="col-12 col-md-4 mb-3">
|
||||
<a href="33" class="text-decoration-none">
|
||||
<div class="card shadow-sm">
|
||||
<img src="https://picsum.photos/600/400" class="img-fluid card-img-top">
|
||||
<div class="card-body">
|
||||
<h3 class="h5 mb-2">Anderes Produkt XMY </h3>
|
||||
<div class="fw-bold my-3 text-right fs-5" style="color: {{$_secondary_link_color}};">391 €</div>
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam blanditiis, eligendi ex explicabo odio possimus provident rerum saepe soluta suscipit tenetur ullam vero. Autem blanditiis obcaecati quis quod voluptates voluptatum.
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@stop
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
<p class="card-text my-2 text-muted fs-5">{{config('settings.description')}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<lottie-player src="https://assets2.lottiefiles.com/packages/lf20_3VDN1k.json" background="transparent" speed="1" style="width: 150px; height: 150px; margin-left: 40%" loop autoplay></lottie-player>
|
||||
<lottie-player src="{{storage('animations/no-products.json')}}" background="transparent" speed="1" style="width: 150px; height: 150px; margin-left: 40%" loop autoplay></lottie-player>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
@ -135,8 +135,8 @@
|
|||
@endif
|
||||
@include('template.'.config('settings.template').'.content.includes.footer')
|
||||
@include('template.'.config('settings.template').'.content.includes.scripts')
|
||||
<script src="https://cdn.jsdelivr.net/npm/js-cookie@3.0.1/dist/js.cookie.min.js"></script>
|
||||
<script src="https://unpkg.com/@lottiefiles/lottie-player@0.4.0/dist/lottie-player.js"></script>
|
||||
<script src="{{storage('js/cookie.js')}}"></script>
|
||||
<script src="{{storage('js/lottie.js')}}"></script>
|
||||
<script src="{{storage('js/cookies-consent.js')}}"></script>
|
||||
|
||||
<script src="{{storage('js/data.js')}}"></script>
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
/*! js-cookie v3.0.1 | MIT */
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o}}())}(this,(function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}return function t(n,o){function r(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,!0!==i[u]&&(c+="="+i[u].split(";")[0]));return document.cookie=t+"="+n.write(r,t)+c}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],o={},r=0;r<t.length;r++){var i=t[r].split("="),c=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(o[u]=n.read(c,u),e===u)break}catch(e){}}return e?o[e]:o}},remove:function(t,n){r(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}));
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue