mirror of
https://github.com/JustAnimeCore/JustAnime.git
synced 2026-04-17 13:51:44 +00:00
wach
This commit is contained in:
@@ -277,7 +277,7 @@ export default function Watch() {
|
|||||||
)}
|
)}
|
||||||
</Helmet>
|
</Helmet>
|
||||||
<div className="w-full min-h-screen bg-[#0a0a0a]">
|
<div className="w-full min-h-screen bg-[#0a0a0a]">
|
||||||
<div className="w-full max-w-[1920px] mx-auto pt-16 pb-6 w-full max-[1200px]:pt-12">
|
<div className="w-full max-w-[1920px] mx-auto pt-24 pb-6 max-[1200px]:pt-16">
|
||||||
<div className="grid grid-cols-[minmax(0,70%),minmax(0,30%)] gap-6 w-full h-full max-[1200px]:flex max-[1200px]:flex-col">
|
<div className="grid grid-cols-[minmax(0,70%),minmax(0,30%)] gap-6 w-full h-full max-[1200px]:flex max-[1200px]:flex-col">
|
||||||
{/* Left Column - Player, Controls, Servers */}
|
{/* Left Column - Player, Controls, Servers */}
|
||||||
<div className="flex flex-col w-full gap-6">
|
<div className="flex flex-col w-full gap-6">
|
||||||
@@ -613,7 +613,11 @@ export default function Watch() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Related Anime Section */}
|
{/* Related Anime Section */}
|
||||||
{animeInfo && animeInfo.related_data ? (
|
{animeInfoLoading ? (
|
||||||
|
<div className="mt-6">
|
||||||
|
<SidecardLoader />
|
||||||
|
</div>
|
||||||
|
) : animeInfo?.related_data?.length > 0 && (
|
||||||
<div className="bg-[#141414] rounded-lg p-4">
|
<div className="bg-[#141414] rounded-lg p-4">
|
||||||
<h2 className="text-xl font-semibold mb-4 text-white">Related Anime</h2>
|
<h2 className="text-xl font-semibold mb-4 text-white">Related Anime</h2>
|
||||||
<Sidecard
|
<Sidecard
|
||||||
@@ -621,15 +625,11 @@ export default function Watch() {
|
|||||||
className="!mt-0"
|
className="!mt-0"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
|
||||||
<div className="mt-6">
|
|
||||||
<SidecardLoader />
|
|
||||||
</div>
|
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Mobile-only Related Section */}
|
{/* Mobile-only Related Section */}
|
||||||
{animeInfo && animeInfo.related_data && (
|
{!animeInfoLoading && animeInfo?.related_data?.length > 0 && (
|
||||||
<div className="hidden max-[1200px]:block bg-[#141414] rounded-lg p-4">
|
<div className="hidden max-[1200px]:block bg-[#141414] rounded-lg p-4">
|
||||||
<h2 className="text-xl font-semibold mb-4 text-white">Related Anime</h2>
|
<h2 className="text-xl font-semibold mb-4 text-white">Related Anime</h2>
|
||||||
<Sidecard
|
<Sidecard
|
||||||
|
|||||||
Reference in New Issue
Block a user