master
parent
9f0038fca1
commit
3ed71e3447
|
@ -20,22 +20,41 @@
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-7">
|
<div class="col-12 col-lg-7">
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-12 col-md-11 d-flex">
|
||||||
|
<h1 class="mt-3 mb-2 ">{{$content->title}}</h1>
|
||||||
|
</div>
|
||||||
|
<div class="fw-bolder my-4">
|
||||||
|
{!! $content->kurzbeschreibung !!}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-12 col-lg-9">
|
||||||
|
<x-img src="{{ $content->image() }}" class="img-fluid rounded" />
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
<div class="col-12 mb-5 mt-5 fs-5">
|
||||||
|
{!! $content->beschreibung !!}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="col-12 col-md-11 d-flex">
|
|
||||||
<h1 class="mt-3 mb-2 ">{{$content->title}}</h1>
|
|
||||||
</div>
|
|
||||||
<div class="fw-bolder my-4">
|
@isset($content->bilder)
|
||||||
{!! $content->kurzbeschreibung !!}
|
<div class="col-12 mb-5">
|
||||||
|
<h2 class="mb-4 mt-5 h3">Bilder</h2>
|
||||||
|
</div>
|
||||||
|
@foreach($content->bilder as $image)
|
||||||
|
<div class="col-12 col-md-6 col-lg-3 text-center">
|
||||||
|
<x-img src="{{$image}}" class="rounded img-fluid border mb-3"/>
|
||||||
|
</div>
|
||||||
|
@endforeach
|
||||||
|
@endisset
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-12 col-lg-9">
|
|
||||||
<x-img src="{{ $content->image() }}" class="img-fluid rounded" />
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
<div class="col-12 mb-5 mt-5 fs-5">
|
|
||||||
{!! $content->beschreibung !!}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-12 col-lg-4 offset-lg-1">
|
<div class="col-12 col-lg-4 offset-lg-1">
|
||||||
|
|
|
@ -41,6 +41,20 @@
|
||||||
<div class="col-12 mb-5 mt-5 fs-5">
|
<div class="col-12 mb-5 mt-5 fs-5">
|
||||||
{!! isset($content->neuigkeit) ? $content->neuigkeit : 'keine Angaben' !!}
|
{!! isset($content->neuigkeit) ? $content->neuigkeit : 'keine Angaben' !!}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@isset($content->bilder)
|
||||||
|
<div class="row mb-5">
|
||||||
|
<div class="col-12">
|
||||||
|
<h2 class="mb-4 mt-5 h3">Bilder</h2>
|
||||||
|
</div>
|
||||||
|
@foreach($content->bilder as $image)
|
||||||
|
<div class="col-12 col-md-6 col-lg-3 text-center">
|
||||||
|
<x-img src="{{$image}}" class="rounded img-fluid border mb-3"/>
|
||||||
|
</div>
|
||||||
|
@endforeach
|
||||||
|
</div>
|
||||||
|
@endisset
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -59,9 +73,9 @@
|
||||||
|
|
||||||
@foreach($otherContents->take(3) as $otherContent)
|
@foreach($otherContents->take(3) as $otherContent)
|
||||||
|
|
||||||
<div class="col-12 col-md-6 col-sm-4 mb-3">
|
<div class="col-12 col-sm-6 col-md-4 mb-3">
|
||||||
<div class="card shadow-sm h-100">
|
<div class="card shadow-sm h-100">
|
||||||
<a href="" class="text-decoration-none">
|
<a href="{{$otherContent->path}}" class="text-decoration-none">
|
||||||
<x-img src="{{$otherContent->image()}}" class="img-fluid card-img-top"/>
|
<x-img src="{{$otherContent->image()}}" class="img-fluid card-img-top"/>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
<x-form id="kontaktformular" id-name="kontaktformular" channels="kunde-bestaetigung,anfrage-kontaktformular" >
|
<x-form id="kontaktformular" id-name="kontaktformular" channels="kunde-bestaetigung,anfrage-kontaktformular" >
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
<label for="exampleInputEmail1" class="form-label">Name:</label>
|
<label for="exampleInputEmail1" class="form-label">Name:</label>
|
||||||
<input type="name" name="name" class="form-control" id="name" aria-describedby="emailHelp" placeholder="Max Mustermann" autocomplete="on">
|
<input type="name" name="name" class="form-control" id="name" aria-describedby="emailHelp" placeholder="Max Mustermann" autocomplete="on" required>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
|
|
|
@ -2,11 +2,25 @@
|
||||||
{
|
{
|
||||||
"slug": "news",
|
"slug": "news",
|
||||||
"name": "News",
|
"name": "News",
|
||||||
"description": "",
|
"description": "Neuigkeit die veröffentlich wird.",
|
||||||
"icon": "/font-awesome/duotone/newspaper.svg",
|
"icon": "/font-awesome/duotone/newspaper.svg",
|
||||||
"status": 1,
|
"status": 1,
|
||||||
"blade": "news",
|
"blade": "news",
|
||||||
"fields": [
|
"fields": [
|
||||||
|
{
|
||||||
|
"name": "Vorschau",
|
||||||
|
"type": "text",
|
||||||
|
"description" : "Vorschau für die Neuigkeit.",
|
||||||
|
"attr": {
|
||||||
|
"pattern": "",
|
||||||
|
"maxlength": "",
|
||||||
|
"minlength": "100"
|
||||||
|
},
|
||||||
|
"position": 1,
|
||||||
|
"required": 1,
|
||||||
|
"default_value": ""
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "Neuigkeit",
|
"name": "Neuigkeit",
|
||||||
"type": "rich-text",
|
"type": "rich-text",
|
||||||
|
@ -14,20 +28,19 @@
|
||||||
"use-openai-api": 0,
|
"use-openai-api": 0,
|
||||||
"openai-instructions": ""
|
"openai-instructions": ""
|
||||||
},
|
},
|
||||||
"position": 1,
|
"position": 2,
|
||||||
"required": 0,
|
"required": 1,
|
||||||
"default_value": ""
|
"default_value": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Vorschau",
|
"name": "Bilder",
|
||||||
"type": "text",
|
"type": "image",
|
||||||
|
"description": "Hier können Sie optional mehrere Bilder zur Neuigkeit hinzufügen.",
|
||||||
"attr": {
|
"attr": {
|
||||||
"pattern": "",
|
"is_multiple": 1
|
||||||
"maxlength": "",
|
|
||||||
"minlength": "100"
|
|
||||||
},
|
},
|
||||||
"position": 2,
|
"position": 3,
|
||||||
"required": 1,
|
"required": 0,
|
||||||
"default_value": ""
|
"default_value": ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -40,6 +53,19 @@
|
||||||
"status": 1,
|
"status": 1,
|
||||||
"blade": "leistungen",
|
"blade": "leistungen",
|
||||||
"fields": [
|
"fields": [
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "Kurzbeschreibung",
|
||||||
|
"type": "text",
|
||||||
|
"attr": {
|
||||||
|
"pattern": "",
|
||||||
|
"maxlength": "",
|
||||||
|
"minlength": ""
|
||||||
|
},
|
||||||
|
"position": 1,
|
||||||
|
"required": 1,
|
||||||
|
"default_value": ""
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Beschreibung",
|
"name": "Beschreibung",
|
||||||
"type": "rich-text",
|
"type": "rich-text",
|
||||||
|
@ -47,7 +73,7 @@
|
||||||
"use-openai-api": 0,
|
"use-openai-api": 0,
|
||||||
"openai-instructions": ""
|
"openai-instructions": ""
|
||||||
},
|
},
|
||||||
"position": 1,
|
"position": 2,
|
||||||
"required": 1,
|
"required": 1,
|
||||||
"default_value": ""
|
"default_value": ""
|
||||||
},
|
},
|
||||||
|
@ -59,22 +85,22 @@
|
||||||
"min": "",
|
"min": "",
|
||||||
"step": ""
|
"step": ""
|
||||||
},
|
},
|
||||||
"position": 2,
|
"position": 3,
|
||||||
"required": 0,
|
"required": 0,
|
||||||
"default_value": ""
|
"default_value": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Kurzbeschreibung",
|
"name": "Bilder",
|
||||||
"type": "text",
|
"type": "image",
|
||||||
|
"description": "Hier können Sie optional mehrere Bilder zur Leistung hinzufügen.",
|
||||||
"attr": {
|
"attr": {
|
||||||
"pattern": "",
|
"is_multiple": 1
|
||||||
"maxlength": "",
|
|
||||||
"minlength": ""
|
|
||||||
},
|
},
|
||||||
"position": 3,
|
"position": 4,
|
||||||
"required": 0,
|
"required": 0,
|
||||||
"default_value": ""
|
"default_value": ""
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -132,6 +158,19 @@
|
||||||
"position": 2,
|
"position": 2,
|
||||||
"required": 0,
|
"required": 0,
|
||||||
"default_value": ""
|
"default_value": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Verfügbarkeit",
|
||||||
|
"type": "select",
|
||||||
|
"position": 4,
|
||||||
|
"required": 0,
|
||||||
|
"default_value": "sofort verfuegbar",
|
||||||
|
"options": [
|
||||||
|
"sofort verfuegbar",
|
||||||
|
"In kürze Verfügbar",
|
||||||
|
"auf bestellung verfuegbar",
|
||||||
|
"nicht mehr verfuegbar"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue