card height-100

master
Benjamin Völkl 2021-09-16 17:25:12 +02:00
parent b6903f630f
commit efd09669f9
4 changed files with 35 additions and 30 deletions

View File

@ -1,4 +1,4 @@
<link rel="stylesheet" href="{{asset('template/css/bootstrap.min.css')}}" >
<link rel="stylesheet" href="{{asset('template/css/app.css?v=11')}}" >
<link rel="stylesheet" href="{{asset('template/css/app.css?v=12')}}" >



View File

@ -104,7 +104,7 @@
<h2 id="news" class="mt-5 mb-4">Aktuelle <strong>Neuigkeiten</strong></h2>
@foreach($nachrichten as $nach)
<div class="col-12 col-md-4" style="padding-bottom: 1rem;">
<div class="card" style="background-color: #f8f8f8;">
<div class="card h-100" style="background-color: #f8f8f8;">
@if ($nach->image)
<img class="rounded-top img-fluid" src="{{ asset('uploads/' . $nach->image) }}">
@else
@ -130,17 +130,17 @@
{!! isset($nach->additional_fields['1']) ? $nach->additional_fields['1'] : 'keine Angaben' !!}
</div>

<div class="col-12 col-lg-12 text-end ">
<br>
<a class="btn btn-sm btn-ci" href="{{ route_content($nach) }}" onclick="gtag('event', 'See Job', {'event_category' : 'Home', 'event_label' : '{{$nach->title}}'});">
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="card-footer text-end">
<a class="btn btn-sm btn-ci" href="{{ route_content($nach) }}" onclick="gtag('event', 'See Job', {'event_category' : 'Home', 'event_label' : '{{$nach->title}}'});">
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>
@endforeach

View File

@ -29,15 +29,12 @@
<section>
<div class="row">

<div class="col-lg-12">



@foreach($nachrichten as $nach)


<div class="col-12 col-md-4" style="padding-bottom: 1rem;">
<div class="card" style="background-color: #f8f8f8;">
<div class="col-12 col-md-4 pb-1">
<div class="card h-100" style="background-color: #f8f8f8;">
@if ($nach->image)
<img class="rounded-top img-fluid" src="{{ asset('uploads/' . $nach->image) }}">
@else
@ -64,17 +61,18 @@
{!! isset($nach->additional_fields['1']) ? $nach->additional_fields['1'] : 'keine Angaben' !!}
</div>

<div class="col-12 col-lg-12 text-end ">
<br>
<a class="btn btn-sm btn-ci" href="{{ route_content($nach) }}" onclick="gtag('event', 'See Job', {'event_category' : 'Home', 'event_label' : '{{$nach->title}}'});">
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="card-footer text-end">
<a class="btn btn-sm btn-ci" href="{{ route_content($nach) }}" onclick="gtag('event', 'See Job', {'event_category' : 'Home', 'event_label' : '{{$nach->title}}'});">
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>

@ -85,11 +83,13 @@

{!! $nachrichten->render() !!}

<br>
<br>
<br>
<br>
</div>
<div class="col-12">
<br>
<br>
<br>
<br>
</div>

</div>
</section>


View File

@ -735,3 +735,8 @@ a{
a:hover {
color: #4c3131;
}

.card-footer{
background-color: #f8f8f8;
border-top: none;
}