Titelvideo, Rundgang mit Kapiteln, naechste freie Termine, ruhigere Buchungsseite

- Webseite > Videos (Datei, Standbild, Kapitel mit Raum im Grundriss); Upload bis 100 MB
- Titelbereich: Video statt Foto (stumme Schleife, respektiert Bewegung reduzieren/Save-Data)
  und naechste freie Termine mit Gesamtpreis (NextFreeStays)
- Neuer Baustein Rundgang (Video) mit waehlbarer Anordnung; Grundriss springt ins Video
- Buchungsseite: Preis unter dem Kalender, Formular rechts, Ablauf als Grafik
- Seebad: Fahrkarten, Fahrplan-Kapitel, Sonnenaufgang als einmaliges Ereignis

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Opus 5.5 committed 2026-10-30 11:01:52 +01:00
1 parent f5f18cd984
commit d42c42059c
38 files changed
+1279 -23

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
<?php
namespace Database\Factories;
use App\Models\Video;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<Video>
*/
class VideoFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'title' => fake()->sentence(3),
'chapters' => null,
];
}
}
@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Website videos (Admin › Webseite › Videos): the file and a poster image live in the media library;
* chapters ("0:16 Wohnzimmer") let guests jump to a room, also from the floor plan.
*/
public function up(): void
{
Schema::create('videos', function (Blueprint $table) {
$table->id();
$table->foreignId('tenant_id')->constrained()->cascadeOnDelete();
$table->foreignId('property_id')->nullable()->constrained()->nullOnDelete();
$table->string('title');
$table->json('chapters')->nullable();
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('videos');
}
};