From eb5afd612a5bfb005ce9d31a2958662a9c62a388 Mon Sep 17 00:00:00 2001 From: real-zephex Date: Wed, 24 Apr 2024 09:10:40 +0530 Subject: the image proxy was not working for some reason so switched it to shashstrom's proxy, here: https://github.com/shashstormer/m3u8_proxy-cors. \nFixed the image width and height for continue watching page. --- src/app/anime/[id]/info.module.css | 8 ++++---- src/app/anime/[id]/page.jsx | 2 +- src/app/anime/history/continueWatching/cw.module.css | 6 ++++-- src/app/anime/search/page.jsx | 2 +- src/app/manga/[title]/[id]/[read]/page.jsx | 3 ++- src/app/manga/history/continueWatching/cw.module.css | 6 ++++-- 6 files changed, 16 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/app/anime/[id]/info.module.css b/src/app/anime/[id]/info.module.css index 3b6e650..4d8e774 100644 --- a/src/app/anime/[id]/info.module.css +++ b/src/app/anime/[id]/info.module.css @@ -19,7 +19,7 @@ .titleContainer p { color: var(--neon-green); width: 60%; - font-family: "Poppins"; + font-family: "Poppins", serif; font-weight: 500; font-size: 34px; } @@ -36,7 +36,7 @@ } .animeDescription p { - font-family: "Atkinson Hyperlegible"; + font-family: "Atkinson Hyperlegible", serif; color: rgba(255, 255, 255, 0.637); } @@ -71,7 +71,7 @@ .dramaButton { padding: 10px; - font-family: "Quicksand"; + font-family: "Atkinson Hyperlegible", serif; font-size: 14px; margin: 5px 5px 5px 5px; width: 55px; @@ -105,7 +105,7 @@ color: var(--neon-green); background-color: #303030; cursor: pointer; - font-family: "Atkinson Hyperlegible"; + font-family: "Atkinson Hyperlegible", serif; } .animeType span { diff --git a/src/app/anime/[id]/page.jsx b/src/app/anime/[id]/page.jsx index 59ebe6a..bb7640f 100644 --- a/src/app/anime/[id]/page.jsx +++ b/src/app/anime/[id]/page.jsx @@ -59,7 +59,7 @@ export default async function AnimeInfo({ params }) { async function getAnimeInfo(anime_id) { const res = await fetch( - "https://anime-sensei-api.vercel.app/anime/gogoanime/info/" + anime_id, + "https://consumet-jade.vercel.app/anime/gogoanime/info/" + anime_id, { next: { revalidate: 7200 } } ); const data = await res.json(); diff --git a/src/app/anime/history/continueWatching/cw.module.css b/src/app/anime/history/continueWatching/cw.module.css index 2b2c6b0..e473513 100644 --- a/src/app/anime/history/continueWatching/cw.module.css +++ b/src/app/anime/history/continueWatching/cw.module.css @@ -26,9 +26,8 @@ } .animeEntry img { - width: auto; + width: 10%; height: auto; - max-height: 40dvh; border-radius: 0.8rem; } @@ -54,6 +53,9 @@ @media screen and (max-width: 768px) { .animeContainer { font-size: 14px; + } + .animeEntry img { + width: 35%; } } \ No newline at end of file diff --git a/src/app/anime/search/page.jsx b/src/app/anime/search/page.jsx index 7ec2d2d..0555a36 100644 --- a/src/app/anime/search/page.jsx +++ b/src/app/anime/search/page.jsx @@ -50,7 +50,7 @@ export default function Input() { diff --git a/src/app/manga/[title]/[id]/[read]/page.jsx b/src/app/manga/[title]/[id]/[read]/page.jsx index a4181d7..733786e 100644 --- a/src/app/manga/[title]/[id]/[read]/page.jsx +++ b/src/app/manga/[title]/[id]/[read]/page.jsx @@ -20,6 +20,7 @@ export default async function Read({ params }) { let images = []; for (var i = 0; i < results.chapter.data.length; i++) { var imgUrl = image_base_url + "/" + results.chapter.data[i]; + // console.log(imgUrl); images.push(imgUrl); } @@ -32,7 +33,7 @@ export default async function Read({ params }) { images.map((item, index) => (