mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-10 08:18:12 +03:00
Last touches -- add wacca site import instructions.
This commit is contained in:
@@ -231,6 +231,15 @@ function ImportInfoDisplayer({ game }: { game: Game }) {
|
||||
key="Beatoraja IR"
|
||||
/>
|
||||
);
|
||||
} else if (game === "wacca") {
|
||||
Content.unshift(
|
||||
<ImportInfoCard
|
||||
name="WACCA Site Importer"
|
||||
href="wacca-site"
|
||||
desc="Scrape your scores from the WACCA website."
|
||||
key="WACCA Site Importer"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -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 (
|
||||
<div>
|
||||
<h1 className="text-center mb-4">What Is The WACCA Site Importer?</h1>
|
||||
<div>
|
||||
The WACCA Site Importer is a script that will scrape your profile on the WACCA
|
||||
website and imports it to {TachiConfig.name}.
|
||||
</div>
|
||||
<Divider />
|
||||
<h1 className="text-center my-4">Setup Instructions</h1>
|
||||
Instructions are available on{" "}
|
||||
<ExternalLink href="https://github.com/cg505/kt-wacca-site-importer">
|
||||
the GitHub repository
|
||||
</ExternalLink>
|
||||
.
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -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() {
|
||||
<SSSXMLPage />
|
||||
</Route>
|
||||
|
||||
<Route exact path="/dashboard/import/beatoraja-db">
|
||||
<BeatorajaDBPage />
|
||||
</Route>
|
||||
<Route exact path="/dashboard/import/lr2-db">
|
||||
<LR2DBPage />
|
||||
</Route>
|
||||
<Route exact path="/dashboard/import/fervidex">
|
||||
<FervidexPage />
|
||||
</Route>
|
||||
@@ -176,6 +171,10 @@ export default function ImportRoutes() {
|
||||
game="sdvx"
|
||||
/>
|
||||
</Route>
|
||||
|
||||
<Route exact path="/dashboard/import/wacca-site">
|
||||
<WACCASiteImportPage />
|
||||
</Route>
|
||||
</>
|
||||
)}
|
||||
</Switch>
|
||||
|
||||
Reference in New Issue
Block a user