@props(['product'])
@if($product->thumbnail_url) {{ $product->title }} @else
@endif
@include('components.product.upvote-button', ['product' => $product])

{{ Str::limit($product->description, 100) }}

{{ $product->category->name }} {{ $product->created_at->diffForHumans() }}
{{ strtoupper(substr($product->user->name, 0, 1)) }}
{{ $product->user->name }}
View details @auth @include('components.product.bookmark-button', ['product' => $product]) @endauth