Display Module 13-05-2026
This commit is contained in:
parent
6a65354f4c
commit
9262132325
41 changed files with 496 additions and 334 deletions
|
|
@ -272,16 +272,16 @@ new class extends Component
|
|||
$rules['deliveryRadius'] = 'required|integer|min:1|max:500';
|
||||
$rules['assemblyRadius'] = 'required|integer|min:1|max:500';
|
||||
$rules['newTeamPhotos'] = 'nullable|array|max:10';
|
||||
$rules['newTeamPhotos.*'] = 'image|mimes:jpeg,jpg,png|max:10240';
|
||||
$rules['newTeamPhotos.*'] = 'image|mimes:jpeg,jpg,png|max:204800';
|
||||
$rules['newShowroomPhotos'] = 'nullable|array|max:20';
|
||||
$rules['newShowroomPhotos.*'] = 'image|mimes:jpeg,jpg,png|max:10240';
|
||||
$rules['newShowroomPhotos.*'] = 'image|mimes:jpeg,jpg,png|max:204800';
|
||||
}
|
||||
|
||||
if ($this->isManufacturer()) {
|
||||
$rules['brandName'] = 'required|string|max:255';
|
||||
$rules['brandDescription'] = 'nullable|string|max:1000';
|
||||
$rules['newBrandImages'] = 'nullable|array|max:10';
|
||||
$rules['newBrandImages.*'] = 'image|mimes:jpeg,jpg,png|max:10240';
|
||||
$rules['newBrandImages.*'] = 'image|mimes:jpeg,jpg,png|max:204800';
|
||||
}
|
||||
|
||||
$this->validate($rules, [
|
||||
|
|
@ -305,11 +305,11 @@ new class extends Component
|
|||
'foundedYear.min' => __('Das Gründungsjahr muss nach 1800 liegen.'),
|
||||
'foundedYear.max' => __('Das Gründungsjahr darf nicht in der Zukunft liegen.'),
|
||||
'newTeamPhotos.*.image' => __('Nur Bilder (JPG, PNG) erlaubt.'),
|
||||
'newTeamPhotos.*.max' => __('Bilder dürfen maximal 10 MB groß sein.'),
|
||||
'newTeamPhotos.*.max' => __('Bilder dürfen maximal 200 MB groß sein.'),
|
||||
'newShowroomPhotos.*.image' => __('Nur Bilder (JPG, PNG) erlaubt.'),
|
||||
'newShowroomPhotos.*.max' => __('Bilder dürfen maximal 10 MB groß sein.'),
|
||||
'newShowroomPhotos.*.max' => __('Bilder dürfen maximal 200 MB groß sein.'),
|
||||
'newBrandImages.*.image' => __('Nur Bilder (JPG, PNG) erlaubt.'),
|
||||
'newBrandImages.*.max' => __('Bilder dürfen maximal 10 MB groß sein.'),
|
||||
'newBrandImages.*.max' => __('Bilder dürfen maximal 200 MB groß sein.'),
|
||||
]);
|
||||
|
||||
$specialties = array_values(array_filter(
|
||||
|
|
@ -793,7 +793,7 @@ new class extends Component
|
|||
<flux:card class="shadow-elegant">
|
||||
<div class="mb-4">
|
||||
<flux:heading size="lg">{{ __('Team-Fotos') }}</flux:heading>
|
||||
<flux:subheading>{{ __('Nur JPG/PNG – max. 10 MB pro Bild') }}</flux:subheading>
|
||||
<flux:subheading>{{ __('Nur JPG/PNG – max. 200 MB pro Bild') }}</flux:subheading>
|
||||
</div>
|
||||
<flux:separator class="mb-6" />
|
||||
|
||||
|
|
@ -867,7 +867,7 @@ new class extends Component
|
|||
@endif
|
||||
|
||||
<flux:file-upload wire:model="newTeamPhotos" multiple accept="image/jpeg,image/png,.jpg,.jpeg,.png">
|
||||
<flux:file-upload.dropzone heading="{{ __('Team-Fotos hochladen') }}" text="{{ __('JPEG oder PNG – max. 10 MB') }}" with-progress />
|
||||
<flux:file-upload.dropzone heading="{{ __('Team-Fotos hochladen') }}" text="{{ __('JPEG oder PNG – max. 200 MB') }}" with-progress />
|
||||
</flux:file-upload>
|
||||
|
||||
@if (count($newTeamPhotos) > 0)
|
||||
|
|
@ -892,7 +892,7 @@ new class extends Component
|
|||
<flux:card class="shadow-elegant">
|
||||
<div class="mb-4">
|
||||
<flux:heading size="lg">{{ __('Showroom-Galerie') }}</flux:heading>
|
||||
<flux:subheading>{{ __('Bilder Ihres Showrooms für das öffentliche Profil – nur JPG/PNG, max. 10 MB') }}</flux:subheading>
|
||||
<flux:subheading>{{ __('Bilder Ihres Showrooms für das öffentliche Profil – nur JPG/PNG, max. 200 MB') }}</flux:subheading>
|
||||
</div>
|
||||
<flux:separator class="mb-6" />
|
||||
|
||||
|
|
@ -966,7 +966,7 @@ new class extends Component
|
|||
@endif
|
||||
|
||||
<flux:file-upload wire:model="newShowroomPhotos" multiple accept="image/jpeg,image/png,.jpg,.jpeg,.png">
|
||||
<flux:file-upload.dropzone heading="{{ __('Showroom-Bilder hochladen') }}" text="{{ __('JPEG oder PNG – max. 10 MB') }}" with-progress />
|
||||
<flux:file-upload.dropzone heading="{{ __('Showroom-Bilder hochladen') }}" text="{{ __('JPEG oder PNG – max. 200 MB') }}" with-progress />
|
||||
</flux:file-upload>
|
||||
|
||||
@if (count($newShowroomPhotos) > 0)
|
||||
|
|
@ -993,7 +993,7 @@ new class extends Component
|
|||
<flux:card class="shadow-elegant">
|
||||
<div class="mb-4">
|
||||
<flux:heading size="lg">{{ __('Marken-Bilder') }}</flux:heading>
|
||||
<flux:subheading>{{ __('Bilder für Ihre Marken-Präsentation (Atmosphäre, Brand-Story etc.) – nur JPG/PNG, max. 10 MB') }}</flux:subheading>
|
||||
<flux:subheading>{{ __('Bilder für Ihre Marken-Präsentation (Atmosphäre, Brand-Story etc.) – nur JPG/PNG, max. 200 MB') }}</flux:subheading>
|
||||
</div>
|
||||
<flux:separator class="mb-6" />
|
||||
|
||||
|
|
@ -1067,7 +1067,7 @@ new class extends Component
|
|||
@endif
|
||||
|
||||
<flux:file-upload wire:model="newBrandImages" multiple accept="image/jpeg,image/png,.jpg,.jpeg,.png">
|
||||
<flux:file-upload.dropzone heading="{{ __('Marken-Bilder hochladen') }}" text="{{ __('JPEG oder PNG – max. 10 MB') }}" with-progress />
|
||||
<flux:file-upload.dropzone heading="{{ __('Marken-Bilder hochladen') }}" text="{{ __('JPEG oder PNG – max. 200 MB') }}" with-progress />
|
||||
</flux:file-upload>
|
||||
|
||||
@if (count($newBrandImages) > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue