added products on home

master
Benjamin Völkl 2021-09-17 12:19:44 +02:00
parent 2c9e945dcc
commit 3e5f892dd7
3 changed files with 125 additions and 26 deletions

View File

@ -106,9 +106,9 @@
<div class="col-12 col-md-4 mb-4" >
<div class="card h-100" style="background-color: #f8f8f8;">
@if ($nach->image)
<img class="rounded-top img-fluid" src="{{ asset('uploads/' . $nach->image) }}">
<img class="rounded-top img-fluid" src="{{ asset('uploads/' . $nach->image) }}" loading="lazy">
@else
<img class="rounded-top img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}">
<img class="rounded-top img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}" loading="lazy">
@endif

<div class="card-body">
@ -151,7 +151,7 @@
<section>
<div class="row">
<div class="col">
<h2 id="alpakas" class="mb-5">Über <strong>Alpakas</strong></h2>
<h2 id="alpakas" class="mb-4">Über <strong>Alpakas</strong></h2>

<p style="font-size: 19px;">

@ -177,35 +177,27 @@
<section>
<div class="row">
<div class="col">
<h2 id="produkte" class="mb-5">Unsere <strong>Alpaka Produkte</strong></h2>
<h2 id="produkte" class="mb-4">Unsere <strong>Alpaka Produkte</strong></h2>



</div>
</div>
<div class="row">
<div class="col-4 col-md-2 mb-4">
<a href="{{url('/neumarkt')}}" title="Produkt 1">
<img src="https://www.alpakafarm.com/sites/default/files/styles/display_04_400xstandard_16_9_crop/public/2019-03/AFS_Bild_Farm.jpg?itok=jAJ1z74g" class="img-fluid rounded border" loading="lazy">
</a>
</div>
<div class="col-4 col-md-2 mb-4">
<a href="{{url('/neumarkt')}}" title="Produkt 1">
<picture>
<img src="https://www.alpakafarm.com/sites/default/files/styles/display_04_400xstandard_16_9_crop/public/weissjung.jpg?h=1cf7100d?h=1cf7100d&amp;itok=BYKVbS4F" class="img-fluid rounded border" loading="lazy">
</picture>
</a>
</div>
<div class="col-4 col-md-2 mb-4">
<a href="{{url('/neumarkt')}}" title="Produkt 1">
<img src="https://www.alpakafarm.com/sites/default/files/styles/display_04_400xstandard_16_9_crop/public/AFS_Head_Alpakas_2.jpg?h=a8426572?h=a8426572&amp;itok=FCQtYpaZ" class="img-fluid rounded border" loading="lazy">
</a>
</div>
<div class="col-4 col-md-2 mb-4">
<a href="{{url('/neumarkt')}}" title="Produkt 1">
<img src="https://www.alpakafarm.com/sites/default/files/styles/display_04_400xstandard_16_9_crop/public/AFS_Head_Alpakas_2_0.jpg?h=0dbd260c&itok=XZI1whIH" class="img-fluid rounded border" loading="lazy">
</a>
</div>

@foreach($nachrichten->take(6) as $nach)
<div class="col-4 col-md-2 mb-4">
<a href="{{ route_content($nach) }}" title="{{$nach->title}}">
@if ($nach->image)
<img class="rounded border img-fluid" src="{{ asset('uploads/' . $nach->image) }}" loading="lazy">
@else
<img class="rounded border img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}" loading="lazy">

@endif
</a>
</div>
@endforeach


<div class="col-12 text-center">
<a href="{{url('/produkte')}}" class="text-center small" >Mehr Produkte</a>

View File

@ -0,0 +1,80 @@
@extends('template.'.config('settings.template').'.content.master')
@section('content')




<div class="row" style="padding-top: 60px;">
<div class="col-xs-12">
<h1 class="mt-2">{{ $listModel->name }}</h1>
<br>
@if (isset($listModel))
{{ $listModel->description }}
@endif


</div>
</div>


<section>
<div class="row">


@foreach($nachrichten as $nach)


<div class="col-12 col-md-3 pb-5">
<a href="{{ route_content($nach) }}">
<div class="card h-100 shadow-sm" style="background-color: #f8f8f8;">
@if ($nach->image)
<img class="rounded-top img-fluid" src="{{ asset('uploads/' . $nach->image) }}">
@else
<img class="rounded-top img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}">

@endif
<div class="card-body">
<div class="row">
<div class="col-12">
<h5 class="card-title">
{{$nach->title}}
</h5>
</div>

<div class="col-12 mt-2 text-muted text-end">

{!! isset($nach->additional_fields['1']) ? $nach->additional_fields['1'] : 'keine Angaben' !!}
</div>
</div>
</div>
</div>
</a>

</div>


@endforeach



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

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

</div>
</section>




@stop


@section('scripts')

@stop

View File

@ -49,6 +49,33 @@
<br>
<br>
<br>
<hr>
<br>
<br>
<b>Design und technische Umsetzung</b>
<br>
<br>
<br>
<a href="https://www.areya.de">
<img src="https://www.areya.de/images/areya-big-logo.png" class="border rounded" width="200">

</a>
<br>
Areya Webservices GmbH
<br>
Neuenhammerstr. 44
<br>
92714 Pleystein
<br>
<br>
<a href="https://www.areya.de">www.areya.de</a>
<br>
Tel.: <a href="tel:+4996545529550">09654/5529550</a>
<br>
<br>
<br>
<hr>
<br>


<h3>EU-Streitschlichtung</h3>