From 0c5cf111b3d59474825d07224598637c9d34c481 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Wed, 17 Dec 2025 13:40:45 -0800
Subject: add FLO/EAG Dancerush import methods

---
 frontend/src/pages/Import.tsx | 38 ++++++++++++++++++++++++++++++++++++--
 1 file changed, 36 insertions(+), 2 deletions(-)

(limited to 'frontend/src/pages/Import.tsx')

diff --git a/frontend/src/pages/Import.tsx b/frontend/src/pages/Import.tsx
index 65aabc8..8dc9eec 100644
--- a/frontend/src/pages/Import.tsx
+++ b/frontend/src/pages/Import.tsx
@@ -19,7 +19,7 @@ const EagleUserscriptModal = lazy(() => import("../components/modals/EagleUsersc
 const TaikoDonderHirobaModal = lazy(() => import("../components/modals/TaikoDonderHirobaModal"));
 const TaikoEGTSModal = lazy(() => import("../components/modals/TaikoEGTSModal"));
 
-type ModalType = 'json' | 'dancerush' | 'dancearound' | 'divanet' | 'musicdiver' | 'nostalgiaFlower' | 'nostalgiaEagle' | 'reflecbeatFlower' | 'reflecbeatEagle' | 'taiko' | 'taikoEGTS';
+type ModalType = 'json' | 'dancerush' | 'dancerushFlower' | 'dancerushEagle' | 'dancearound' | 'divanet' | 'musicdiver' | 'nostalgiaFlower' | 'nostalgiaEagle' | 'reflecbeatFlower' | 'reflecbeatEagle' | 'taiko' | 'taikoEGTS';
 
 const Import = () => {
   const { user, isLoading, logout } = useAuth();
@@ -144,6 +144,14 @@ const Import = () => {
             mainGameName="DANCERUSH"
             onClick={() => setOpenModal('dancerush')}
             />
+            <FlowerUserscriptCard
+            mainGameName="DANCERUSH"
+            onClick={() => setOpenModal('dancerushFlower')}
+            />
+            <EagleUserscriptCard
+            mainGameName="DANCERUSH"
+            onClick={() => setOpenModal('dancerushEagle')}
+            />
           </>
         );
       case "dancearound":
@@ -353,6 +361,32 @@ const Import = () => {
             }]}
           />
         )}
+        {openModal === 'dancerushFlower' && (
+          <FlowerUserscriptModal
+            isOpen={true}
+            onClose={() => setOpenModal(null)}
+            mainGameName="DANCERUSH"
+            userPage="https://projectflower.eu"
+            importPage="https://projectflower.eu/game/dancerush/profile/7414"
+            scripts={[{
+              name: "Flower Play History (Exports only the page you are on)",
+              url: "https://github.com/pinapelz/Mirage/raw/refs/heads/main/scripts/dancerush/flower/dancerush_flower_scraper.user.js"
+            }]}
+          />
+        )}
+        {openModal === 'dancerushEagle' && (
+          <EagleUserscriptModal
+            isOpen={true}
+            onClose={() => setOpenModal(null)}
+            mainGameName="DANCERUSH"
+            userPage="https://eagle.ac"
+            importPage="https://eagle.ac/game/dancerush/profile/7414"
+            scripts={[{
+              name: "Eagle Play History (Exports only the page you are on)",
+              url: "https://github.com/pinapelz/Mirage/raw/refs/heads/main/scripts/dancerush/flower/dancerush_flower_scraper.user.js"
+            }]}
+          />
+        )}
         {openModal === 'dancearound' && (
           <EamusementUserscriptModal
             isOpen={true}
@@ -405,7 +439,7 @@ const Import = () => {
             onClose={() => setOpenModal(null)}
             mainGameName="NOSTALGIA"
             userPage="https://eagle.ac"
-            importPage="https://eagle.ac/game/nostalgia/54827307"
+            importPage="https://eagle.ac/game/nostalgia/43711497"
             scripts={[{
               name: "Eagle Play History (Exports only the page you are on)",
               url: "https://github.com/pinapelz/Mirage/raw/refs/heads/main/scripts/nostalgia/flower/nostalgia_flower_scraper.user.js"
-- 
cgit v1.2.3

