From 6c501cc317af30e79325907de56987af055acaf2 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 20 Oct 2025 17:43:24 -0700 Subject: clean up existing links on import modals --- .../src/components/modals/DanceAroundModal.tsx | 82 ++++++++++++---------- 1 file changed, 43 insertions(+), 39 deletions(-) (limited to 'frontend/src/components/modals/DanceAroundModal.tsx') diff --git a/frontend/src/components/modals/DanceAroundModal.tsx b/frontend/src/components/modals/DanceAroundModal.tsx index 45f1f6f..43c71eb 100644 --- a/frontend/src/components/modals/DanceAroundModal.tsx +++ b/frontend/src/components/modals/DanceAroundModal.tsx @@ -1,5 +1,4 @@ import type { SupportedGame } from "../../types/game"; -import { EamuseImportInfo } from "../../types/constants"; interface DanceAroundModalProps { isOpen: boolean; @@ -12,7 +11,7 @@ const DanceAroundModal = ({ isOpen, onClose, game, - renderAsCard + renderAsCard, }: DanceAroundModalProps) => { if (renderAsCard) { return ( @@ -53,8 +52,8 @@ const DanceAroundModal = ({ const handleClose = () => { onClose(); }; - if(game === undefined){ - return "Sorry, due to some extreme error the game you're looking for doesn't seem to exist..." + if (game === undefined) { + return "Sorry, due to some extreme error the game you're looking for doesn't seem to exist..."; } return (
@@ -97,45 +96,50 @@ const DanceAroundModal = ({ Instructions:
    -
  1. Log into your e-amusement account
  2. - {EamuseImportInfo["dancearound"] ? ( -
  3. - Navigate to your{" "} - - Dance aROUND score data page - {" "} - Dance aROUND score data page -
  4. - ) : ( -
  5. Navigate to your Dance aROUND score data page
  6. - )} - {EamuseImportInfo["dancearound"] ? ( -
  7. - Install the userscript to your browser (use an extension such - as Tampermonkey) -
  8. - ) : ( -
  9. - Scrape the data using any method of your choice and translate - it into a Mirage Dance aROUND compatible JSON format -
  10. - )} -
  11. Upload the resulting JSON file into Mirage using the Batch-Manual Upload functionality
  12. +
  13. + Log into the{" "} + + DANCE aROUND e-amusement page + +
  14. +
  15. + Navigate to the{" "} + + DANCE aROUND Play History Page + {" "} +
  16. +
  17. + Install the relevant userscript (use a browser extension such as{" "} + Tampermonkey) +
  18. + {/* Additional Info */} +
    +

    + + e-amusement Recently Played Score Export Userscript (Last 20 Played) + +

    +
    +
  19. + A button will appear on the page that you can click to start the scraping process. +
  20. +
  21. + Upload the resulting JSON file into Mirage using the + Batch-Manual Upload functionality +
  22. Verify that all data has been imported correctly
- {/* Additional Info */} -
-

- - e-amusement Recently Played Score Export Userscript (Last 30 Played) - -

-
{/* Actions */}
-- cgit v1.2.3