Inhaltsverwaltung: Bilder, Webseiten-Texte, Ausstattung, FAQ, Hinweis-Banner
- Bilder mit automatischen WebP-Webgrößen (640/1280/2048 px), Sortierung per Drag & Drop, Mehrfach-Upload, Import-Befehl photos:import - Webseiten-Texte als feste, bearbeitbare Bausteine (config/content.php), Rich-Text bereinigt ausgegeben - Ausstattung und FAQ aus der bisherigen Webseite übernommen - Rolle Inhalte hat Zugriff auf alle Webseiten-Bereiche Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
27ea12901e
commit
bb7eb62782
53 files changed
+1963
-1
No files matched your search
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use Filament\Support\Contracts\HasLabel;
|
||||
|
||||
enum AmenityArea: string implements HasLabel
|
||||
{
|
||||
case General = 'general';
|
||||
case LivingRoom = 'living_room';
|
||||
case Bedroom = 'bedroom';
|
||||
case Kitchen = 'kitchen';
|
||||
case Bathroom = 'bathroom';
|
||||
case Outdoor = 'outdoor';
|
||||
|
||||
public function getLabel(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::General => 'Allgemein',
|
||||
self::LivingRoom => 'Wohnzimmer',
|
||||
self::Bedroom => 'Schlafzimmer',
|
||||
self::Kitchen => 'Küche',
|
||||
self::Bathroom => 'Bad',
|
||||
self::Outdoor => 'Terrasse & Außenbereich',
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use Filament\Support\Contracts\HasColor;
|
||||
use Filament\Support\Contracts\HasLabel;
|
||||
|
||||
enum NoticeTone: string implements HasColor, HasLabel
|
||||
{
|
||||
case Info = 'info';
|
||||
case Offer = 'offer';
|
||||
case Important = 'important';
|
||||
|
||||
public function getLabel(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::Info => 'Information',
|
||||
self::Offer => 'Angebot',
|
||||
self::Important => 'Wichtig',
|
||||
};
|
||||
}
|
||||
|
||||
public function getColor(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::Info => 'info',
|
||||
self::Offer => 'success',
|
||||
self::Important => 'warning',
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use Filament\Support\Contracts\HasLabel;
|
||||
|
||||
enum PhotoCategory: string implements HasLabel
|
||||
{
|
||||
case Apartment = 'apartment';
|
||||
case Outdoor = 'outdoor';
|
||||
case Area = 'area';
|
||||
|
||||
public function getLabel(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::Apartment => 'Wohnung',
|
||||
self::Outdoor => 'Terrasse & Garten',
|
||||
self::Area => 'Kühlungsborn & Umgebung',
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user