master
parent
4376e08a7f
commit
43c0dd413b
|
@ -54,7 +54,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@foreach($nachrichten as $nach)
|
@foreach($nachrichten as $nach)
|
||||||
<div class="col-12 col-md-6 col-4 mb-5">
|
<div class="col-12 col-md-6 col-4 mb-5">
|
||||||
<a href="{{ route_content($nach) }}" class="text-decoration-none text-dark">
|
<a href="{{$nach->path}}" class="text-decoration-none text-dark">
|
||||||
<div class="card shadow-lg">
|
<div class="card shadow-lg">
|
||||||
@if ($nach->image)
|
@if ($nach->image)
|
||||||
<img class="rounded-top img-fluid" src="{{ asset('uploads/' . $nach->image) }}" loading="lazy">
|
<img class="rounded-top img-fluid" src="{{ asset('uploads/' . $nach->image) }}" loading="lazy">
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
@foreach($contents as $content)
|
@foreach($contents as $content)
|
||||||
|
|
||||||
<div class="col-12 col-md-6 mb-5">
|
<div class="col-12 col-md-6 mb-5">
|
||||||
<a href="{{route_content($content)}}" class="text-decoration-none">
|
<a href="{{$content->path}}" class="text-decoration-none">
|
||||||
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
||||||
@if(empty($content->image))
|
@if(empty($content->image))
|
||||||
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
@foreach(filterByContentType($contents, "Solarmodule") as $content)
|
@foreach(filterByContentType($contents, "Solarmodule") as $content)
|
||||||
|
|
||||||
<div class="col-12 col-md-4 mb-5">
|
<div class="col-12 col-md-4 mb-5">
|
||||||
<a href="{{route_content($content)}}" class="text-decoration-none">
|
<a href="{{$content->path}}" class="text-decoration-none">
|
||||||
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
||||||
@if(empty($content->image))
|
@if(empty($content->image))
|
||||||
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
@foreach(filterByContentType($contents, "Balkonkraftwerk") as $content)
|
@foreach(filterByContentType($contents, "Balkonkraftwerk") as $content)
|
||||||
|
|
||||||
<div class="col-12 col-md-4 mb-5">
|
<div class="col-12 col-md-4 mb-5">
|
||||||
<a href="{{route_content($content)}}" class="text-decoration-none">
|
<a href="{{$content->path}}" class="text-decoration-none">
|
||||||
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
||||||
@if(empty($content->image))
|
@if(empty($content->image))
|
||||||
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
@foreach(filterByContentType($contents, "befestigung") as $content)
|
@foreach(filterByContentType($contents, "befestigung") as $content)
|
||||||
|
|
||||||
<div class="col-12 col-md-4 mb-5">
|
<div class="col-12 col-md-4 mb-5">
|
||||||
<a href="{{route_content($content)}}" class="text-decoration-none">
|
<a href="{{$content->path}}" class="text-decoration-none">
|
||||||
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
||||||
@if(empty($content->image))
|
@if(empty($content->image))
|
||||||
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
@foreach(filterByContentType($contents, "Kabel") as $content)
|
@foreach(filterByContentType($contents, "Kabel") as $content)
|
||||||
|
|
||||||
<div class="col-12 col-md-4 mb-5">
|
<div class="col-12 col-md-4 mb-5">
|
||||||
<a href="{{route_content($content)}}" class="text-decoration-none">
|
<a href="{{$content->path}}" class="text-decoration-none">
|
||||||
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
||||||
@if(empty($content->image))
|
@if(empty($content->image))
|
||||||
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
@foreach($contents as $content)
|
@foreach($contents as $content)
|
||||||
|
|
||||||
<div class="col-12 col-md-4 mb-5">
|
<div class="col-12 col-md-4 mb-5">
|
||||||
<a href="{{route_content($content)}}" class="text-decoration-none">
|
<a href="{{$content->path}}" class="text-decoration-none">
|
||||||
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
||||||
@if(empty($content->image))
|
@if(empty($content->image))
|
||||||
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
||||||
|
|
Loading…
Reference in New Issue