master
parent
9f0038fca1
commit
3ed71e3447
|
@ -20,22 +20,41 @@
|
|||
|
||||
<div class="row">
|
||||
<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">
|
||||
{!! $content->kurzbeschreibung !!}
|
||||
|
||||
|
||||
|
||||
@isset($content->bilder)
|
||||
<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 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 class="col-12 col-lg-4 offset-lg-1">
|
||||
|
|
|
@ -41,6 +41,20 @@
|
|||
<div class="col-12 mb-5 mt-5 fs-5">
|
||||
{!! isset($content->neuigkeit) ? $content->neuigkeit : 'keine Angaben' !!}
|
||||
</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>
|
||||
|
||||
|
||||
|
@ -59,9 +73,9 @@
|
|||
|
||||
@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">
|
||||
<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"/>
|
||||
</a>
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
<x-form id="kontaktformular" id-name="kontaktformular" channels="kunde-bestaetigung,anfrage-kontaktformular" >
|
||||
<div class="mb-4">
|
||||
<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 class="mb-4">
|
||||
|
|
|
@ -2,11 +2,25 @@
|
|||
{
|
||||
"slug": "news",
|
||||
"name": "News",
|
||||
"description": "",
|
||||
"description": "Neuigkeit die veröffentlich wird.",
|
||||
"icon": "/font-awesome/duotone/newspaper.svg",
|
||||
"status": 1,
|
||||
"blade": "news",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Vorschau",
|
||||
"type": "text",
|
||||
"description" : "Vorschau für die Neuigkeit.",
|
||||
"attr": {
|
||||
"pattern": "",
|
||||
"maxlength": "",
|
||||
"minlength": "100"
|
||||
},
|
||||
"position": 1,
|
||||
"required": 1,
|
||||
"default_value": ""
|
||||
},
|
||||
|
||||
{
|
||||
"name": "Neuigkeit",
|
||||
"type": "rich-text",
|
||||
|
@ -14,20 +28,19 @@
|
|||
"use-openai-api": 0,
|
||||
"openai-instructions": ""
|
||||
},
|
||||
"position": 1,
|
||||
"required": 0,
|
||||
"position": 2,
|
||||
"required": 1,
|
||||
"default_value": ""
|
||||
},
|
||||
{
|
||||
"name": "Vorschau",
|
||||
"type": "text",
|
||||
"name": "Bilder",
|
||||
"type": "image",
|
||||
"description": "Hier können Sie optional mehrere Bilder zur Neuigkeit hinzufügen.",
|
||||
"attr": {
|
||||
"pattern": "",
|
||||
"maxlength": "",
|
||||
"minlength": "100"
|
||||
"is_multiple": 1
|
||||
},
|
||||
"position": 2,
|
||||
"required": 1,
|
||||
"position": 3,
|
||||
"required": 0,
|
||||
"default_value": ""
|
||||
}
|
||||
]
|
||||
|
@ -40,6 +53,19 @@
|
|||
"status": 1,
|
||||
"blade": "leistungen",
|
||||
"fields": [
|
||||
|
||||
{
|
||||
"name": "Kurzbeschreibung",
|
||||
"type": "text",
|
||||
"attr": {
|
||||
"pattern": "",
|
||||
"maxlength": "",
|
||||
"minlength": ""
|
||||
},
|
||||
"position": 1,
|
||||
"required": 1,
|
||||
"default_value": ""
|
||||
},
|
||||
{
|
||||
"name": "Beschreibung",
|
||||
"type": "rich-text",
|
||||
|
@ -47,7 +73,7 @@
|
|||
"use-openai-api": 0,
|
||||
"openai-instructions": ""
|
||||
},
|
||||
"position": 1,
|
||||
"position": 2,
|
||||
"required": 1,
|
||||
"default_value": ""
|
||||
},
|
||||
|
@ -59,22 +85,22 @@
|
|||
"min": "",
|
||||
"step": ""
|
||||
},
|
||||
"position": 2,
|
||||
"position": 3,
|
||||
"required": 0,
|
||||
"default_value": ""
|
||||
},
|
||||
{
|
||||
"name": "Kurzbeschreibung",
|
||||
"type": "text",
|
||||
"name": "Bilder",
|
||||
"type": "image",
|
||||
"description": "Hier können Sie optional mehrere Bilder zur Leistung hinzufügen.",
|
||||
"attr": {
|
||||
"pattern": "",
|
||||
"maxlength": "",
|
||||
"minlength": ""
|
||||
"is_multiple": 1
|
||||
},
|
||||
"position": 3,
|
||||
"position": 4,
|
||||
"required": 0,
|
||||
"default_value": ""
|
||||
}
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -132,6 +158,19 @@
|
|||
"position": 2,
|
||||
"required": 0,
|
||||
"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