Gustavo Luigi 2022-11-21 09:33:01 -03:00
parent 4376e08a7f
commit 43c0dd413b
4 changed files with 7 additions and 7 deletions

View File

@ -54,7 +54,7 @@
<div class="row">
@foreach($nachrichten as $nach)
<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">
@if ($nach->image)
<img class="rounded-top img-fluid" src="{{ asset('uploads/' . $nach->image) }}" loading="lazy">

View File

@ -18,7 +18,7 @@
@foreach($contents as $content)

<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;">
@if(empty($content->image))
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">

View File

@ -23,7 +23,7 @@
@foreach(filterByContentType($contents, "Solarmodule") as $content)

<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;">
@if(empty($content->image))
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
@ -49,7 +49,7 @@
@foreach(filterByContentType($contents, "Balkonkraftwerk") as $content)

<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;">
@if(empty($content->image))
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
@ -76,7 +76,7 @@
@foreach(filterByContentType($contents, "befestigung") as $content)

<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;">
@if(empty($content->image))
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
@ -106,7 +106,7 @@
@foreach(filterByContentType($contents, "Kabel") as $content)

<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;">
@if(empty($content->image))
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">

View File

@ -20,7 +20,7 @@
@foreach($contents as $content)

<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;">
@if(empty($content->image))
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">