Files
laraundfelix/resources/views/shop/index.blade.php
LarsandClaude Sonnet 5.5 0ac70884cc
CI Feature / test (push) Successful in 5m10s
Deploy Test / test (push) Successful in 5m21s
Deploy Test / deploy (push) Successful in 32s
Zeige auf der Shopkachel Titelbild, Saeulen, Materialart mit Symbol und Marker
- ShopCatalog als gemeinsame Datenquelle der Kacheln, shop/kachel als Partial
- Titelbild nur mit Website-Freigabe (PresentationMedia::coverPresentation), schmueckend mit leerem alt
- Symbol je Materialart (Stammdaten), Marker Neu, Aktualisiert, Beliebt mit Einstellung am Artikel
- Migration 2026_12_01_100000, rein ergaenzend
- ADR-54, Plan, DEPLOYMENT.md

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 07:44:47 +01:00

32 lines
1.3 KiB
PHP

@extends('layouts.site')
@section('title', 'Shop')
@section('content')
<h1>Shop</h1>
<p class="lede">Hier findest du kaufbare Produkte und Pakete. Jede Kachel öffnet die Produktseite mit Inhalt und den verfügbaren Lizenzoptionen.</p>
<form class="shop-search" method="get" action="{{ route('shop') }}" role="search">
<label for="shop-suche">Shop durchsuchen</label>
<input id="shop-suche" type="search" name="suche" value="{{ $term }}" autocomplete="off">
<button class="button" type="submit">Suchen</button>
@if ($term !== '')
<a class="button button-quiet" href="{{ route('shop') }}">Suche zurücksetzen</a>
@endif
</form>
@if ($cards === [])
<div class="empty">
<h2>{{ $term !== '' ? 'Keine Treffer' : 'Noch keine kaufbaren Produkte' }}</h2>
<p>{{ $term !== '' ? 'Zu „'.$term.'“ gibt es keine kaufbaren Produkte. Prüfe die Schreibweise oder setze die Suche zurück.' : 'Sobald ein Angebot aktiv ist, erscheint es hier.' }}</p>
</div>
@else
<p class="shop-count" role="status">{{ count($cards) }} {{ count($cards) === 1 ? 'Produkt' : 'Produkte' }}</p>
<ul class="shop-tiles">
@foreach ($cards as $card)
@include('shop.kachel', ['card' => $card])
@endforeach
</ul>
@endif
@endsection