<%= link_to log_entry_path(entry.id),
            class:
              "flex items-center gap-2 border-b border-slate-200 px-2 py-1.5 last:border-b-0 hover:bg-slate-50" do %>
  <span
    class="<%= if entry.status_code >= 400
          "bg-red-100 text-red-800"
        else
          "bg-green-100 text-green-800"
        end %> rounded-full px-2 py-0.5 text-sm"
  >
    <%= entry.status_code %>
  </span>
  <span class="text-sm text-slate-500">#<%= entry.id %></span>
  <span class="truncate text-sm text-blue-600" title="<%= entry.uri_str %>">
    <%= entry.uri_str.truncate(120) %>
  </span>
<% end %>
