From f445930364c6e71e1388dcc82728e425f02cd642 Mon Sep 17 00:00:00 2001 From: real-zephex Date: Wed, 10 Apr 2024 16:34:20 +0530 Subject: UI changes --- src/app/anime/[id]/buttons.jsx | 50 ++++++++++++++---------------- src/app/anime/[id]/info.module.css | 5 --- src/app/anime/[id]/page.jsx | 2 +- src/app/manga/[title]/[id]/info.module.css | 2 +- src/app/manga/[title]/[id]/page.jsx | 2 +- src/app/page.jsx | 11 +++++++ src/app/page.module.css | 7 +++++ 7 files changed, 45 insertions(+), 34 deletions(-) (limited to 'src') diff --git a/src/app/anime/[id]/buttons.jsx b/src/app/anime/[id]/buttons.jsx index eac1884..3ce44e2 100644 --- a/src/app/anime/[id]/buttons.jsx +++ b/src/app/anime/[id]/buttons.jsx @@ -55,32 +55,30 @@ export default function Button({ data2: info }) { } }} > -
- - console.log("changed qualities", event) - } - > - - - - -
+ + console.log("changed qualities", event) + } + > + + + + )} diff --git a/src/app/anime/[id]/info.module.css b/src/app/anime/[id]/info.module.css index 1a8ccf8..15fd0cd 100644 --- a/src/app/anime/[id]/info.module.css +++ b/src/app/anime/[id]/info.module.css @@ -132,10 +132,6 @@ overflow-y: auto; } -.video { - display: flex; - flex-direction: column; -} .closeButton { font-family: "Poppins", serif; @@ -147,7 +143,6 @@ border-radius: 0.5rem; cursor: pointer; margin: 5px; - width: auto; } .VideoPlayer { diff --git a/src/app/anime/[id]/page.jsx b/src/app/anime/[id]/page.jsx index 978a21c..ed8b1de 100644 --- a/src/app/anime/[id]/page.jsx +++ b/src/app/anime/[id]/page.jsx @@ -44,7 +44,7 @@ export default async function AnimeInfo({ params }) { Type: {info && info.type}

- Release year:{" "} + Release year: {info && info.releaseDate}, {info && info.status} diff --git a/src/app/manga/[title]/[id]/info.module.css b/src/app/manga/[title]/[id]/info.module.css index e32aa65..1b749db 100644 --- a/src/app/manga/[title]/[id]/info.module.css +++ b/src/app/manga/[title]/[id]/info.module.css @@ -168,7 +168,7 @@ } .ChapterContainer button { - width: 8dvw; + width: 130px; height: auto; padding: 10px; margin: 5px; diff --git a/src/app/manga/[title]/[id]/page.jsx b/src/app/manga/[title]/[id]/page.jsx index 16a544d..f51a712 100644 --- a/src/app/manga/[title]/[id]/page.jsx +++ b/src/app/manga/[title]/[id]/page.jsx @@ -130,7 +130,7 @@ export default async function MangaInfo({ params }) { async function getMangaInfo(id) { const res = await fetch( - `https://consumet-api-di2e.onrender.com/meta/anilist-manga/info/${id}?provider=mangadex`, + `https://consumet-jade.vercel.app/meta/anilist-manga/info/${id}?provider=mangadex`, { next: { revalidate: 86400 } } ); const data = await res.json(); diff --git a/src/app/page.jsx b/src/app/page.jsx index e6230e2..2d45156 100644 --- a/src/app/page.jsx +++ b/src/app/page.jsx @@ -1,5 +1,6 @@ import styles from "./page.module.css"; import Link from "next/link"; +import Image from "next/image"; export default function Home() { return ( @@ -29,6 +30,16 @@ export default function Home() { +

+ + Netlify Logo + +
); } diff --git a/src/app/page.module.css b/src/app/page.module.css index 30f97e9..44b216c 100644 --- a/src/app/page.module.css +++ b/src/app/page.module.css @@ -96,4 +96,11 @@ width: 100vw; z-index: -1; position: absolute; +} + +.netlifyLogo { + position: fixed; + bottom: 0; + margin: 0rem 0.4rem 1rem 0.4rem; + height: 8.2rem; } \ No newline at end of file -- cgit v1.2.3