diff --git a/src/components/episodelist/Episodelist.jsx b/src/components/episodelist/Episodelist.jsx index eb92f85..94dfeca 100644 --- a/src/components/episodelist/Episodelist.jsx +++ b/src/components/episodelist/Episodelist.jsx @@ -138,18 +138,18 @@ function Episodelist({ return (
-
-
-

Episodes

+
+
+

Episodes

{totalEpisodes > 100 && (
setShowDropDown((prev) => !prev)} - className="text-gray-300 relative cursor-pointer flex items-center gap-2 hover:text-white transition-colors" + className="text-gray-300 relative cursor-pointer flex items-center gap-2 hover:text-white transition-colors max-[600px]:gap-1" ref={dropDownRef} > -

+

{selectedRange[0]}-{selectedRange[1]}

-

+

{item} {item === activeRange ? ( @@ -185,15 +185,15 @@ function Episodelist({

{totalEpisodes > 100 && ( -
-
+
+
@@ -202,11 +202,14 @@ function Episodelist({ )}
-
+
30 - ? "p-4 grid grid-cols-5 gap-2 max-[1200px]:grid-cols-12 max-[860px]:grid-cols-10 max-[575px]:grid-cols-8 max-[478px]:grid-cols-6 max-[350px]:grid-cols-5" + ? "p-4 grid gap-2 max-[600px]:p-2 max-[600px]:gap-1.5" + + (totalEpisodes > 100 + ? " grid-cols-5" + : " grid-cols-5 max-[1200px]:grid-cols-12 max-[860px]:grid-cols-10 max-[575px]:grid-cols-8 max-[478px]:grid-cols-6 max-[350px]:grid-cols-5") : "" }`} > @@ -224,7 +227,7 @@ function Episodelist({
-

+

{index + 1}

-

{language === "EN" ? item?.title : item?.japanese_title} @@ -289,7 +292,7 @@ function Episodelist({ {isActive && ( )}

diff --git a/src/components/servers/Servers.jsx b/src/components/servers/Servers.jsx index 3b3e522..7a28ad8 100644 --- a/src/components/servers/Servers.jsx +++ b/src/components/servers/Servers.jsx @@ -53,43 +53,43 @@ function Servers({ localStorage.setItem("server_name", server.serverName); localStorage.setItem("server_type", server.type); }; + return ( -
+
{serverLoading ? (
) : servers ? ( -
-
-

- You are watching
- +

+
+

+ You are watching{" "} +
+ Episode {activeEpisodeNum}

-

+

If the current server doesn't work, please try other servers beside.

-
+
{rawServers.length > 0 && ( -
-
+
+
-

RAW:

+

RAW:

-
+
{rawServers.map((item, index) => (
handleServerSelect(item)} > -

+

{item.serverName}

@@ -109,19 +109,17 @@ function Servers({
)} {subServers.length > 0 && ( -
-
+
+
-

SUB:

+

SUB:

-
+
{subServers.map((item, index) => (
handleServerSelect(item)} > -

+

{item.serverName}

@@ -141,19 +139,17 @@ function Servers({
)} {dubServers.length > 0 && ( -
-
+
+
-

DUB:

+

DUB:

-
+
{dubServers.map((item, index) => (
handleServerSelect(item)} > -

+

{item.serverName}

diff --git a/src/pages/watch/Watch.jsx b/src/pages/watch/Watch.jsx index 16f5bed..dccb864 100644 --- a/src/pages/watch/Watch.jsx +++ b/src/pages/watch/Watch.jsx @@ -226,7 +226,7 @@ export default function Watch() { }, [animeId, animeInfo]); return (
-
+
{/* Left Column - Player, Controls, Servers */}
@@ -355,30 +355,102 @@ export default function Watch() {
+ {/* Mobile-only Seasons Section */} + {seasons?.length > 0 && ( +
+

More Seasons

+
+ {seasons.map((season, index) => ( + + {season.season} + {/* Dots Pattern Overlay */} +
')`, + backgroundSize: '3px 3px' + }} + /> + {/* Dark Gradient Overlay */} +
+ {/* Title Container */} +
+

+ {season.season} +

+
+ + ))} +
+
+ )} + + {/* Mobile-only Episodes Section */} +
+
+ {!episodes ? ( +
+ +
+ ) : ( + setEpisodeId(id)} + totalEpisodes={totalEpisodes} + /> + )} +
+
+ {/* Anime Info Section */} -
-
+
+
{animeInfo && animeInfo?.poster ? ( ) : ( - + )} -
+
{animeInfo && animeInfo?.title ? ( -

+

{language ? animeInfo?.title : animeInfo?.japanese_title}

-
+
View Details - +
@@ -386,13 +458,13 @@ export default function Watch() { ) : ( )} -
+
{animeInfo ? ( tags.map( ({ condition, icon, text }, index) => condition && ( - - {icon && } + + {icon && } {text} ) @@ -402,14 +474,14 @@ export default function Watch() { )}
{animeInfo?.animeInfo?.Overview && ( -

+

{animeInfo?.animeInfo?.Overview.length > 270 ? ( <> {isFullOverview ? animeInfo?.animeInfo?.Overview : `${animeInfo?.animeInfo?.Overview.slice(0, 270)}...`}

- {/* Seasons Section */} + {/* Desktop-only Seasons Section */} {seasons?.length > 0 && ( -
+

More Seasons

{seasons.map((season, index) => ( @@ -479,8 +551,8 @@ export default function Watch() { )}
- {/* Right Column - Episodes and Related */} -
+ {/* Right Column - Episodes and Related (Desktop Only) */} +
{/* Episodes Section */}
{!episodes ? ( @@ -512,6 +584,17 @@ export default function Watch() {
)}
+ + {/* Mobile-only Related Section */} + {animeInfo && animeInfo.related_data && ( +
+

Related Anime

+ +
+ )}