- Sites (Domain, Theme, Farben; mehrfähig für weitere Vermieter), Seiten aus Bausteinen mit Menüs, Erscheinungsbilder mit jährlichem Zeitplan, Priorität und signierter Vorschau - Theme-Kern (app/Themes): Manifest, Registry, Vererbung (Child-Themes), Token-Farben als CSS-Variablen, Bausteinkatalog als Registry (config/themes.php) - 15 Bausteine: Titelbereich mit Suche, Eckdaten, Text mit Bildern, Galerie, Ausstattung, Lage, Preise, Angebote, Kalender & Anfrage, Bewertungen, Gastgeber, FAQ, Abschluss, Kontakt, Fließtext - Theme Ostsee-Licht: Layout, Kopf/Fuß, Banner, mobile Buchungsleiste, Lightbox, selbst gehostete Schriften, Reduced Motion - Seiten Start, Wohnung, Kühlungsborn, Preise & Buchung, Kontakt, Impressum, Datenschutz; Sitemap, robots.txt, JSON-LD - Admin: Seiten-Baukasten, Erscheinungsbilder, Websites - Dokumentation docs/THEMES.md inkl. Übergabe für die Design-Sitzung Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
55 lines
1.7 KiB
PHP
55 lines
1.7 KiB
PHP
<?php
|
|
|
|
use App\Themes\Sections;
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Themes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Every folder below one of these paths that contains a theme.json is a
|
|
| theme. A theme may name a parent; views it does not provide are taken
|
|
| from the parent and finally from the base theme. See docs/THEMES.md.
|
|
|
|
|
*/
|
|
|
|
'paths' => [
|
|
resource_path('themes'),
|
|
],
|
|
|
|
// Complete theme every other theme falls back to; also used when a site names an unknown theme.
|
|
'base' => 'ostsee-licht',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Section catalogue
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The building blocks pages are composed of. Each class describes its
|
|
| admin form and prepares the data its view (theme::sections.<key>) needs.
|
|
| Plugins add sections by appending their class here.
|
|
|
|
|
*/
|
|
|
|
'sections' => [
|
|
Sections\HeroSection::class,
|
|
Sections\FactsSection::class,
|
|
Sections\TextImageSection::class,
|
|
Sections\GallerySection::class,
|
|
Sections\AmenitiesSection::class,
|
|
Sections\LocationSection::class,
|
|
Sections\PricesSection::class,
|
|
Sections\OffersSection::class,
|
|
Sections\BookingSection::class,
|
|
Sections\ReviewsSection::class,
|
|
Sections\HostSection::class,
|
|
Sections\FaqSection::class,
|
|
Sections\CallToActionSection::class,
|
|
Sections\ContactSection::class,
|
|
Sections\RichTextSection::class,
|
|
],
|
|
|
|
];
|