+ Oops!
It looks like this manga is not available.
+
diff --git a/.env.example b/.env.example index b3184ba5..ac710883 100644 --- a/.env.example +++ b/.env.example @@ -10,7 +10,6 @@ NEXTAUTH_URL="for development use http://localhost:3000/ and for production use ## NextJS PROXY_URI="This is what I use for proxying video https://github.com/chaycee/M3U8Proxy. Don't put / at the end of the url." API_URI="host your own API from this repo https://github.com/consumet/api.consumet.org. Don't put / at the end of the url." -API_KEY="this API key is used for schedules, anime and manga page. get the key from https://anify.tv/discord" DISQUS_SHORTNAME='put your disqus shortname here (optional)' # ADMIN_USERNAME="" diff --git a/.eslintrc.json b/.eslintrc.json index dbda85f6..4658cc5d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,6 +1,8 @@ { "extends": "next/core-web-vitals", + // ignore react-hooks/exhaustive-deps "rules": { + "react-hooks/exhaustive-deps": "off", "react/no-unescaped-entities": 0, "react/no-unknown-property": ["error", { "ignore": ["css"] }] } diff --git a/.gitignore b/.gitignore index 4d91deb6..1e8ff29a 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,7 @@ # testing /coverage -/pages/test.js +/pages/en/test.js /components/devComp # next.js diff --git a/.prettierrc.json b/.prettierrc.json index 0967ef42..08df606e 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1 +1,4 @@ -{} +{ + "bracketSpacing": true, + "printWidth": 80 +} diff --git a/README.md b/README.md index 6d3abd62..06b95b83 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,11 @@
Normal Mode
+ +Theater Mode
+Broadcast
++ Broadcast + + + + +
@@ -95,40 +196,85 @@ export default function AdminDashboard({ {report?.map((i, index) => (
+ {chapter.title || `Chapter ${chapter.number}`} +
++ {selectedProvider} +
++ Showing{" "} + {indexOfFirstChapter + 1} to{" "} + + {indexOfLastChapter > chapters.length + ? chapters.length + : indexOfLastChapter} + {" "} + of {chapters.length} chapters +
+{page.error || "No Pages."}
+{page?.error || "No Pages."}
+ Not available on AniList +
+ ) : ( +
+ {data?.status === 404 && "Not Found"}
+
+ {data?.error}
+
diff --git a/components/watch/player/utils/getZoroSource.js b/components/watch/player/utils/getZoroSource.js deleted file mode 100644 index e69de29b..00000000 diff --git a/components/watch/secondary/episodeLists.js b/components/watch/secondary/episodeLists.js index 41f1a765..485b43ee 100644 --- a/components/watch/secondary/episodeLists.js +++ b/components/watch/secondary/episodeLists.js @@ -1,6 +1,8 @@ import Skeleton from "react-loading-skeleton"; import Image from "next/image"; import Link from "next/link"; +import { ChevronDownIcon } from "@heroicons/react/24/outline"; +import { useRouter } from "next/router"; export default function EpisodeLists({ info, @@ -9,13 +11,56 @@ export default function EpisodeLists({ watchId, episode, artStorage, + track, dub, }) { const progress = info.mediaListEntry?.progress; + const router = useRouter(); + return (
+ + You are Offline :\ +
+
+ Oops!
It looks like this manga is not available.
+
No Chapter Available :(
- )} --
} ·{" "} + {anime.status ||-
} ·{" "} + {anime.episodes + ? `${anime.episodes || "N/A"} Episodes` + : `${anime.chapters || "N/A"} Chapters`} + +-
} ·{" "} - {anime.status ||-
} ·{" "} - {anime.episodes - ? `${anime.episodes || "N/A"} Episodes` - : `${anime.chapters || "N/A"} Chapters`} - -+ + {a?.anilist.title.romaji} + {" "} + | Episode {a.episode} +
+ + + ); + })}