Refactor screen names for consistency and rename component files to match updated naming conventions

This commit is contained in:
bobbert committed 2026-03-31 14:28:10 +01:00
1 parent 0a50220d66
commit 8686f0e1ff
31 files changed
+17 -78

No files matched your search

+2 -1
View File
@@ -19,7 +19,8 @@
"monochromeImage": "./assets/images/android-icon-monochrome.png" "monochromeImage": "./assets/images/android-icon-monochrome.png"
}, },
"edgeToEdgeEnabled": true, "edgeToEdgeEnabled": true,
"predictiveBackGestureEnabled": false "predictiveBackGestureEnabled": false,
"package": "com.bobthebob.MAD_Treasure_Hunt_App"
}, },
"web": { "web": {
"output": "static", "output": "static",
-5
View File
@@ -1,5 +0,0 @@
import AdminHubPage from '../Screens/AdminHubPage';
export default AdminHubPage;
-3
View File
@@ -1,3 +0,0 @@
import CreateGamePage from '../Screens/CreateGamePage';
export default CreateGamePage;
-5
View File
@@ -1,5 +0,0 @@
import GameLobbyPage from '../Screens/GameLobbyPage';
export default GameLobbyPage;
-5
View File
@@ -1,5 +0,0 @@
import GameTypePage from '../Screens/GameTypePage';
export default GameTypePage;
-6
View File
@@ -1,6 +0,0 @@
import { Redirect } from "expo-router";
export default function Index() {
return <Redirect href="/login" />;
}
-5
View File
@@ -1,5 +0,0 @@
import JoinPrivateGamePage from '../Screens/JoinPrivateGamePage';
export default JoinPrivateGamePage;
-5
View File
@@ -1,5 +0,0 @@
import LoginPage from '../Screens/LoginPage';
export default LoginPage;
-3
View File
@@ -1,3 +0,0 @@
import ManageGamePage from '../Screens/ManageGamePage';
export default ManageGamePage;
-5
View File
@@ -1,5 +0,0 @@
import ManagePrivateSubtaskPage from '../Screens/ManagePrivateSubtaskPage';
export default ManagePrivateSubtaskPage;
-5
View File
@@ -1,5 +0,0 @@
import ManageSubgroupsPage from '../Screens/ManageSubgroupsPage';
export default ManageSubgroupsPage;
-5
View File
@@ -1,5 +0,0 @@
import MapPage from '../Screens/MapPage';
export default MapPage;
-5
View File
@@ -1,5 +0,0 @@
import RegisterPage from '../Screens/RegisterPage';
export default RegisterPage;
-5
View File
@@ -1,5 +0,0 @@
import TeamPage from '../Screens/TeamPage';
export default TeamPage;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+13 -13
View File
@@ -4,33 +4,33 @@ export default function RootLayout() {
return ( return (
<Stack initialRouteName="(routes)/index" screenOptions={{ headerShown: false }}> <Stack initialRouteName="(routes)/index" screenOptions={{ headerShown: false }}>
<Stack.Screen <Stack.Screen
name="(routes)/index" name="Screens/LoginPage"
options={{ options={{
gestureEnabled: false, gestureEnabled: false,
}} }}
/> />
<Stack.Screen <Stack.Screen
name="(routes)/login" name="Screens/LoginPage"
options={{ options={{
gestureEnabled: false, gestureEnabled: false,
}} }}
/> />
<Stack.Screen <Stack.Screen
name="(routes)/register" name="Screens/RegisterPage"
options={{ options={{
gestureEnabled: false, gestureEnabled: false,
}} }}
/> />
<Stack.Screen name="(routes)/game-type" /> <Stack.Screen name="Screens/GameTypePage"/>
<Stack.Screen name="(routes)/join-private-game" /> <Stack.Screen name="Screens/JoinPrivateGamePage" />
<Stack.Screen name="(routes)/manage-private-subtask" /> <Stack.Screen name="Screens/ManagePrivateSubtaskPage" />
<Stack.Screen name="(routes)/create-game" /> <Stack.Screen name="Screens/CreateGamePage" />
<Stack.Screen name="(routes)/manage-game" /> <Stack.Screen name="Screens/ManageGamePage" />
<Stack.Screen name="(routes)/game-lobby" /> <Stack.Screen name="Screens/GameLobbyPage" />
<Stack.Screen name="(routes)/team" /> <Stack.Screen name="Screens/TeamPage" />
<Stack.Screen name="(routes)/map" /> <Stack.Screen name="Screens/MapPage" />
<Stack.Screen name="(routes)/admin-hub" /> <Stack.Screen name="Screens/AdminHubPage" />
<Stack.Screen name="(routes)/manage-subgroups" /> <Stack.Screen name="Screens/ManageSubgroupsPage" />
</Stack> </Stack>
); );
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
+2 -2
View File
@@ -5,8 +5,8 @@
"scripts": { "scripts": {
"start": "expo start", "start": "expo start",
"reset-project": "node ./scripts/reset-project.js", "reset-project": "node ./scripts/reset-project.js",
"android": "expo start --android", "android": "expo run:android",
"ios": "expo start --ios", "ios": "expo run:ios",
"web": "expo start --web", "web": "expo start --web",
"lint": "expo lint" "lint": "expo lint"
}, },