From 05514be64a7f5db54c47c86997c1640bbabeb5d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Wed, 10 Jan 2024 12:57:18 +0100 Subject: [PATCH] . --- content/index.blade.php | 110 ++++++++++++++++----- content/lists/aktuelles.blade.php | 154 ++++++++++++++++++++++++----- content/lists/jobs.blade.php | 89 ++++++++++------- content/lists/leistungen.blade.php | 42 ++++---- 4 files changed, 286 insertions(+), 109 deletions(-) diff --git a/content/index.blade.php b/content/index.blade.php index 091a1e8..441e5f1 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -2,7 +2,88 @@ @extends('template.'.config('settings.template').'.content.master') @section('content') -
+ + + + + +
+ {{config('settings.name')}} Cover + + + + +
+
+

{{config('settings.name')}}

+

{{config('settings.description')}}

+
+
+ +
+ + + + + + +
@@ -13,8 +94,6 @@
- -
@@ -25,11 +104,6 @@
- - - - - @if($type->get("Ankündigung")->status) @php($leistungen = filterByContentType("Ankündigung")) @if($leistungen->isNotEmpty()) @@ -66,23 +140,12 @@ {{ $content->ankundigung }}
- @endisset
- - - - - - @endforeach - - - - - +
@endif @@ -122,9 +185,6 @@ @endforeach - - - @if($leistungen->count() > 3)
@@ -148,10 +208,6 @@ @endif - - - - @if($type->get("News")->status) @php($news = filterByContentType("News")) @if($news->isNotEmpty()) diff --git a/content/lists/aktuelles.blade.php b/content/lists/aktuelles.blade.php index 0842e7a..2491d41 100644 --- a/content/lists/aktuelles.blade.php +++ b/content/lists/aktuelles.blade.php @@ -1,6 +1,5 @@ @extends('template.'.config('settings.template').'.content.master') @section('content') - @@ -15,48 +14,151 @@

- @foreach($contents as $index => $content) +
-
-
- - - -
-

- - {{$content->title}} - -

+ + + + +
+ +

Parallax 1

+
+ + + + + + + +
+ + + @if(count($contents) > 0) + + @foreach($contents as $index => $content) + +
+
+ + + + +
+

+ + {{$content->title}} + + +

+ +
{{ $content->updated_at->diffForHumans() }} +
+ + {!! Str::limit($content->vorschau, 280) !!} +
- {!! Str::limit($content->vorschau, 280) !!} +
- - -
+ + + @endforeach + @else + + +
+ + + + Derzeit keine Inhalte in {{ $list->name }} veröffentlicht. +
+ @endif - @endforeach
diff --git a/content/lists/jobs.blade.php b/content/lists/jobs.blade.php index 0cbd7aa..94fbe43 100644 --- a/content/lists/jobs.blade.php +++ b/content/lists/jobs.blade.php @@ -33,58 +33,75 @@ Werden Sie Teil unseres Teams und gestalten Sie Ihre Karriere bei {{$_legal_name}}!

- @foreach($contents as $content) -
-
-
-
-
- {{$_legal_name}} -
-
- - - - - {{$_legal_name}} -
-
-
- - {{$content->title}} - -
-
- - {{$_legal_zip_code}} {{$_legal_city}} -
-
-
+ @if(count($contents) > 0) + + @foreach($contents as $content) + +
+
+
+
+
+ {{$_legal_name}} +
+
+ + + + + {{$_legal_name}} +
+
+
+ + {{$content->title}} + +
+ +
+ + {{$_legal_zip_code}} {{$_legal_city}} +
+
+
{{ $content->updated_at->diffForHumans() }} -
-
+
+
{{ $content->updated_at->diffForHumans() }} - - Job ansehen - - - - + + Job ansehen + + + + +
+ @endforeach + @else + + +
+ + + + Derzeit keine Inhalte in {{ $list->name }} veröffentlicht. +
- @endforeach + + @endif +
diff --git a/content/lists/leistungen.blade.php b/content/lists/leistungen.blade.php index 794f788..6577bfc 100644 --- a/content/lists/leistungen.blade.php +++ b/content/lists/leistungen.blade.php @@ -16,34 +16,36 @@

- @foreach($contents as $content) -