summaryrefslogtreecommitdiff
path: root/resources/views/cinema_show.blade.php
diff options
context:
space:
mode:
authordev2026-06-27 16:59:49 +0200
committerdev2026-06-27 16:59:49 +0200
commite89b1902e3b5dc1acc47b22ae738d43a6652b244 (patch)
tree709380c96cd0a029361bb40c2ab5122441bb6351 /resources/views/cinema_show.blade.php
parent1afa4d1c15269e58dd2a90e45b676f612ff72c94 (diff)
downloadcurious-e89b1902e3b5dc1acc47b22ae738d43a6652b244.tar.gz
license
Diffstat (limited to 'resources/views/cinema_show.blade.php')
-rw-r--r--resources/views/cinema_show.blade.php38
1 files changed, 25 insertions, 13 deletions
diff --git a/resources/views/cinema_show.blade.php b/resources/views/cinema_show.blade.php
index 6494cdd..63ec736 100644
--- a/resources/views/cinema_show.blade.php
+++ b/resources/views/cinema_show.blade.php
@@ -23,6 +23,9 @@
column-gap: 20px;
}
+.hn-story {
+ color: var(--cinema-pink);
+}
.hn-comment {
font-size: 0.875rem;
color: var(--cinema-pink);
@@ -155,14 +158,6 @@
</div>
@endif
- @if ( ! empty($movie->license_url) )
- <div class="mt-3">
- <small class="text-muted">
- Licensed under <a href="{{ $movie->license_url }}" target="_blank" class="card-links">{{ $movie->license_short ?? $movie->license }}</a>
- </small>
- </div>
- @endif
-
@if ( ! empty($hnStories) )
<div class="mt-3">
<h4 class="hn-heading">Mentions on Hacker News</h4>
@@ -171,25 +166,42 @@
<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">{{ Str::limit(strip_tags($story->text), 80) }}</span>
+ <span class="hn-comment">
+ {!! file_get_contents(public_path() . "/img/y-combinator.svg") !!}
+ {{ Str::limit(strip_tags($story->text), 80) }}
+ </span>
@else
- {{ $story->title ?: 'HN Story' }}
+ <span class="hn-story">
+ {!! file_get_contents(public_path() . "/img/y-combinator.svg") !!}
+ {{ $story->title ?: 'HN Story' }}
+ </span>
@endif
</a>
- <small class="text-muted">
+ <!--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>
+ · <span class="badge badge-pill badge-secondary">{{ $story->descendants }} Upvotes </span>
@endif
- </small>
+ </small-->
</li>
@endforeach
</ul>
</div>
@endif
+
+ <div class="mt-3">
+ @if ( ! empty($movie->license_url) )
+ <small class="text-muted">
+ Ratings provided by IMDB. Information courtesy of <a href="https://www.imdb.com" target=_blank rel="nofollow">IMDb</a>. Used with permission.
+ </small>
+ <small class="text-muted">
+ Wikidata Licensed under <a href="{{ $movie->license_url }}" target="_blank" class="card-links">{{ $movie->license_short ?? $movie->license }}</a>
+ </small>
+ @endif
+ </div>
</div>
</div>
</div>