Veröffentliche fachliche Säulen als Themenbereiche der Website.
Deploy Test / test (push) Successful in 15s
Deploy Test / deploy (push) Successful in 22s

Dieselbe Liste trägt die öffentliche Seite. Medien bleiben privat, Seiten können mehreren Säulen zugeordnet sein.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-15 11:46:48 +01:00
1 parent af85a94cd5
commit 8cd382c357
21 files changed
+379 -13

No files matched your search

+20 -4
View File
@@ -152,10 +152,26 @@ .faq dd {
max-width: 62ch;
}
.lede {
font-size: 1.25rem;
line-height: 1.45;
margin: 0;
.themes {
list-style: none;
padding: 0;
margin: 1.5rem 0 0;
}
.themes li {
border-top: 1px solid var(--color-line);
padding: 1rem 0;
}
.themes a {
font-family: var(--font-serif);
font-size: 1.5rem;
text-decoration: none;
}
.themes p {
max-width: 62ch;
margin: 0.35rem 0 0;
}
.prose p {
+6
View File
@@ -13,4 +13,10 @@
@include('public.blocks.'.$block['type'], ['block' => $block, 'first' => $loop->first])
</section>
@endforeach
@if ($page->path === '/' && ($themes ?? collect())->isNotEmpty())
<section class="block">
<h2>Themenbereiche</h2>
@include('public.themes.list', ['themes' => $themes])
</section>
@endif
@endsection
+3
View File
@@ -3,4 +3,7 @@
@foreach ($pages as $page)
<url><loc>{{ $page->publicUrl() }}</loc></url>
@endforeach
@foreach ($themes as $theme)
<url><loc>{{ $theme->publicUrl() }}</loc></url>
@endforeach
</urlset>
@@ -0,0 +1,16 @@
@extends('layouts.site')
@section('title', 'Themenbereiche')
@section('canonical', route('themes'))
@section('content')
<section class="block">
<h1>Themenbereiche</h1>
<p class="lede">Die fachlichen Säulen des Trainings, jeweils mit den Seiten, die dazu veröffentlicht sind.</p>
@if ($themes->isEmpty())
<p>Noch kein Themenbereich ist veröffentlicht.</p>
@else
@include('public.themes.list', ['themes' => $themes])
@endif
</section>
@endsection
@@ -0,0 +1,10 @@
<ul class="themes">
@foreach ($themes as $theme)
<li>
<a href="{{ $theme->publicUrl() }}">{{ $theme->name }}</a>
@if (filled($theme->public_summary))
<p>{{ $theme->public_summary }}</p>
@endif
</li>
@endforeach
</ul>
@@ -0,0 +1,22 @@
@extends('layouts.site')
@section('title', $theme->name)
@section('description', $documentDescription)
@section('canonical', $theme->publicUrl())
@section('content')
<section class="block">
<p><a href="{{ route('themes') }}">Themenbereiche</a></p>
<h1>{{ $theme->name }}</h1>
@if (filled($theme->public_summary))
<p class="lede">{{ $theme->public_summary }}</p>
@endif
@if ($pages->isNotEmpty())
<ul class="themes">
@foreach ($pages as $page)
<li><a href="{{ $page->publicUrl() }}">{{ $page->publicTitle() }}</a></li>
@endforeach
</ul>
@endif
</section>
@endsection