adapt themee to lumino version 2.2
parent
25b4d13868
commit
c0b885f2c1
22
config.json
22
config.json
|
@ -59,5 +59,27 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"lists": [
|
||||
{
|
||||
"name": "Produkte",
|
||||
"slug": "produkte",
|
||||
"description": "",
|
||||
"search_terms": "",
|
||||
"image": "",
|
||||
"seo_title": "",
|
||||
"seo_description": "",
|
||||
"blade": "produkte"
|
||||
},
|
||||
{
|
||||
"name": "FAQ",
|
||||
"slug": "faq",
|
||||
"description": "",
|
||||
"search_terms": "",
|
||||
"image": "",
|
||||
"seo_title": "",
|
||||
"seo_description": "",
|
||||
"blade": "faq"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -23,32 +23,31 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-9">
|
||||
@if ($content->image)
|
||||
<br>
|
||||
<img src="{{ asset('uploads/' . $content->image) }}" class="img-fluid">
|
||||
<br>
|
||||
@endif
|
||||
<br>
|
||||
<style>
|
||||
h2 {
|
||||
font-size: 1.4rem;
|
||||
padding-top:55px;
|
||||
}
|
||||
h5{
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
</style>
|
||||
<br>
|
||||
<br>
|
||||
{!! !empty($content->description)?$content->description:'keine Angaben' !!}
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
@if ($content->image)
|
||||
<br>
|
||||
<img src="{{ asset('uploads/' . $content->image) }}" class="img-fluid">
|
||||
<br>
|
||||
@endif
|
||||
<br>
|
||||
<style>
|
||||
h2 {
|
||||
font-size: 1.4rem;
|
||||
padding-top:55px;
|
||||
}
|
||||
h5{
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
</style>
|
||||
<br>
|
||||
<br>
|
||||
{!! isset($content->data_fields['beschreibung'])?$content->data_fields['beschreibung']:'keine Angaben' !!}
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
|
||||
@section('scripts')
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
<link rel="shortcut icon" href="/favicon.ico?v=rMBWbbb2wK">
|
||||
<meta name="msapplication-TileColor" content="#f49c35">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
@if (Route::currentRouteName() == 'content' and isset($content))
|
||||
<title>{{ $content->title}}</title>
|
||||
@if (Route::currentRouteName() == 'content' and !isset($list) and isset($content))
|
||||
<title>{{$content->title}}</title>
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:author" content="{{ $content->user->name }}">
|
||||
<meta property="article:published_time" content="{{ $content->created_at }}">
|
||||
|
@ -22,7 +22,7 @@
|
|||
@else
|
||||
<meta property="og:image" content="{{ $content->user->gravatar() }}">
|
||||
@endif
|
||||
@elseif (Route::currentRouteName() == 'content' and isset($list))
|
||||
@elseif (Route::currentRouteName() == 'content' and isset($list) and isset($content))
|
||||
<title>Aktuelle Stellenangebote in {{ $list->name }}</title>
|
||||
<!-- Para colocar title do SEO exemplo: $list->seo_title -->
|
||||
<meta name="description" content="Finden Sie hier Ihren Job in der Region {{ $list->name }} und bewerben Sie sich bei Top-Arbeigebern.">
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
<small class="card-subtitle mb-2 text-muted" title="{{date('d.m.Y', strtotime($content->created_at))}}"> {{ $content->created_at->diffForHumans() }}</small>
|
||||
</div>
|
||||
<div class="col-12 mt-2">
|
||||
{!! !empty($content->description)?$content->description:'keine Angaben' !!}
|
||||
{!! strIsset($content->data_fields['neuigkeit'], 'keine Angaben') !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -178,29 +178,20 @@
|
|||
<div class="row">
|
||||
<div class="col">
|
||||
<h2 id="produkte" class="mb-4">Unsere <strong>Alpaka Produkte</strong></h2>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
@foreach(filterByContentType($mdContents, "Produkte")->take(6) as $content)
|
||||
|
||||
|
||||
<div class="col-4 col-md-2 mb-4">
|
||||
<a href="{{ route_content($content) }}" title="{{$content->title}}">
|
||||
@if ($content->image)
|
||||
<img class="rounded border img-fluid" src="{{ asset('uploads/' . $content->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>
|
||||
<br>
|
||||
|
@ -208,13 +199,7 @@
|
|||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
<script src="{{asset('template/js/pages/main/script.js')}}"></script>
|
||||
@stop
|
|
@ -11,11 +11,11 @@
|
|||
</div>
|
||||
<section>
|
||||
<div class="row">
|
||||
@foreach($contents as $nach)
|
||||
@foreach($contents as $content)
|
||||
<div class="col-12 col-md-4 pb-5">
|
||||
<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) }}">
|
||||
@if ($content->image)
|
||||
<img class="rounded-top img-fluid" src="{{ asset('uploads/'.$content->image) }}">
|
||||
@else
|
||||
<img class="rounded-top img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}">
|
||||
@endif
|
||||
|
@ -23,8 +23,8 @@
|
|||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h5 class="card-title" style="margin-top: 20px;">
|
||||
<a href="{{ route_content($nach) }}" onclick="gtag('event', 'See Job', {'event_category' : 'Home', 'event_label' : '{{$nach->title}}'});">
|
||||
{{$nach->title}}
|
||||
<a href="{{ route_content($content) }}" onclick="gtag('event', 'See Job', {'event_category' : 'Home', 'event_label' : '{{$nach->title}}'});">
|
||||
{{$content->title}}
|
||||
</a>
|
||||
</h5>
|
||||
</div>
|
||||
|
@ -32,12 +32,12 @@
|
|||
<small class="card-subtitle mb-2 text-muted" title="{{date('d.m.Y', strtotime($nach->created_at))}}"> {{ $nach->created_at->diffForHumans() }}</small>
|
||||
</div>
|
||||
<div class="col-12 mt-2">
|
||||
{!! !empty($nach->description)?$nach->description:'keine Angaben' !!}
|
||||
{!! isset($content->data_fields['beschreibung'])?$content->data_fields['beschreibung']:'keine Angaben' !!}
|
||||
</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}}'});">
|
||||
<a class="btn btn-sm btn-ci" href="{{ route_content($content) }}" 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" />
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
|
||||
<div class="row" style="padding-top: 60px;">
|
||||
<div class="col-xs-12">
|
||||
<h1 class="mt-2">{{ $listModel->name }}</h1>
|
||||
<h1 class="mt-2">{{ $list->name }}</h1>
|
||||
<br>
|
||||
@if (isset($listModel))
|
||||
{{ $listModel->description }}
|
||||
@if (isset($list))
|
||||
{{ $list->description }}
|
||||
@endif
|
||||
|
||||
|
||||
|
@ -33,17 +33,16 @@
|
|||
|
||||
|
||||
<div class="accordion" id="accordionExample">
|
||||
@foreach($nachrichten as $nach)
|
||||
|
||||
@foreach($contents as $content)
|
||||
<div class="accordion-item">
|
||||
<h2 class="accordion-header" id="heading{{$nach->id}}">
|
||||
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse{{$nach->id}}" aria-expanded="true" aria-controls="collapse{{$nach->id}}">
|
||||
{{$nach->title}}
|
||||
<h2 class="accordion-header" id="heading{{$content->id}}">
|
||||
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse{{$content->id}}" aria-expanded="true" aria-controls="collapse{{$content->id}}">
|
||||
{{$content->title}}
|
||||
</button>
|
||||
</h2>
|
||||
<div id="collapse{{$nach->id}}" class="accordion-collapse collapse" aria-labelledby="heading{{$nach->id}}" data-bs-parent="#accordionExample">
|
||||
<div id="collapse{{$content->id}}" class="accordion-collapse collapse" aria-labelledby="heading{{$content->id}}" data-bs-parent="#accordionExample">
|
||||
<div class="accordion-body">
|
||||
{!! !empty($content->description)?$content->description:'keine Angaben' !!}
|
||||
{!! isset($content->data_fields['antwort'])?$content->data_fields['antwort']:'keine Angaben' !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -69,7 +68,7 @@
|
|||
|
||||
|
||||
|
||||
{!! $nachrichten->render() !!}
|
||||
{!! $contents->render() !!}
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
|
|
@ -11,22 +11,22 @@
|
|||
</div>
|
||||
<section>
|
||||
<div class="row">
|
||||
@foreach($contents as $nach)
|
||||
@foreach($contents as $content)
|
||||
<div class="col-12 col-md-3 pb-5">
|
||||
<a href="{{ route_content($nach) }}">
|
||||
<a href="{{ route_content($content) }}">
|
||||
<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) }}">
|
||||
@if ($content->image)
|
||||
<img class="rounded-top img-fluid" src="{{asset('uploads/'.$content->image)}}">
|
||||
@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')}}">
|
||||
@endif
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h5 class="card-title">{{$nach->title}}</h5>
|
||||
<h5 class="card-title">{{$content->title}}</h5>
|
||||
</div>
|
||||
<div class="col-12 mt-2 text-muted text-end">
|
||||
{!! !empty($content->description)?$content->description:'keine Angaben' !!}
|
||||
{!! isset($content->data_fields['beschreibung'])?$content->data_fields['beschreibung']:'keine Angaben' !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue