diff options
Diffstat (limited to 'src/app/manga')
| -rw-r--r-- | src/app/manga/[title]/[id]/page.jsx | 2 | ||||
| -rw-r--r-- | src/app/manga/[title]/page.jsx | 2 | ||||
| -rw-r--r-- | src/app/manga/page.jsx | 2 | ||||
| -rw-r--r-- | src/app/manga/searchBar.jsx | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/app/manga/[title]/[id]/page.jsx b/src/app/manga/[title]/[id]/page.jsx index 6ab436e..bbf1647 100644 --- a/src/app/manga/[title]/[id]/page.jsx +++ b/src/app/manga/[title]/[id]/page.jsx @@ -6,6 +6,8 @@ import { FaStar } from "react-icons/fa"; import CurrentReading from "./[read]/currentReading"; import PreFetchChaterLinks from "../../cacher"; +// This page displays the information regarding the manga or manhwa which the user selected on the previous page. + export default async function MangaInfo({ params }) { const id = params.id; const data = await getMangaInfo(id); diff --git a/src/app/manga/[title]/page.jsx b/src/app/manga/[title]/page.jsx index e4cc659..0602ad9 100644 --- a/src/app/manga/[title]/page.jsx +++ b/src/app/manga/[title]/page.jsx @@ -2,6 +2,8 @@ import styles from "./title.module.css"; import Image from "next/image"; import Link from "next/link"; +// This page displays all the available mangas or manhwas when the user searches for one/ + export default async function MangaInfo({ params }) { const title = params.title; const data = await GetSearchedAnime(title); diff --git a/src/app/manga/page.jsx b/src/app/manga/page.jsx index 8f4db8c..bab74a7 100644 --- a/src/app/manga/page.jsx +++ b/src/app/manga/page.jsx @@ -2,6 +2,8 @@ import styles from "./manga.module.css"; import Image from "next/image"; import SearchBar from "./searchBar"; +// This is the landing page for the manga section. Nothing much here but my only complaint is the loading time for the svg. It's too big but idk how to fix it. I mean I could use a png but then the quality is not good. Will keep it like this for the time being + export default async function Manga() { return ( <div className={styles.Main}> diff --git a/src/app/manga/searchBar.jsx b/src/app/manga/searchBar.jsx index fa0962a..7fb4ad1 100644 --- a/src/app/manga/searchBar.jsx +++ b/src/app/manga/searchBar.jsx @@ -5,6 +5,8 @@ import styles from "./manga.module.css"; import { useState } from "react"; import { useRouter } from "next/navigation"; +// This is the search bar for the mangapage. Nothing extraordinary but just an input box and a search icon. Gets the work done. + export default function SearchBar() { const router = useRouter(); |