Fix more responsiveness issues
This commit is contained in:
@@ -21,18 +21,18 @@
|
||||
|
||||
</ul>
|
||||
|
||||
@php $showThumbnails = false; @endphp
|
||||
@php $isThumbnail = false; @endphp
|
||||
|
||||
@auth
|
||||
@if(Auth::user()->home_top_design)
|
||||
@php $showThumbnails = true; @endphp
|
||||
@php $isThumbnail = true; @endphp
|
||||
@endif
|
||||
@endauth
|
||||
|
||||
<!--Tabs content-->
|
||||
<div class="mb-6">
|
||||
<div class="hidden opacity-100 transition-opacity duration-150 ease-linear data-[te-tab-active]:block" id="tabs-recently-uploaded" role="tabpanel" aria-labelledby="tabs-recently-uploaded-tab" data-te-tab-active>
|
||||
@include('home.partials.tab.template', ['episodes' => $recentlyUploaded, 'showThumbnails' => $showThumbnails])
|
||||
@include('home.partials.tab.template', ['episodes' => $recentlyUploaded, 'isThumbnail' => $isThumbnail])
|
||||
<div class="grid text-center pt-5 ">
|
||||
<a href="{{ route('hentai.search', ['order' => 'recently-uploaded']) }}"
|
||||
class="rounded bg-rose-600 p-1 mr-2 text-xs font-medium uppercase leading-normal text-white transition duration-150 ease-in-out hover:bg-rose-700 focus:bg-rose-600">
|
||||
@@ -41,7 +41,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="hidden opacity-0 transition-opacity duration-150 ease-linear data-[te-tab-active]:block" id="tabs-recently-released" role="tabpanel"aria-labelledby="tabs-recently-released-tab">
|
||||
@include('home.partials.tab.template', ['episodes' => $recentlyReleased, 'showThumbnails' => $showThumbnails])
|
||||
@include('home.partials.tab.template', ['episodes' => $recentlyReleased, 'isThumbnail' => $isThumbnail])
|
||||
<div class="grid text-center pt-5 ">
|
||||
<a href="{{ route('hentai.search', ['order' => 'recently-released']) }}"
|
||||
class="rounded bg-rose-600 p-1 mr-2 text-xs font-medium uppercase leading-normal text-white transition duration-150 ease-in-out hover:bg-rose-700 focus:bg-rose-600">
|
||||
@@ -50,7 +50,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="hidden opacity-0 transition-opacity duration-150 ease-linear data-[te-tab-active]:block" id="tabs-trending" role="tabpanel"aria-labelledby="tabs-trending-tab">
|
||||
@include('home.partials.tab.template', ['episodes' => $popularDaily, 'showThumbnails' => $showThumbnails, 'popularView' => true])
|
||||
@include('home.partials.tab.template', ['episodes' => $popularDaily, 'isThumbnail' => $isThumbnail, 'popularView' => true])
|
||||
<div class="grid text-center pt-5 ">
|
||||
<a href="{{ route('hentai.search', ['order' => 'recently-released']) }}"
|
||||
class="rounded invisible bg-rose-600 p-1 mr-2 text-xs font-medium uppercase leading-normal text-white transition duration-150 ease-in-out hover:bg-rose-700 focus:bg-rose-600">
|
||||
|
||||
Reference in New Issue
Block a user