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>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
@if ($content->image)
|
@if ($content->image)
|
||||||
<br>
|
<br>
|
||||||
<img src="{{ asset('uploads/' . $content->image) }}" class="img-fluid">
|
<img src="{{ asset('uploads/' . $content->image) }}" class="img-fluid">
|
||||||
<br>
|
<br>
|
||||||
@endif
|
@endif
|
||||||
<br>
|
<br>
|
||||||
<style>
|
<style>
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
padding-top:55px;
|
padding-top:55px;
|
||||||
}
|
}
|
||||||
h5{
|
h5{
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
{!! !empty($content->description)?$content->description:'keine Angaben' !!}
|
{!! isset($content->data_fields['beschreibung'])?$content->data_fields['beschreibung']:'keine Angaben' !!}
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('scripts')
|
@section('scripts')
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
<link rel="shortcut icon" href="/favicon.ico?v=rMBWbbb2wK">
|
<link rel="shortcut icon" href="/favicon.ico?v=rMBWbbb2wK">
|
||||||
<meta name="msapplication-TileColor" content="#f49c35">
|
<meta name="msapplication-TileColor" content="#f49c35">
|
||||||
<meta name="theme-color" content="#ffffff">
|
<meta name="theme-color" content="#ffffff">
|
||||||
@if (Route::currentRouteName() == 'content' and isset($content))
|
@if (Route::currentRouteName() == 'content' and !isset($list) and isset($content))
|
||||||
<title>{{ $content->title}}</title>
|
<title>{{$content->title}}</title>
|
||||||
<meta property="og:type" content="article">
|
<meta property="og:type" content="article">
|
||||||
<meta property="article:author" content="{{ $content->user->name }}">
|
<meta property="article:author" content="{{ $content->user->name }}">
|
||||||
<meta property="article:published_time" content="{{ $content->created_at }}">
|
<meta property="article:published_time" content="{{ $content->created_at }}">
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
@else
|
@else
|
||||||
<meta property="og:image" content="{{ $content->user->gravatar() }}">
|
<meta property="og:image" content="{{ $content->user->gravatar() }}">
|
||||||
@endif
|
@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>
|
<title>Aktuelle Stellenangebote in {{ $list->name }}</title>
|
||||||
<!-- Para colocar title do SEO exemplo: $list->seo_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.">
|
<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>
|
<small class="card-subtitle mb-2 text-muted" title="{{date('d.m.Y', strtotime($content->created_at))}}"> {{ $content->created_at->diffForHumans() }}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 mt-2">
|
<div class="col-12 mt-2">
|
||||||
{!! !empty($content->description)?$content->description:'keine Angaben' !!}
|
{!! strIsset($content->data_fields['neuigkeit'], 'keine Angaben') !!}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -178,29 +178,20 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h2 id="produkte" class="mb-4">Unsere <strong>Alpaka Produkte</strong></h2>
|
<h2 id="produkte" class="mb-4">Unsere <strong>Alpaka Produkte</strong></h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
@foreach(filterByContentType($mdContents, "Produkte")->take(6) as $content)
|
@foreach(filterByContentType($mdContents, "Produkte")->take(6) as $content)
|
||||||
|
|
||||||
|
|
||||||
<div class="col-4 col-md-2 mb-4">
|
<div class="col-4 col-md-2 mb-4">
|
||||||
<a href="{{ route_content($content) }}" title="{{$content->title}}">
|
<a href="{{ route_content($content) }}" title="{{$content->title}}">
|
||||||
@if ($content->image)
|
@if ($content->image)
|
||||||
<img class="rounded border img-fluid" src="{{ asset('uploads/' . $content->image) }}" loading="lazy">
|
<img class="rounded border img-fluid" src="{{ asset('uploads/' . $content->image) }}" loading="lazy">
|
||||||
@else
|
@else
|
||||||
<img class="rounded border img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}" loading="lazy">
|
<img class="rounded border img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}" loading="lazy">
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
||||||
|
|
||||||
<div class="col-12 text-center">
|
<div class="col-12 text-center">
|
||||||
<a href="{{url('/produkte')}}" class="text-center small" >Mehr Produkte</a>
|
<a href="{{url('/produkte')}}" class="text-center small" >Mehr Produkte</a>
|
||||||
<br>
|
<br>
|
||||||
|
@ -208,13 +199,7 @@
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
<script src="{{asset('template/js/pages/main/script.js')}}"></script>
|
<script src="{{asset('template/js/pages/main/script.js')}}"></script>
|
||||||
@stop
|
@stop
|
|
@ -11,11 +11,11 @@
|
||||||
</div>
|
</div>
|
||||||
<section>
|
<section>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@foreach($contents as $nach)
|
@foreach($contents as $content)
|
||||||
<div class="col-12 col-md-4 pb-5">
|
<div class="col-12 col-md-4 pb-5">
|
||||||
<div class="card h-100 shadow-sm" style="background-color: #f8f8f8;">
|
<div class="card h-100 shadow-sm" style="background-color: #f8f8f8;">
|
||||||
@if ($nach->image)
|
@if ($content->image)
|
||||||
<img class="rounded-top img-fluid" src="{{ asset('uploads/' . $nach->image) }}">
|
<img class="rounded-top img-fluid" src="{{ asset('uploads/'.$content->image) }}">
|
||||||
@else
|
@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
|
@endif
|
||||||
|
@ -23,8 +23,8 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<h5 class="card-title" style="margin-top: 20px;">
|
<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}}'});">
|
<a href="{{ route_content($content) }}" onclick="gtag('event', 'See Job', {'event_category' : 'Home', 'event_label' : '{{$nach->title}}'});">
|
||||||
{{$nach->title}}
|
{{$content->title}}
|
||||||
</a>
|
</a>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</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>
|
<small class="card-subtitle mb-2 text-muted" title="{{date('d.m.Y', strtotime($nach->created_at))}}"> {{ $nach->created_at->diffForHumans() }}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 mt-2">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-footer text-end">
|
<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
|
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">
|
<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" />
|
<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="row" style="padding-top: 60px;">
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<h1 class="mt-2">{{ $listModel->name }}</h1>
|
<h1 class="mt-2">{{ $list->name }}</h1>
|
||||||
<br>
|
<br>
|
||||||
@if (isset($listModel))
|
@if (isset($list))
|
||||||
{{ $listModel->description }}
|
{{ $list->description }}
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -33,17 +33,16 @@
|
||||||
|
|
||||||
|
|
||||||
<div class="accordion" id="accordionExample">
|
<div class="accordion" id="accordionExample">
|
||||||
@foreach($nachrichten as $nach)
|
@foreach($contents as $content)
|
||||||
|
|
||||||
<div class="accordion-item">
|
<div class="accordion-item">
|
||||||
<h2 class="accordion-header" id="heading{{$nach->id}}">
|
<h2 class="accordion-header" id="heading{{$content->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}}">
|
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse{{$content->id}}" aria-expanded="true" aria-controls="collapse{{$content->id}}">
|
||||||
{{$nach->title}}
|
{{$content->title}}
|
||||||
</button>
|
</button>
|
||||||
</h2>
|
</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">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -69,7 +68,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{!! $nachrichten->render() !!}
|
{!! $contents->render() !!}
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -11,22 +11,22 @@
|
||||||
</div>
|
</div>
|
||||||
<section>
|
<section>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@foreach($contents as $nach)
|
@foreach($contents as $content)
|
||||||
<div class="col-12 col-md-3 pb-5">
|
<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;">
|
<div class="card h-100 shadow-sm" style="background-color: #f8f8f8;">
|
||||||
@if ($nach->image)
|
@if ($content->image)
|
||||||
<img class="rounded-top img-fluid" src="{{ asset('uploads/' . $nach->image) }}">
|
<img class="rounded-top img-fluid" src="{{asset('uploads/'.$content->image)}}">
|
||||||
@else
|
@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
|
@endif
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<h5 class="card-title">{{$nach->title}}</h5>
|
<h5 class="card-title">{{$content->title}}</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 mt-2 text-muted text-end">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue