Files
fewo-stommer/config/themes.php
T
LarsandClaude Opus 5.5 f7cbc66451
Deploy / test (push) Failing after 2s
Deploy / deploy (push) Skipped
Section "Grundriss (interaktiv)": floor plan with rooms, admin editor, Seebad view
- Table floor_plans (tenant_id, one per apartment, picture = website photo, rooms as JSON with
  corners in percent of the picture), model FloorPlan with BelongsToTenant, Property::floorPlan()
- Admin › Webseite › Grundriss: room list with name, description, photos, equipment (from the
  equipment list), accessibility hint, visibility, and an area editor (click the corners on the picture)
- Section floor_plan: base view without JavaScript (areas jump to the room list), Seebad view with
  room buttons, highlighted area and a cartouche per room (theme.js initFloorPlans)
- Tests: tenant inheritance, point parsing, website output, admin create incl. validation; the
  render test for all themes now includes the floor plan
- Docs: THEMES §5, ZUSAMMENARBEIT §6, STATUS §6 (incl. note for tenancy phase 5)
- styles/grundriss: revised rendering, WebP renditions, room areas of the Stommer flat in percent

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 15:26:02 +02:00

56 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\FloorPlanSection::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,
],
];