Skip to content

Commit

Permalink
Remove unused components (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
anjula-sack authored Dec 9, 2024
1 parent 1668339 commit 609223c
Show file tree
Hide file tree
Showing 18 changed files with 175 additions and 2,880 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"scripts": {
"start": "PORT=3023 node scripts/start.js",
"build": "node scripts/build.js",
"test": "jest"
"test": "jest --coverage"
},
"eslintConfig": {
"extends": [
Expand Down
120 changes: 26 additions & 94 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,42 +1,37 @@
import React from "react";
import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
import { createBrowserHistory } from "history";
import Login from "./Screens/Login";
import ForgotPassword from "./Screens/ForgotPassword";
import ForgotResetPassword from "./Screens/ForgotResetPassword";
import Dashbord from "./Screens/Dashbord";
import HomeScreen from "./pages/HomeScreen";
import ParentScreen from "./pages/ParentScreen";
import React from "react";
import { Route, BrowserRouter as Router, Switch } from "react-router-dom";

import AudioRecognize from "./Component/AudioRecognize";
import MyConstant from "./config/MyConstant";
import EmpathyScreen from "./pages/EmpathyScreen";
import Footer from "./pages/Footer";
import ModuleScreen from "./pages/ModuleScreen";
import HomeScreen from "./pages/HomeScreen";
import LevelScreen from "./pages/LevelScreen";
import ProfileScreen from "./pages/ProfileScreen";
import ParentsHomeScreen from "./pages/ParentsHomeScreen";
import ModuleScreen from "./pages/ModuleScreen";
import NewParentsScreen from "./pages/NewParentsScreen";
import ParentOnboardingScreen from "./pages/ParentOnboardingScreen";
import AudioRecognize from "./Component/AudioRecognize";
import EmpathyScreen from "./pages/EmpathyScreen";
import "./App.css";
import MyConstant from "./config/MyConstant";
import SignUp from "./Screens/SignUp";
import ModuleScreenTwo from "./Screens/ModuleManager/ModuleScreen_2";
import SignUpWithZip from "./Screens/SignUpWithZip";
import QrCode from "./Screens/QrCode";
import DemoUserLogin from "./Screens/DemoUserLogin";
import ParentScreen from "./pages/ParentScreen";
import ParentsHomeScreen from "./pages/ParentsHomeScreen";
import ProfileScreen from "./pages/ProfileScreen";
import TrackProgressScreen from "./pages/TrackProgressScreen";
import Dashbord from "./Screens/Dashbord";
import DemoUserLoginTwo from "./Screens/DemoUserLogin_2";

import StartingDashBord from "./Screens/EndScreen/StartingDashBord";
import WinningPage2 from "./TilliYourWinning/WinningPage2";

import NotFoundPage from "./Screens/NotFoundPage";
import ForgotPassword from "./Screens/ForgotPassword";
import ForgotResetPassword from "./Screens/ForgotResetPassword";
import Login from "./Screens/Login";
import Manage from "./Screens/Manage";
import UserManage from "./Screens/UserManage";
import TilliGameWeb from "./pages/TilliGameWeb";

import ModuleScreenMange from "./Screens/ModuleManager/ModuleScreenMange";
import GodotPlay from "./Screens/ModuleManager/GodotPlay";
import GodotRedirect from "./Screens/ModuleManager/GodotRedirect";
import NewParentsScreen from "./pages/NewParentsScreen";
import TrackProgressScreen from "./pages/TrackProgressScreen";
import ModuleScreenTwo from "./Screens/ModuleManager/ModuleScreen_2";
import ModuleScreenMange from "./Screens/ModuleManager/ModuleScreenMange";
import NotFoundPage from "./Screens/NotFoundPage";
import QrCode from "./Screens/QrCode";
import SignUp from "./Screens/SignUp";
import UserManage from "./Screens/UserManage";
import WinningPage2 from "./TilliYourWinning/WinningPage2";

import "./App.css";

const history = createBrowserHistory();

Expand Down Expand Up @@ -81,19 +76,6 @@ function App() {
</React.Fragment>
)}
/>
<Route
exact
path={"/" + MyConstant.keyList.projectUrl + "/signup-with-zip"}
history={history}
render={(props) => (
<React.Fragment>
<div className={classNameForDevice}>
<SignUpWithZip {...props} />
</div>
</React.Fragment>
)}
/>

<Route
exact
path={"/" + MyConstant.keyList.projectUrl + "/Dashbord"}
Expand Down Expand Up @@ -357,18 +339,6 @@ function App() {
</React.Fragment>
)}
/>
<Route
exact
path={"/" + MyConstant.keyList.projectUrl + "/demouserlogin"}
history={history}
render={(props) => (
<React.Fragment>
<div className={classNameForDevice}>
<DemoUserLogin {...props} />
</div>
</React.Fragment>
)}
/>
<Route
exact
path={
Expand Down Expand Up @@ -412,19 +382,6 @@ function App() {
</React.Fragment>
)}
/>
<Route
exact
path={"/" + MyConstant.keyList.projectUrl + "/test"}
history={history}
render={(props) => (
<React.Fragment>
<div className={classNameForDevice}>
<UserManage {...props} landingFrom="test" />
{/* <DemoUserLoginTwo {...props} landingFrom="test"/> */}
</div>
</React.Fragment>
)}
/>
<Route
exact
path={"/" + MyConstant.keyList.projectUrl + "/internal-demo"}
Expand All @@ -433,20 +390,6 @@ function App() {
<React.Fragment>
<div className={classNameForDevice}>
<UserManage {...props} landingFrom="demo" />
{/* <DemoUserLoginTwo {...props} landingFrom="demo"/> */}
</div>
</React.Fragment>
)}
/>

<Route
exact
path={"/" + MyConstant.keyList.projectUrl + "/edash"}
history={history}
render={(props) => (
<React.Fragment>
<div className={classNameForDevice}>
<StartingDashBord {...props} />
</div>
</React.Fragment>
)}
Expand Down Expand Up @@ -526,17 +469,6 @@ function App() {
/>

{/* godot */}

{/* tilli-game-web */}
<Route
path={"/" + MyConstant.keyList.projectUrl + "/games"}
history={history}
render={(props) => (
<React.Fragment>
<TilliGameWeb />
</React.Fragment>
)}
/>
<Route
exact
path={"/" + MyConstant.keyList.projectUrl + "/newparentsscreen"}
Expand Down
14 changes: 0 additions & 14 deletions src/App.test.js

This file was deleted.

Loading

0 comments on commit 609223c

Please sign in to comment.