From 79ba715e054694ce396122d2c8ee1f50f19b4fdf Mon Sep 17 00:00:00 2001
From: EliteAsian <29520859+EliteAsian123@users.noreply.github.com>
Date: Mon, 13 Nov 2023 13:50:16 -0500
Subject: [PATCH] Removed new engine page
---
src/components/Sidebar/Versions/List.tsx | 1 -
src/routes/YARG/NewEngine.tsx | 37 ------------------------
src/routes/index.tsx | 6 ----
3 files changed, 44 deletions(-)
delete mode 100644 src/routes/YARG/NewEngine.tsx
diff --git a/src/components/Sidebar/Versions/List.tsx b/src/components/Sidebar/Versions/List.tsx
index 4ca8dbd..9c73a66 100644
--- a/src/components/Sidebar/Versions/List.tsx
+++ b/src/components/Sidebar/Versions/List.tsx
@@ -11,7 +11,6 @@ const VersionsList: React.FC = () => {
-
diff --git a/src/routes/YARG/NewEngine.tsx b/src/routes/YARG/NewEngine.tsx
deleted file mode 100644
index 3425728..0000000
--- a/src/routes/YARG/NewEngine.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
-import LaunchPage from "@app/components/Launch/LaunchPage";
-import { useYARGRelease } from "@app/hooks/useYARGRelease";
-import { useYARGVersion } from "@app/hooks/useYARGVersion";
-import DevYARGIcon from "@app/assets/DevYARGIcon.png";
-import DevYARGBanner from "@app/assets/Banner/Development.png";
-
-function StableYARGPage() {
- const { data: releaseData, error, isSuccess, isLoading } = useYARGRelease("newEngine");
- const yargVersion = useYARGVersion(releaseData, "newEngine");
-
- if (isLoading) return "Loading...";
-
- if (error) return `An error has occurred: ${error}`;
-
- if(isSuccess) {
- return (<>
-
- This is the YARG v0.12 test channel! v0.12 is a massive update that will completely revamp the hit
- engine, add profiles, add practice mode, add replays, and a lot more!
-
- This version does not represent the final product of v0.12, and is incomplete. Expect lots of bugs
- and incomplete features.
-
- >}
- websiteUrl="https://github.com/YARC-Official/YARG-NewEngine"
- icon={DevYARGIcon}
- banner={DevYARGBanner}
- />
- >);
- }
-}
-
-export default StableYARGPage;
\ No newline at end of file
diff --git a/src/routes/index.tsx b/src/routes/index.tsx
index bc4f5ee..060299b 100644
--- a/src/routes/index.tsx
+++ b/src/routes/index.tsx
@@ -5,7 +5,6 @@ import Home from "@app/routes/Home";
import Settings from "@app/routes/Settings";
import StableYARGPage from "./YARG/Stable";
import NightlyYARGPage from "./YARG/Nightly";
-import NewEngineYARGPage from "./YARG/NewEngine";
import Queue from "@app/routes/Queue";
import SetlistPage from "./Setlist";
import NewsPage from "./NewsPage";
@@ -40,11 +39,6 @@ const Router = createBrowserRouter([
element:
},
- {
- path: "/yarg/newEngine",
- element:
- },
-
{
path: "/setlist/official",
element: