PHP Rebuild
CI / ci (push) Canceled after 0s

Initial PHP rebuild of the app
This commit is contained in:
Stefan Lazic committed 2026-09-05 08:21:33 +01:00
1 parent 8a2b211069
commit 2ef3654841
690 files changed
+33944 -12046

No files matched your search

+1
View File
@@ -0,0 +1 @@
<x-layouts.staff :business="$business"><main class="mx-auto max-w-4xl px-5 py-8 sm:px-8 lg:px-12 lg:py-12"><a href="{{ route('owner.dashboard') }}" class="text-xs font-bold uppercase tracking-widest text-white/60">← Owner workspace</a><p class="mt-12 text-[10px] font-bold uppercase tracking-[0.3em] text-accent">Customer voice</p><h1 class="mt-3 text-4xl font-black tracking-tight">Reviews</h1>@if (session('status'))<div class="mt-6 rounded-tile bg-accent p-4 text-sm font-bold text-ink">{{ session('status') }}</div>@endif<div class="mt-8 space-y-3">@forelse ($reviews as $review)<article class="rounded-jumbo bg-white p-6 text-ink"><div class="flex items-center justify-between gap-4"><p class="font-bold">{{ $review->authorName }} · {{ str_repeat('★', $review->rating) }}</p><form method="POST" action="{{ route('owner.reviews.toggle', $review->id) }}">@csrf<button class="text-[10px] font-bold uppercase tracking-widest text-accent-foreground">{{ $review->isHidden ? 'Show' : 'Hide' }}</button></form></div><p class="mt-4 text-sm leading-6 text-muted">{{ $review->text ?: 'Rating only' }}</p></article>@empty<x-ui.card class="p-6"><p class="text-sm text-white/60">Reviews will appear after a Google Places sync is configured.</p></x-ui.card>@endforelse</div></main></x-layouts.staff>