From 4c74f9e66c6765f771f816ae64adaa2da66ed013 Mon Sep 17 00:00:00 2001 From: real-zephex Date: Fri, 26 Apr 2024 23:57:32 +0530 Subject: trying to implement edge runtime --- src/app/anime/top-airing/page.jsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/app/anime/top-airing') diff --git a/src/app/anime/top-airing/page.jsx b/src/app/anime/top-airing/page.jsx index e406860..2f6232f 100644 --- a/src/app/anime/top-airing/page.jsx +++ b/src/app/anime/top-airing/page.jsx @@ -3,6 +3,8 @@ import Image from "next/image"; import Link from "next/link"; import { preFetchAnimeInfo } from "../videoLinkfetcher"; +export const runtime = "edge"; + export default async function Trending() { const data = await test(); preFetchAnimeInfo(data); -- cgit v1.2.3 From adc2555489011934b209ddcd42668d1d6727db3e Mon Sep 17 00:00:00 2001 From: zephex-alt <166333351+zephex-alt@users.noreply.github.com> Date: Fri, 26 Apr 2024 18:56:04 +0000 Subject: removed edge runtime --- src/app/anime/top-airing/page.jsx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/app/anime/top-airing') diff --git a/src/app/anime/top-airing/page.jsx b/src/app/anime/top-airing/page.jsx index 2f6232f..e406860 100644 --- a/src/app/anime/top-airing/page.jsx +++ b/src/app/anime/top-airing/page.jsx @@ -3,8 +3,6 @@ import Image from "next/image"; import Link from "next/link"; import { preFetchAnimeInfo } from "../videoLinkfetcher"; -export const runtime = "edge"; - export default async function Trending() { const data = await test(); preFetchAnimeInfo(data); -- cgit v1.2.3 From 3a31abeadeed35dd73f621fbfdb8442240ef41fd Mon Sep 17 00:00:00 2001 From: zephex-alt <166333351+zephex-alt@users.noreply.github.com> Date: Mon, 29 Apr 2024 04:15:13 +0000 Subject: minor UI tweaks to homepages of kdrama and manga section --- src/app/anime/top-airing/page.jsx | 2 +- src/app/anime/top-airing/trending.module.css | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src/app/anime/top-airing') diff --git a/src/app/anime/top-airing/page.jsx b/src/app/anime/top-airing/page.jsx index e406860..c5aadd9 100644 --- a/src/app/anime/top-airing/page.jsx +++ b/src/app/anime/top-airing/page.jsx @@ -25,7 +25,7 @@ export default async function Trending() { src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=${item.image}`} className={styles.trendingImage} width={150} - height={230} + height={280} alt="Drama" priority /> diff --git a/src/app/anime/top-airing/trending.module.css b/src/app/anime/top-airing/trending.module.css index 5b98e57..f8cd0d8 100644 --- a/src/app/anime/top-airing/trending.module.css +++ b/src/app/anime/top-airing/trending.module.css @@ -20,6 +20,12 @@ overflow-x: auto; } +.trending img { + width: auto; + height: auto; + max-height: 280px; +} + .TrendingContainer:hover .trendingEntries { opacity: 0.5; } -- cgit v1.2.3 From c60af963c720a71bd129e2bbe6af3d2b3775e4fc Mon Sep 17 00:00:00 2001 From: zephex-alt <166333351+zephex-alt@users.noreply.github.com> Date: Mon, 29 Apr 2024 04:30:06 +0000 Subject: adjusted the width and height of the image just by a little --- src/app/anime/top-airing/trending.module.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/app/anime/top-airing') diff --git a/src/app/anime/top-airing/trending.module.css b/src/app/anime/top-airing/trending.module.css index f8cd0d8..1ce9b45 100644 --- a/src/app/anime/top-airing/trending.module.css +++ b/src/app/anime/top-airing/trending.module.css @@ -22,8 +22,7 @@ .trending img { width: auto; - height: auto; - max-height: 280px; + height: 280px; } .TrendingContainer:hover .trendingEntries { -- cgit v1.2.3