From 0aa0c9b4a691f539212a02d9f29a5ed48c972092 Mon Sep 17 00:00:00 2001 From: Factiven Date: Tue, 2 May 2023 19:49:04 +0700 Subject: Display Patch v3.5.4 - 1 > Now support more device sizes than before --- pages/anime/[...id].js | 44 +++++++++++++++---------------- pages/anime/watch/[...info].js | 6 ++--- pages/index.js | 40 ++++++++++++++-------------- pages/profile/[user].js | 4 +-- pages/search/[param].js | 60 ++++++++++++++++++++++-------------------- 5 files changed, 79 insertions(+), 75 deletions(-) (limited to 'pages') diff --git a/pages/anime/[...id].js b/pages/anime/[...id].js index 4b759b6..ae6ac34 100644 --- a/pages/anime/[...id].js +++ b/pages/anime/[...id].js @@ -373,7 +373,7 @@ export default function Info() { - +
@@ -394,10 +394,10 @@ export default function Info() {
)}
-
+
{/* Mobile */} -
+

{/* Yuru Campā–³ SEASON 2 */} @@ -448,18 +448,18 @@ export default function Info() { )}

-
+
{info && info.status !== "NOT_YET_RELEASED" ? ( <> -
+

{info?.type}

-
+

{info?.averageScore}%

-
+
{info?.episodes ? (

{info?.episodes} Episodes

@@ -476,11 +476,11 @@ export default function Info() {
{/* PC */} -
-
+
+
{info ? ( <> -
+
poster anime
)} -
+
My Lists -
+
{user.name}
-
+
Created At :
diff --git a/pages/search/[param].js b/pages/search/[param].js index f38ba76..9fc2b17 100644 --- a/pages/search/[param].js +++ b/pages/search/[param].js @@ -201,14 +201,14 @@ export default function Card() {
-
-
+
+
-

+

TITLE

-

TYPE

+

+ TYPE +

{ setSelectedSort(e.target.value); setData(null); @@ -254,7 +258,7 @@ export default function Card() { {/* OPTIONS */}
-
+
{isVisible && ( -
-

+
+

GENRE

-
-

+
+

TYPE

{loading ? "" : !data?.length && ( -
+
Oops!

Nothing's Found...
)} @@ -387,7 +391,7 @@ export default function Card() { {anime.title.userPreferred} -

+

{anime.status === "RELEASING" ? ( ) : anime.status === "NOT_YET_RELEASED" ? ( @@ -416,7 +420,7 @@ export default function Card() { {anime.title.userPreferred}

-

+

{anime.format ||

-

} ·{" "} {anime.status ||

-

} ·{" "} {anime.episodes || 0} Episodes @@ -431,10 +435,10 @@ export default function Card() { {[1, 2, 4, 5, 6, 7, 8].map((item) => (
- +
))} @@ -445,7 +449,7 @@ export default function Card() { {!loading && page > 10 && nextPage && ( -- cgit v1.2.3 From 3f193e3e16addb401597a5f9cbab3590b5904d8c Mon Sep 17 00:00:00 2001 From: Factiven Date: Tue, 2 May 2023 20:40:01 +0700 Subject: Revamped 404 page --- pages/404.js | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 82 insertions(+), 7 deletions(-) (limited to 'pages') diff --git a/pages/404.js b/pages/404.js index 8b91a69..8cead6b 100644 --- a/pages/404.js +++ b/pages/404.js @@ -1,6 +1,7 @@ import Head from "next/head"; import Footer from "../components/footer"; import Navbar from "../components/navbar"; +import Link from "next/link"; export default function Custom404() { return ( @@ -11,13 +12,87 @@ export default function Custom404() { - -
-
-

404

-
-

Nothing to see here.

-
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +

+ Oops! Page not found +

+

+ The page you're looking for doesn't seem to exist. +

+ +
+ Go back home +
+