summaryrefslogtreecommitdiff
path: root/resources/views/cinema_show.blade.php
diff options
context:
space:
mode:
authorDeveloper2026-06-27 04:26:33 +0200
committerDeveloper2026-06-27 04:26:33 +0200
commit3b8f8c9adc18059d4d33609895f4d187de065bcf (patch)
treefff3a7368dda30ff0ec762e9ccb50cbb57b70382 /resources/views/cinema_show.blade.php
parent6733c0b6d377ee2164e7a3ff6e8791859bff86d4 (diff)
downloadcurious-3b8f8c9adc18059d4d33609895f4d187de065bcf.tar.gz
style: move HN story date/meta to separate muted line below link
Diffstat (limited to 'resources/views/cinema_show.blade.php')
-rw-r--r--resources/views/cinema_show.blade.php18
1 files changed, 10 insertions, 8 deletions
diff --git a/resources/views/cinema_show.blade.php b/resources/views/cinema_show.blade.php
index f9e613f..4562a9c 100644
--- a/resources/views/cinema_show.blade.php
+++ b/resources/views/cinema_show.blade.php
@@ -146,18 +146,20 @@
<li>
<a class="card-links" href="https://news.ycombinator.com/item?id={{ $story->story_id }}" target="_blank">
@if ($story->type === 'comment' && ! empty($story->text))
- <span class="hn-comment">Comment: {{ Str::limit(strip_tags($story->text), 80) }}</span>
+ <span class="hn-comment">{{ Str::limit(strip_tags($story->text), 80) }}</span>
@else
{{ $story->title ?: 'HN Story' }}
@endif
</a>
- | {{ \Carbon\Carbon::createFromTimestamp($story->time)->format('Y-m-d') }}
- @if ($story->score > 0)
- | <span class="badge badge-pill badge-secondary">{{ $story->score }} Upvotes</span>
- @endif
- @if ($story->descendants > 0)
- | <span class="badge badge-pill badge-secondary">{{ $story->descendants }} Comments</span>
- @endif
+ <small class="text-muted">
+ {{ \Carbon\Carbon::createFromTimestamp($story->time)->format('Y-m-d') }}
+ @if ($story->score > 0)
+ · <span class="badge badge-pill badge-secondary">{{ $story->score }} Upvotes</span>
+ @endif
+ @if ($story->descendants > 0)
+ · <span class="badge badge-pill badge-secondary">{{ $story->descendants }} Comments</span>
+ @endif
+ </small>
</li>
@endforeach
</ul>