From 38114280277b1720b0114b882d337d10231b5baf Mon Sep 17 00:00:00 2001 From: zephex0 Date: Fri, 19 Apr 2024 02:39:43 +0000 Subject: test changes --- .../manga/[title]/[id]/[read]/currentReading.jsx | 34 ---------------------- src/app/manga/history/continueWatching/page.jsx | 2 +- 2 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 src/app/manga/[title]/[id]/[read]/currentReading.jsx (limited to 'src') diff --git a/src/app/manga/[title]/[id]/[read]/currentReading.jsx b/src/app/manga/[title]/[id]/[read]/currentReading.jsx deleted file mode 100644 index 0050d61..0000000 --- a/src/app/manga/[title]/[id]/[read]/currentReading.jsx +++ /dev/null @@ -1,34 +0,0 @@ -"use client"; - -import styles from "./read.module.css"; -import { useEffect } from "react"; - -function get_current_info(title) { - let req = {}; - - useEffect(() => { - const data = JSON.parse(localStorage.getItem("mangaData")); - data.watchHis.forEach((element) => { - if (element.title === title) { - req.chapter = element.chapter; - req.volume = element.volume; - } - }); - }, []); - - return req || false; -} - -export default function Current({ name: title }) { - let data = get_current_info(title); - if (!data) { - return; - } - - return ( -
-

{data.chapter}

-

{data.volume}

-
- ); -} diff --git a/src/app/manga/history/continueWatching/page.jsx b/src/app/manga/history/continueWatching/page.jsx index 0d0a02e..8c5f651 100644 --- a/src/app/manga/history/continueWatching/page.jsx +++ b/src/app/manga/history/continueWatching/page.jsx @@ -25,7 +25,7 @@ const ContinueWatching = () => { return (
-

Continue Watching

+

Continue Reading

{localItems && (
{localItems.watchHis && -- cgit v1.2.3 From f1e6838a53ca3013e89ecf98ed6722d7dac24a65 Mon Sep 17 00:00:00 2001 From: zephex0 Date: Fri, 19 Apr 2024 02:44:20 +0000 Subject: image fix for netlify --- src/app/page.module.css | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/app/page.module.css b/src/app/page.module.css index 3a7031f..aeedf2f 100644 --- a/src/app/page.module.css +++ b/src/app/page.module.css @@ -106,4 +106,5 @@ .netlifyLogo img { aspect-ratio: 16 / 9; + height: 100px } \ No newline at end of file -- cgit v1.2.3 From 2c32a93e008ec94adf9c7c9b853a632018ae8152 Mon Sep 17 00:00:00 2001 From: zephex0 Date: Fri, 19 Apr 2024 02:51:04 +0000 Subject: minor fixes --- src/app/manga/manga.module.css | 3 ++- src/app/page.module.css | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/app/manga/manga.module.css b/src/app/manga/manga.module.css index 8dd72d0..457fbbf 100644 --- a/src/app/manga/manga.module.css +++ b/src/app/manga/manga.module.css @@ -19,13 +19,14 @@ .searchMain button { margin: 10px 5px 0px 5px; - padding: 4px; + padding: 8px; border-radius: 0.3rem; border: none; outline: none; font-family: "Atkinson Hyperlegible", serif; background: #1f1f1f; color: white; + cursor: pointer; } .SearchBar { diff --git a/src/app/page.module.css b/src/app/page.module.css index aeedf2f..a826337 100644 --- a/src/app/page.module.css +++ b/src/app/page.module.css @@ -100,8 +100,7 @@ .netlifyLogo { position: fixed; bottom: 0; - margin: 0rem 0.4rem 1rem 0.4rem; - height: 8.2rem; + margin: 0rem 0.4rem 1.6rem 0.4rem; } .netlifyLogo img { -- cgit v1.2.3 From 330112909656afc185cdfbf31af75d93a5b98287 Mon Sep 17 00:00:00 2001 From: zephex0 Date: Fri, 19 Apr 2024 03:32:16 +0000 Subject: removed image from homepage --- src/app/page.jsx | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src') diff --git a/src/app/page.jsx b/src/app/page.jsx index 47f30b0..0766b74 100644 --- a/src/app/page.jsx +++ b/src/app/page.jsx @@ -1,6 +1,5 @@ import styles from "./page.module.css"; import Link from "next/link"; -import Image from "next/image"; export default function Home() { return ( @@ -27,20 +26,6 @@ export default function Home() {
- -
- - Netlify Logo - -
); } -- cgit v1.2.3