From 1eee181e219dfd993d396ac3169e7aad3dd285eb Mon Sep 17 00:00:00 2001 From: Factiven Date: Sun, 16 Jul 2023 22:35:39 +0700 Subject: Update v3.6.4 - Added Manga page with a working tracker for AniList user - Added schedule component to home page - Added disqus comment section so you can fight on each other (not recommended) - Added /id and /en route for english and indonesian subs (id route still work in progress) --- components/manga/modals/shortcutModal.js | 197 +++++++++++++++++++++++++++++++ 1 file changed, 197 insertions(+) create mode 100644 components/manga/modals/shortcutModal.js (limited to 'components/manga/modals/shortcutModal.js') diff --git a/components/manga/modals/shortcutModal.js b/components/manga/modals/shortcutModal.js new file mode 100644 index 0000000..28790a1 --- /dev/null +++ b/components/manga/modals/shortcutModal.js @@ -0,0 +1,197 @@ +import { Dialog, Transition } from "@headlessui/react"; +import { + ArrowSmallDownIcon, + ArrowSmallLeftIcon, + ArrowSmallRightIcon, + ArrowSmallUpIcon, +} from "@heroicons/react/24/solid"; +import { Fragment } from "react"; + +export default function ShortCutModal({ isOpen, setIsOpen }) { + function closeModal() { + setIsOpen(false); + } + + return ( + <> + + + +
+ + +
+
+ + + + Keyboard Shortcuts{" "} +
+
+ CTRL +
+
+ / +
+
+
+
+
+
+ +

+ these shorcuts only work when focused on vertical mode. +

+
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+
+ SHIFT +
+
+ +
+
+
+ | +
+
+
+ SHIFT +
+
+ +
+
+
+
+
+
+ + {/* Right to Left */} +
+ + {/*

+ these shorcuts only work when focused on Right to Left + mode. +

*/} +
+ +
+
+ +
+
+ +
+
+
+
+ + {/* works anywhere */} +
+ + +
+
+ +
+
+
+ CTRL +
+
+ +
+
+
+ | +
+
+
+ CTRL +
+
+ +
+
+
+
+
+ +
+
+ F +
+
+
+
+
+
+ +
+ +
+ + +
+
+
+
+ + ); +} -- cgit v1.2.3