<div>
    <button class="inline-flex font-bold items-center gap-2 rounded-xl bg-gray-100 px-4 py-2 text-gray-700 dark:bg-white/5 dark:text-gray-200" wire:click="like" wire:poll.90000ms="update">
        @if ($liked)
        <i class="fa-solid fa-heart pr-[4px] text-rose-600"></i> {{ $likeCount }}
        @else
        <i class="fa-regular fa-heart pr-[4px]"></i> {{ $likeCount }}
        @endif
    </button>
</div>
