Theme Seebad 0.1.1: header no longer overlaps, readable amenities and prices
- Header: full menu from 1280 px, menu button below; site name never shrinks into the menu - Hero: photo and text side by side from 1024 px - Own amenities (serif area headings, check marks) and prices (extras as list, larger table, mobile layout) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a9ad4dbf0b
commit
5416b37dfc
6 files changed
+69
-7
No files matched your search
@@ -1,12 +1,12 @@
|
||||
@php($phone = (string) config('fewo.owner.phone'))
|
||||
<header class="relative z-20">
|
||||
<div class="mx-auto flex max-w-7xl items-center justify-between gap-6 px-4 py-4 sm:px-8 lg:py-5">
|
||||
<a href="{{ route('home') }}" class="flex min-w-0 items-center gap-3" aria-label="{{ $theme->site->name }} – Startseite">
|
||||
<a href="{{ route('home') }}" class="flex min-w-0 items-center gap-3 sm:shrink-0" aria-label="{{ $theme->site->name }} – Startseite">
|
||||
@include('theme::partials.motif', ['slot' => 'mark', 'class' => 'h-11 w-auto shrink-0 lg:h-14'])
|
||||
<span class="font-display text-[1.375rem] leading-tight font-medium sm:text-[1.75rem] xl:whitespace-nowrap">{{ $theme->site->name }}</span>
|
||||
<span class="font-display text-[1.375rem] leading-tight font-medium sm:text-[1.75rem] sm:whitespace-nowrap">{{ $theme->site->name }}</span>
|
||||
</a>
|
||||
|
||||
<nav aria-label="Hauptnavigation" class="hidden lg:block">
|
||||
<nav aria-label="Hauptnavigation" class="hidden xl:block">
|
||||
<ul class="flex gap-6 text-lg whitespace-nowrap xl:gap-7">
|
||||
@foreach ($theme->menu('main') as $item)
|
||||
<li><a href="{{ $item->url() }}" @class(['underline-offset-8 hover:underline', 'underline decoration-accent decoration-2' => url()->current() === $item->url()]) @if (url()->current() === $item->url()) aria-current="page" @endif>{{ $item->label() }}</a></li>
|
||||
@@ -22,7 +22,7 @@
|
||||
@endif
|
||||
<a href="{{ route('booking.create') }}" class="btn-accent hidden whitespace-nowrap sm:inline-flex">Verfügbarkeit prüfen</a>
|
||||
|
||||
<details class="group lg:hidden">
|
||||
<details class="group xl:hidden">
|
||||
<summary class="flex size-12 cursor-pointer list-none items-center justify-center rounded-md border border-line bg-surface [&::-webkit-details-marker]:hidden" aria-label="Menü">
|
||||
<x-heroicon-o-bars-3 class="size-6 group-open:hidden" aria-hidden="true" />
|
||||
<x-heroicon-o-x-mark class="hidden size-6 group-open:block" aria-hidden="true" />
|
||||
|
||||
Reference in new issue
Block a user