@extends('layouts.nova') @section('content') {{-- ── Hero header ── --}}

Community

Latest Comments

Most recent artwork comments from the community.

{{-- ── Comment cards grid ── --}}
@if ($comments->isNotEmpty())
@foreach ($comments as $comment) @php $artUrl = '/art/' . (int)($comment->id ?? 0) . '/' . ($comment->artwork_slug ?? 'artwork'); $userUrl = ($comment->commenter_username ?? null) ? '/@' . $comment->commenter_username : '/profile/' . (int)($comment->commenter_id ?? 0); $avatarUrl = \App\Support\AvatarUrl::forUser((int)($comment->commenter_id ?? 0), $comment->icon ?? null, 40); $ago = \Carbon\Carbon::parse($comment->datetime ?? now())->diffForHumans(); $snippet = \Illuminate\Support\Str::limit(strip_tags($comment->comment_description ?? ''), 160); @endphp @endforeach
{{ $comments->withQueryString()->links() }}
@else

No comments found.

@endif
@endsection