Unify Frontdesk secondary actions with shared button variants.
Deploy Ladill Frontdesk / deploy (push) Successful in 55s

Add warning, danger, and link button styles plus x-btn and x-danger-zone components so ghost text actions match the primary pill UI across edit screens and tables.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-09 06:28:27 +00:00
co-authored by Cursor
parent 60c2839553
commit f46bebc1e3
26 changed files with 257 additions and 73 deletions
@@ -36,7 +36,7 @@
<div class="flex justify-between"><dt class="text-slate-500">Watchlist</dt><dd class="capitalize">{{ str_replace('_', ' ', $visit->visitor->watchlist_status) }}</dd></div>
</dl>
<a href="{{ route('frontdesk.visits.show', $visit) }}" class="mt-4 inline-block text-sm font-medium text-indigo-600 hover:text-indigo-700">View full visit record</a>
<x-btn href="{{ route('frontdesk.visits.show', $visit) }}" variant="link" size="sm" plain class="mt-4">View full visit record</x-btn>
</div>
@else
<p class="mt-6 rounded-xl border border-red-200 bg-red-50 p-4 text-sm text-red-800">No matching visit found for {{ $lookup }}.</p>