diff options
| author | real-zephex <[email protected]> | 2024-04-24 09:10:40 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-04-24 09:10:40 +0530 |
| commit | eb5afd612a5bfb005ce9d31a2958662a9c62a388 (patch) | |
| tree | ddf34ef2e8b42cb818904edab624f2a3a5d5e5a8 | |
| parent | Made the anime and kdrama titles to cut off after reaching div width. it just... (diff) | |
| download | dramalama-eb5afd612a5bfb005ce9d31a2958662a9c62a388.tar.xz dramalama-eb5afd612a5bfb005ce9d31a2958662a9c62a388.zip | |
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.
| -rw-r--r-- | src/app/anime/[id]/info.module.css | 8 | ||||
| -rw-r--r-- | src/app/anime/[id]/page.jsx | 2 | ||||
| -rw-r--r-- | src/app/anime/history/continueWatching/cw.module.css | 6 | ||||
| -rw-r--r-- | src/app/anime/search/page.jsx | 2 | ||||
| -rw-r--r-- | src/app/manga/[title]/[id]/[read]/page.jsx | 3 | ||||
| -rw-r--r-- | src/app/manga/history/continueWatching/cw.module.css | 6 |
6 files changed, 16 insertions, 11 deletions
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() { </div>
<button>
<Link href={"/anime/history/continueWatching"}>
- Watch History
+ History
</Link>
</button>
</div>
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) => (
<div className={styles.Image} key={index}>
<Image
- src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=${item}`}
+ src={`https://cros.shashstorm.in/cors?url=${item}`}
key={index}
alt="Pages"
width={800}
diff --git a/src/app/manga/history/continueWatching/cw.module.css b/src/app/manga/history/continueWatching/cw.module.css index 645f45a..7d7c199 100644 --- a/src/app/manga/history/continueWatching/cw.module.css +++ b/src/app/manga/history/continueWatching/cw.module.css @@ -26,9 +26,8 @@ }
.animeEntry img {
- width: auto;
+ width: 10%;
height: auto;
- max-height: 40dvh;
border-radius: 0.8rem;
}
@@ -70,6 +69,9 @@ @media screen and (max-width: 768px) {
.animeContainer {
font-size: 14px;
+ }
+ .animeEntry img {
+ width: 35%;
}
}
\ No newline at end of file |