Files
laraundfelix/resources/views/layouts/member.blade.php
T
LarsandClaude Sonnet 5.5 e7efb073da
CI Feature / test (push) Successful in 2m45s
Deploy Test / test (push) Successful in 2m57s
Deploy Test / deploy (push) Successful in 30s
Behebe Player, Download-Namen und ergänze Profil, Fußzeile und Lizenzhinweis
- app.js: Der Anfangsscan übergab das Dokument, das kein Element ist; HLS-Filme im Quelltext wurden nie angebunden.
  Vollbild findet sein Video auch neben dem Player.
- Download und Ansicht heißen nach dem Anzeigetitel statt „laden.mp4“.
- Mitgliederprofil: Name, E-Mail mit Bestätigung der neuen Adresse, Passwort, Rechnungsadresse (ADR-46).
- Kleine Fußzeile mit Rechtlichem aus der CMS-Navigation.
- Lizenzdetail nennt, dass Einzel-/Mehrfachlizenz nicht festgelegt ist (Funktion gibt es noch nicht).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-22 18:38:59 +01:00

74 lines
3.9 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@yield('title', 'Mitgliederbereich') – Lara &amp; Felix</title>
<script>document.documentElement.classList.add('js');</script>
@fonts
@vite(['resources/css/app.css', 'resources/js/app.js'])
{{-- Abweichende Basiswerte der Größenskala (Website → Design → Größen); nach dem Stylesheet, damit sie gelten. --}}
{{ \App\Domain\Design\DesignSettings::styleTag() }}
</head>
{{--
Mitgliederbereich (Brand-UI-Kit 14, ADR-45). Eine Navigation: Meine Bibliothek, Programme, Meine Lizenzen und das
Konto-Menü (Profil, Angebote, Abmelden). Unter 56 rem ersetzt die untere Leiste die Hauptnavigation.
Jede Seite nennt ihren Bereich mit @section('nav', 'bibliothek'|'programme'|'lizenzen'|'konto').
--}}
@php
$nav = trim((string) $__env->yieldContent('nav', 'bibliothek'));
$items = [
['key' => 'bibliothek', 'label' => 'Meine Bibliothek', 'short' => 'Bibliothek', 'icon' => 'book-open', 'href' => route('member.library')],
['key' => 'programme', 'label' => 'Programme', 'short' => 'Programme', 'icon' => 'rectangle-stack', 'href' => route('member.programs')],
['key' => 'lizenzen', 'label' => 'Meine Lizenzen', 'short' => 'Lizenzen', 'icon' => 'key', 'href' => route('member.grants')],
];
@endphp
<body class="member">
<a class="skip" href="#inhalt">Zum Inhalt</a>
<header class="mb-header">
<div class="mb-header-inner">
<x-site.brand variant="logo" class="mb-brand" :href="route('member.dashboard')" />
<nav class="mb-nav" aria-label="Mitgliederbereich">
@foreach ($items as $item)
<a href="{{ $item['href'] }}" @if ($nav === $item['key']) aria-current="page" @endif>
<x-dynamic-component :component="'heroicon-o-'.$item['icon']" aria-hidden="true" />
<span>{{ $item['label'] }}</span>
</a>
@endforeach
</nav>
<div class="mb-account" data-member-menu>
<button type="button" class="mb-account-button" aria-expanded="false" aria-controls="mb-account-menu" data-member-menu-button @if ($nav === 'konto') data-current="true" @endif>
<x-heroicon-o-user-circle aria-hidden="true" />
<span class="mb-account-label">Mein Konto</span>
<x-heroicon-o-chevron-down class="mb-account-chevron" aria-hidden="true" />
</button>
<div class="mb-account-menu" id="mb-account-menu">
<p class="mb-account-name">{{ auth()->user()->name }}</p>
<a href="{{ route('member.profile') }}" @if (request()->routeIs('member.profile')) aria-current="page" @endif>Profil</a>
<a href="{{ route('member.offers') }}" @if (request()->routeIs('member.offers', 'member.order')) aria-current="page" @endif>Angebote</a>
<form method="post" action="{{ route('logout') }}">
@csrf
<button type="submit">Abmelden</button>
</form>
</div>
</div>
</div>
</header>
<main id="inhalt" class="mb-main">
@if (session('status'))
<p class="status" role="status">{{ session('status') }}</p>
@endif
@yield('content')
</main>
<x-member.footer />
<nav class="mb-dock" aria-label="Mitgliederbereich, Kurzzugriff">
@foreach ($items as $item)
<a href="{{ $item['href'] }}" @if ($nav === $item['key']) aria-current="page" @endif>
<x-dynamic-component :component="'heroicon-o-'.$item['icon']" aria-hidden="true" />
<span>{{ $item['short'] }}</span>
</a>
@endforeach
</nav>
</body>
</html>