From 9ce706dfd306471371cf4df148c474e6319b862f Mon Sep 17 00:00:00 2001 From: zephex-alt <166333351+zephex-alt@users.noreply.github.com> Date: Mon, 29 Apr 2024 06:55:38 +0000 Subject: downloading mangas is not longer available. i need a proper hosting to properly implement that feature --- src/app/manga/[title]/[id]/[read]/page.jsx | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/app/manga') diff --git a/src/app/manga/[title]/[id]/[read]/page.jsx b/src/app/manga/[title]/[id]/[read]/page.jsx index 01080bf..a2b2555 100644 --- a/src/app/manga/[title]/[id]/[read]/page.jsx +++ b/src/app/manga/[title]/[id]/[read]/page.jsx @@ -1,6 +1,5 @@ import styles from "./read.module.css"; import Image from "next/image"; -import DownloadManga from "./download"; export default async function Read({ params }) { const chapterId = params.read; @@ -20,14 +19,12 @@ 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); } return (
-

Total pages: {images.length}

{images && images.map((item, index) => ( -- cgit v1.2.3 From b9059d978d2b86e15aa7c3846ef71fc62f711486 Mon Sep 17 00:00:00 2001 From: zephex-alt <166333351+zephex-alt@users.noreply.github.com> Date: Tue, 30 Apr 2024 04:08:49 +0000 Subject: small fixes --- src/app/manga/[title]/[id]/[read]/read.module.css | 4 ++-- src/app/manga/[title]/[id]/buttons.jsx | 5 +++++ src/app/manga/[title]/[id]/info.module.css | 23 ++++++++++++++-------- src/app/manga/[title]/title.module.css | 7 +++---- .../manga/history/continueWatching/cw.module.css | 2 +- src/app/manga/loading.module.css | 6 +++--- src/app/manga/manga.module.css | 3 +-- 7 files changed, 30 insertions(+), 20 deletions(-) (limited to 'src/app/manga') diff --git a/src/app/manga/[title]/[id]/[read]/read.module.css b/src/app/manga/[title]/[id]/[read]/read.module.css index d2adf5c..2c7f964 100644 --- a/src/app/manga/[title]/[id]/[read]/read.module.css +++ b/src/app/manga/[title]/[id]/[read]/read.module.css @@ -1,5 +1,5 @@ .Main { - margin: 80px auto; + margin: 65px auto; } .Image { @@ -58,4 +58,4 @@ .Image { width: 100%; } -} \ No newline at end of file +} diff --git a/src/app/manga/[title]/[id]/buttons.jsx b/src/app/manga/[title]/[id]/buttons.jsx index a6c8d75..6c419bf 100644 --- a/src/app/manga/[title]/[id]/buttons.jsx +++ b/src/app/manga/[title]/[id]/buttons.jsx @@ -5,6 +5,7 @@ import Link from "next/link"; import { storeLocal } from "../../history/storeData"; export default function Buttons({ content: data }) { + let hasValidLinks = false; function store_to_local(title, chapter, volume, image, id, id2) { let data = { title: title, @@ -22,6 +23,7 @@ export default function Buttons({ content: data }) { {data.chapters && data.chapters.map((item, index) => { if (item.pages !== 0) { + hasValidLinks = true; return ( Links not found

+ )}
); } diff --git a/src/app/manga/[title]/[id]/info.module.css b/src/app/manga/[title]/[id]/info.module.css index bc22f49..1df4583 100644 --- a/src/app/manga/[title]/[id]/info.module.css +++ b/src/app/manga/[title]/[id]/info.module.css @@ -1,5 +1,5 @@ .MangaInfoContainer { - margin: 68px auto; + margin: 60px auto; } .MangaHero { @@ -15,7 +15,6 @@ padding: 5px; background-color: #2c2c2c9c; backdrop-filter: blur(5px); - } .TitleContainer p { @@ -114,7 +113,7 @@ } .Character::-webkit-scrollbar-thumb { - background-color: #31363F; + background-color: #31363f; border-radius: 5px; } @@ -167,7 +166,7 @@ } .ChapterContainer::-webkit-scrollbar-thumb { - background-color: #31363F; + background-color: #31363f; border-radius: 5px; } @@ -193,7 +192,7 @@ .ChapterContainer button:hover { background-color: #1f1f1f; - transition: background-color 50ms ease-in + transition: background-color 50ms ease-in; } .ChapterContainer button:focus { @@ -203,6 +202,16 @@ transform: scale(0.9); } +.linksNotFound { + font-family: "Atkinson Hyperlegible", serif; + color: white; + font-size: 18px; + display: flex; + justify-content: center; + align-items: center; + height: 85%; +} + @media screen and (max-width: 768px) { .MangaInfoContainer { max-width: 100%; @@ -214,11 +223,9 @@ .ChapterContainer button { width: 120px; - } .ChapterContainer button p { font-size: 14px; } - -} \ No newline at end of file +} diff --git a/src/app/manga/[title]/title.module.css b/src/app/manga/[title]/title.module.css index 737fd92..bbfc99b 100644 --- a/src/app/manga/[title]/title.module.css +++ b/src/app/manga/[title]/title.module.css @@ -55,16 +55,15 @@ .MangaStatus { color: var(--soft-purple); font-family: "Poppins", serif; - } .MangaVolume { - color: #FFACAC; + color: #ffacac; font-family: "Poppins", serif; } .MangaChapters { - color: #FFEBB4; + color: #ffebb4; font-family: "Poppins", serif; } @@ -72,4 +71,4 @@ .Main { max-width: 100%; } -} \ No newline at end of file +} diff --git a/src/app/manga/history/continueWatching/cw.module.css b/src/app/manga/history/continueWatching/cw.module.css index 7d7c199..29d0dc9 100644 --- a/src/app/manga/history/continueWatching/cw.module.css +++ b/src/app/manga/history/continueWatching/cw.module.css @@ -74,4 +74,4 @@ .animeEntry img { width: 35%; } -} \ No newline at end of file +} diff --git a/src/app/manga/loading.module.css b/src/app/manga/loading.module.css index 18b1cf0..d52e913 100644 --- a/src/app/manga/loading.module.css +++ b/src/app/manga/loading.module.css @@ -11,12 +11,12 @@ height: 50px; border-radius: 50%; border: 8px solid; - border-color: #F4F4F4 #0000; + border-color: #f4f4f4 #0000; animation: s1 1s infinite; } @keyframes s1 { to { - transform: rotate(.5turn) + transform: rotate(0.5turn); } -} \ No newline at end of file +} diff --git a/src/app/manga/manga.module.css b/src/app/manga/manga.module.css index 3dc253b..3763d7d 100644 --- a/src/app/manga/manga.module.css +++ b/src/app/manga/manga.module.css @@ -38,7 +38,6 @@ cursor: pointer; } - .SearchBar input { background: none; outline: none; @@ -70,4 +69,4 @@ .SearchBar { width: 60dvw; } -} \ No newline at end of file +} -- cgit v1.2.3