diff --git a/client/src/app/pages/dashboard/import/ImportPage.tsx b/client/src/app/pages/dashboard/import/ImportPage.tsx index 4a0c0773a..d9757e478 100644 --- a/client/src/app/pages/dashboard/import/ImportPage.tsx +++ b/client/src/app/pages/dashboard/import/ImportPage.tsx @@ -231,6 +231,15 @@ function ImportInfoDisplayer({ game }: { game: Game }) { key="Beatoraja IR" /> ); + } else if (game === "wacca") { + Content.unshift( + + ); } return ( diff --git a/client/src/app/pages/dashboard/import/WACCASiteImportPage.tsx b/client/src/app/pages/dashboard/import/WACCASiteImportPage.tsx new file mode 100644 index 000000000..56d5d99de --- /dev/null +++ b/client/src/app/pages/dashboard/import/WACCASiteImportPage.tsx @@ -0,0 +1,26 @@ +import useSetSubheader from "components/layout/header/useSetSubheader"; +import Divider from "components/util/Divider"; +import ExternalLink from "components/util/ExternalLink"; +import { TachiConfig } from "lib/config"; +import React from "react"; + +export default function WACCASiteImportPage() { + useSetSubheader(["Import Scores", "WACCA Site Importer"]); + + return ( +
+

What Is The WACCA Site Importer?

+
+ The WACCA Site Importer is a script that will scrape your profile on the WACCA + website and imports it to {TachiConfig.name}. +
+ +

Setup Instructions

+ Instructions are available on{" "} + + the GitHub repository + + . +
+ ); +} diff --git a/client/src/app/routes/ImportRoutes.tsx b/client/src/app/routes/ImportRoutes.tsx index e80f0274e..65bcef6ee 100644 --- a/client/src/app/routes/ImportRoutes.tsx +++ b/client/src/app/routes/ImportRoutes.tsx @@ -15,6 +15,7 @@ import SilentHookPage from "app/pages/dashboard/import/SilentHookPage"; import SSSXMLPage from "app/pages/dashboard/import/SSSXMLPage"; import USCDBPage from "app/pages/dashboard/import/USCDBPage"; import USCIRPage from "app/pages/dashboard/import/USCIRPage"; +import WACCASiteImportPage from "app/pages/dashboard/import/WACCASiteImportPage"; import ARCImportPage from "components/imports/ARCImportPage"; import KAIIntegrationPage from "components/imports/KAIIntegrationPage"; import Divider from "components/util/Divider"; @@ -100,12 +101,6 @@ export default function ImportRoutes() { - - - - - - @@ -176,6 +171,10 @@ export default function ImportRoutes() { game="sdvx" /> + + + + )}