diff --git a/resources/views/components/episode-thumbnail.blade.php b/resources/views/components/episode-thumbnail.blade.php index 0d3c917..94ca387 100644 --- a/resources/views/components/episode-thumbnail.blade.php +++ b/resources/views/components/episode-thumbnail.blade.php @@ -1,6 +1,6 @@ @props(['episode']) -
+
{{ $episode->title }} - {{ $episode->episode }} + class="absolute right-1 md:right-2 top-1 md:top-2 bg-rose-700/70 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->getResolution() }}

+ class="absolute left-1 md:left-4 bottom-1 md:bottom-2 bg-rose-700/70 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->viewCountFormatted() }} {{ $episode->likeCount() }} {{ $episode->commentCount() }} @@ -29,20 +29,20 @@ @auth @if ($episode->userWatched(auth()->user()->id))

+ class="absolute right-1 md:right-2 top-1 md:top-2 bg-green-600/80 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->getResolution() }}

+ class="absolute left-1 md:left-2 bottom-1 md:bottom-2 bg-green-600/80 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->viewCountFormatted() }} {{ $episode->likeCount() }} {{ $episode->commentCount() }}

@else

+ class="absolute right-1 md:right-2 top-1 md:top-2 bg-rose-700/70 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->getResolution() }}

+ class="absolute left-1 md:left-2 bottom-1 md:bottom-2 bg-rose-700/70 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->viewCountFormatted() }} {{ $episode->likeCount() }} {{ $episode->commentCount() }} @@ -50,7 +50,7 @@ @endif @endauth -

+

{{ $episode->title }} - {{ $episode->episode }}

diff --git a/resources/views/livewire/partials/search-result.blade.php b/resources/views/livewire/partials/search-result.blade.php index b1167be..8454dc2 100644 --- a/resources/views/livewire/partials/search-result.blade.php +++ b/resources/views/livewire/partials/search-result.blade.php @@ -1,10 +1,10 @@
@if ($searchIsJpn) -
@else -
+
@endif
@@ -27,7 +27,7 @@ src="{{ optional($episode->gallery->first())->thumbnail_url }}"> @if ($episode->hasAutoTrans())

+ class="absolute right-1 md:right-2 bottom-1 md:bottom-2 bg-blue-600/80 !text-white rounded-tl-lg rounded-br-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> Multi-Subs

@endif @@ -44,27 +44,27 @@ @php $problematic = cache()->rememberForever('episodeProblematic'.$episode->id, fn () => $episode->getProblematicTags()); @endphp @if (!empty($problematic))

+ class="absolute left-1 md:left-2 top-1 md:top-2 bg-red-700/70 !text-white rounded-br-lg rounded-tl-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $problematic }}

@endif @if (auth()->check() && $episode->userWatched(auth()->user()->id))

+ class="absolute right-1 md:right-2 top-1 md:top-2 bg-green-600/80 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->getResolution() }}

+ class="absolute left-1 md:left-2 bottom-1 md:bottom-2 bg-green-600/80 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->viewCountFormatted() }} {{ $episode->likeCount() }} {{ $episode->commentCount() }}

@else

+ class="absolute right-1 md:right-2 top-1 md:top-2 bg-rose-700/70 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->getResolution() }}

+ class="absolute left-1 md:left-2 bottom-1 md:bottom-2 bg-rose-700/70 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->viewCountFormatted() }} {{ $episode->likeCount() }} diff --git a/resources/views/partials/episode-cover.blade.php b/resources/views/partials/episode-cover.blade.php index fa7d262..8b9c34b 100644 --- a/resources/views/partials/episode-cover.blade.php +++ b/resources/views/partials/episode-cover.blade.php @@ -12,7 +12,7 @@ @endif

+ class="relative p-1 mb-8 w-full transition duration-300 ease-in-out md:p-2 md:hover:-translate-y-1 md:hover:scale-110"> {{ $episode->title }} - {{ $episode->episode }} + class="absolute right-1 md:right-2 top-1 md:top-2 bg-rose-700/70 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->getResolution() }}

+ class="absolute left-1 md:left-2 bottom-1 md:bottom-2 bg-rose-700/70 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->viewCountFormatted() }} {{ $episode->likeCount() }} {{ $episode->commentCount() }} @@ -33,7 +33,7 @@ @php $problematic = cache()->rememberForever('episodeProblematic'.$episode->id, fn () => $episode->getProblematicTags()); @endphp @if (!empty($problematic))

+ class="absolute left-1 md:left-2 top-1 md:top-2 bg-red-700/70 !text-white rounded-br-lg rounded-tl-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $problematic }}

@endif @@ -41,20 +41,20 @@ @auth @if ($episode->userWatched(auth()->user()->id))

+ class="absolute right-1 md:right-2 top-1 md:top-2 bg-green-600/80 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->getResolution() }}

+ class="absolute left-1 md:left-2 bottom-1 md:bottom-2 bg-green-600/80 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->viewCountFormatted() }} {{ $episode->likeCount() }} {{ $episode->commentCount() }}

@else

+ class="absolute right-1 md:right-2 top-1 md:top-2 bg-rose-700/70 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->getResolution() }}

+ class="absolute left-1 md:left-2 bottom-1 md:bottom-2 bg-rose-700/70 !text-white rounded-bl-lg rounded-tr-lg p-1 pr-2 pl-2 font-semibold text-sm z-30"> {{ $episode->viewCountFormatted() }} {{ $episode->likeCount() }} {{ $episode->commentCount() }}