Theme Seebad 0.3.0: own gallery, offers, reviews, FAQ, contact, booking and rich text
- All 15 sections now in Seebad style: offers and contact framed with terrace-brace brackets,
reviews with large average and serif quotes, FAQ with large toggles, gallery with captions on focus
- Booking page offers the phone number ("Lieber persönlich?")
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e49f160496
commit
6930d3ab0f
9 files changed
+219
-3
No files matched your search
@@ -0,0 +1,24 @@
|
||||
@if ($faqs->isNotEmpty())
|
||||
<section class="mx-auto max-w-4xl px-4 py-16 sm:px-8 sm:py-20" aria-labelledby="{{ $sectionId }}-title">
|
||||
<h2 id="{{ $sectionId }}-title" class="heading-display mb-8">{{ $heading }}</h2>
|
||||
<div class="divide-y divide-line border-y-2 border-ink">
|
||||
@foreach ($faqs as $faq)
|
||||
<details class="group">
|
||||
<summary class="flex min-h-16 cursor-pointer list-none items-center justify-between gap-6 py-4 font-display text-[1.375rem] leading-snug [&::-webkit-details-marker]:hidden">
|
||||
{{ $faq->question }}
|
||||
<span aria-hidden="true" class="flex size-10 shrink-0 items-center justify-center rounded-full border-2 border-accent text-accent transition group-open:rotate-45"><x-heroicon-o-plus class="size-5" /></span>
|
||||
</summary>
|
||||
<div class="prose-theme pb-6">{{ $answers[$faq->id] }}</div>
|
||||
</details>
|
||||
@endforeach
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@push('head')
|
||||
<script type="application/ld+json">{!! json_encode([
|
||||
'@context' => 'https://schema.org',
|
||||
'@type' => 'FAQPage',
|
||||
'mainEntity' => $faqs->map(fn ($faq) => ['@type' => 'Question', 'name' => $faq->question, 'acceptedAnswer' => ['@type' => 'Answer', 'text' => strip_tags($faq->answer)]])->values(),
|
||||
], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_HEX_TAG) !!}</script>
|
||||
@endpush
|
||||
@endif
|
||||
Reference in new issue
Block a user