add: bluray.com support

This commit is contained in:
HDVinnie
2024-04-22 15:11:50 -04:00
parent f9f894870a
commit 4bcc9cbf13
4 changed files with 52 additions and 21 deletions

View File

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="100" height="100" viewBox="0,0,256,256">
<g fill="#2385c9" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0" font-family="none" font-weight="none" font-size="none" text-anchor="none" style="mix-blend-mode: normal"><g transform="scale(3.2,3.2)"><path d="M25,32c-13.807,0 -25,2.686 -25,6c0,3.314 11.193,6 25,6c13.807,0 25,-2.686 25,-6c0,-3.314 -11.193,-6 -25,-6zM25,40c-6.075,0 -11,-0.896 -11,-2c0,-1.105 4.925,-2 11,-2c6.075,0 11,0.895 11,2c0,1.104 -4.925,2 -11,2z"></path><path d="M10,36l6.729,-3.107c1.757,-2.744 5.271,-8.559 5.271,-8.559c0,0 0,0 0,-0.167l-0.167,-0.167h-13.833c-2.875,4.708 -5.75,9.583 -7.713,13.088c0,0 1.462,0.245 1.713,0.912c0.347,0.521 0.98,1.155 2,1.808zM41.023,22.005c-0.008,0 -0.015,-0.005 -0.023,-0.005h-1.5h-0.5h-0.5c-0.275,0 -0.5,0.225 -0.5,0.5c0,0.275 0.225,0.5 0.5,0.5h0.5h0.5h0.5c13.125,0 28,4.258 28,15c0,8.773 -11.875,19 -48,19h-0.5h-0.5h-0.5c-0.275,0 -0.5,0.225 -0.5,0.5c0,0.275 0.225,0.5 0.5,0.5h0.5h0.5h0.5c0,0 0.293,0 1,0c1.104,0 3.239,0 7,0c20.167,0 52,-3.114 52,-20c0,-13.832 -25.75,-15.995 -38.977,-15.995z"></path></g></g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -204,7 +204,7 @@
display: flex;
column-gap: 0;
list-style-type: none;
margin: 0;
margin: -10px;
padding: 0;
@media screen and (max-width: 480px) {
@@ -215,7 +215,7 @@
.meta-id-tag {
color: var(--meta-id-tag-fg);
font-size: 20px;
font-size: 25px;
display: inline-block;
padding: 0 10px;
white-space: nowrap;

View File

@@ -160,6 +160,19 @@
</a>
</li>
@endif
@if ($meta->imdb_id ?? 0 > 0)
<li class="meta__bluray">
<a
class="meta-id-tag"
href="https://www.blu-ray.com/search/?quicksearch=1&quicksearch_keyword=tt{{ $meta->imdb_id ?? '' }}&section=theatrical"
title="Blu-ray: {{ $meta->title ?? '' }} ({{ substr($meta->release_date ?? '', 0, 4) ?? '' }})"
target="_blank"
>
<img class="" src="{{ url('/img/meta/bluray.svg') }}" style="width: 40px" />
</a>
</li>
@endif
</ul>
<p class="meta__description">{{ $meta?->overview }}</p>
<div class="meta__chips">

View File

@@ -138,25 +138,40 @@
</li>
@endif
<li class="meta__rotten">
<a
class="meta-id-tag"
href="https://duckduckgo.com/?q=\{{ $meta->name ?? '' }} ({{ substr($meta->first_air_date ?? '', 0, 4) ?? '' }})+site%3Arottentomatoes.com"
title="Rotten Tomatoes: {{ $meta->name ?? '' }} ({{ substr($meta->first_air_date ?? '', 0, 4) ?? '' }})"
target="_blank"
>
<i
class="fad fa-tomato"
style="
--fa-secondary-opacity: 1;
--fa-primary-color: green;
--fa-secondary-color: red;
font-size: 23px;
bottom: 2px;
"
></i>
</a>
</li>
@if ($meta->id ?? 0 > 0)
<li class="meta__rotten">
<a
class="meta-id-tag"
href="https://duckduckgo.com/?q=\{{ $meta->name ?? '' }} ({{ substr($meta->first_air_date ?? '', 0, 4) ?? '' }})+site%3Arottentomatoes.com"
title="Rotten Tomatoes: {{ $meta->name ?? '' }} ({{ substr($meta->first_air_date ?? '', 0, 4) ?? '' }})"
target="_blank"
>
<i
class="fad fa-tomato"
style="
--fa-secondary-opacity: 1;
--fa-primary-color: green;
--fa-secondary-color: red;
font-size: 23px;
bottom: 2px;
"
></i>
</a>
</li>
@endif
@if ($meta->imdb_id ?? 0 > 0)
<li class="meta__bluray">
<a
class="meta-id-tag"
href="https://www.blu-ray.com/search/?quicksearch=1&quicksearch_keyword=tt{{ $meta->imdb_id ?? '' }}&section=theatrical"
title="Blu-ray: {{ $meta->name ?? '' }} ({{ substr($meta->first_air_date ?? '', 0, 4) ?? '' }})"
target="_blank"
>
<img class="" src="{{ url('/img/meta/bluray.svg') }}" style="width: 40px" />
</a>
</li>
@endif
</ul>
<p class="meta__description">{{ $meta?->overview }}</p>
<div class="meta__chips">