diff options
| -rw-r--r-- | src/app/manga/Manga.jsx | 63 | ||||
| -rw-r--r-- | src/app/manga/[title]/[id]/[read]/page.jsx | 2 | ||||
| -rw-r--r-- | src/app/manga/[title]/[id]/buttons.jsx | 1 |
3 files changed, 2 insertions, 64 deletions
diff --git a/src/app/manga/Manga.jsx b/src/app/manga/Manga.jsx deleted file mode 100644 index c4a0410..0000000 --- a/src/app/manga/Manga.jsx +++ /dev/null @@ -1,63 +0,0 @@ -import styles from "./manga.module.css"; -import Image from "next/image"; - -export default async function Manga() { - return ( - <div className={styles.Main}> - <div className={styles.Hero}> - <div className={styles.WelcomeContainer}> - <div className={styles.WelcomeText}> - Manga madness is here - </div> - <button>Let's Start</button> - </div> - <div className={styles.ImageContainer}> - <div className={styles.HorizontalImageContainer}> - <Image - src="/image.png" - width={480} - height={260} - alt="Haikyu" - /> - </div> - <div className={styles.VerticalImageContainer}> - <Image - src="/haikyu1.jpg" - width={240} - height={360} - alt="Haikyu" - /> - <Image - src="/solo_levelling.png" - width={240} - height={360} - alt="Haikyu" - /> - </div> - </div> - </div> - - <div className={styles.SelfPromoContainer}> - <div className={styles.Welcome1}> - <h2 style={{ textAlign: "center" }}> - Welcome to Dramalama Manga - </h2> - <p> - Dive into a world where action jumps off the page and - pictures paint a thousand words. Manga Universe is a - site that will immerse you in stunning illustrations and - compel you to lose yourself in thrilling narratives. - </p> - </div> - <div className={styles.ChooseusContainer}> - <h2 style={{ textAlign: "center" }}>Why choose us?</h2> - <p> - Our platform is built by manga enthusiasts, for manga - enthusiasts. That means high quality scans, an extensive - series catalogue, and regular series updates. - </p> - </div> - </div> - </div> - ); -} diff --git a/src/app/manga/[title]/[id]/[read]/page.jsx b/src/app/manga/[title]/[id]/[read]/page.jsx index a90d170..0d58df6 100644 --- a/src/app/manga/[title]/[id]/[read]/page.jsx +++ b/src/app/manga/[title]/[id]/[read]/page.jsx @@ -25,7 +25,7 @@ export default async function Read({ params }) { <div className={styles.ImageContainer}> {images && images.map((item, index) => ( - <div className={styles.Image}> + <div className={styles.Image} key={index}> <Image src={`https://image-proxy-manga.vercel.app/image-proxy?url=${item}`} key={index} diff --git a/src/app/manga/[title]/[id]/buttons.jsx b/src/app/manga/[title]/[id]/buttons.jsx index 07fe3c3..b4b8d4a 100644 --- a/src/app/manga/[title]/[id]/buttons.jsx +++ b/src/app/manga/[title]/[id]/buttons.jsx @@ -9,6 +9,7 @@ export default async function Buttons({ content: data }) { if (item.pages !== 0) { return ( <Link + key={index} href={{ pathname: `/manga/info/read/${item.id}`, query: { |