29 lines
993 B
PHP
29 lines
993 B
PHP
<div class="photo_frame" itemscope itemtype="http://schema.org/Photograph">
|
|
<a href="{{ $art->url ?? '#' }}" itemprop="url">
|
|
|
|
<div class="ribbon gid_{{ $art->gid_num }}" title="{{ $art->category_name ?? '' }}" itemprop="genre">
|
|
<span>{{ $art->category_name ?? '' }}</span>
|
|
</div>
|
|
|
|
@php
|
|
$img_src = $art->thumb ?? '';
|
|
$img_srcset = $art->thumb_srcset ?? '';
|
|
@endphp
|
|
|
|
<img src="{{ $img_src }}" srcset="{{ $img_srcset }}" loading="lazy" decoding="async" alt="{{ e($art->name) }}" class="img-responsive" itemprop="thumbnailUrl">
|
|
|
|
<div class="details">
|
|
<div class="info" itemprop="author">
|
|
<span class="fa fa-user"></span> {{ $art->uname ?? '' }}
|
|
</div>
|
|
|
|
<div class="title" itemprop="name">
|
|
{{ $art->name }}
|
|
</div>
|
|
</div>
|
|
|
|
</a>
|
|
|
|
{{-- debug thumb links removed to avoid textual output beneath thumbnails --}}
|
|
</div>
|