Compare commits

..

No commits in common. "b20a7c15d91d20ed9f84b7dfef846a63769b3e6c" and "bcb1e6e84a40427edd9dee7c8a48aecddc35353a" have entirely different histories.

1 changed files with 5 additions and 4 deletions

View File

@ -12,13 +12,14 @@
<input
type="text"
wire:model.live.debounce.500ms="filters"
wire:model.live.debounce.10ms="filters"
x-model="query"
name="search"
id="search"
class="block w-full outline-none rounded-md bg-white border-0 py-2 pl-10 pr-10 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-blue-600 sm:text-sm sm:leading-6"
placeholder="Buscar por nome, email..."
@keyup.enter="$dispatch('filters-added')">
@keyup.enter="$dispatch('filters-added')"
>
<div
x-show="query"
@ -39,7 +40,7 @@ class="text-gray-400 hover:text-gray-600 focus:outline-none">
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
@foreach ($clients as $client)
<div class="client-card" wire:key="{{ $client->id }}" wire:transition.scale.origin.top.duration.300ms>
<div class="client-card" wire:transition.scale.origin.top.duration.300ms>
<div class="client-card-header">
<div class="client-avatar">
<img src="{{ asset('storage/' . $client->profile_image_path) }}" x-on:click.prevent="$dispatch('client-detail', { id: '{{ $client->id }}' })" alt="Avatar do Cliente"