Added Screen component and other pages

This commit is contained in:
bobbert committed 2025-10-24 21:45:55 +01:00
1 parent 1c4e1ea49e
commit 5345bd120b
10 files changed
+113 -89

No files matched your search

-22
View File
@@ -1,22 +0,0 @@
export default function add() {
// Initialisation ...............
// State ........................
// Handlers .....................
// View .........................
return (
<View style={styles.container}>
<Text>activity 1 complete on week 1 yay!</Text>
<StatusBar style="auto" />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#fff",
alignItems: "center",
justifyContent: "center",
},
});
-17
View File
@@ -1,17 +0,0 @@
export default function list() {
return (
<View style={styles.container}>
<Text>activity 1 complete on week 1 yay!</Text>
<StatusBar style="auto" />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#fff",
alignItems: "center",
justifyContent: "center",
},
});
-17
View File
@@ -1,17 +0,0 @@
export default function modify() {
return (
<View style={styles.container}>
<Text>activity 1 complete on week 1 yay!</Text>
<StatusBar style="auto" />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#fff",
alignItems: "center",
justifyContent: "center",
},
});
+19
View File
@@ -0,0 +1,19 @@
import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View } from "react-native";
export const ModuleAddScreen = () => {
// Initialisation -------------
// State ----------------------
// Handlers -------------------
// View -----------------------
return (
<Screen style={styles.container}>
<Text>Add</Text>
<StatusBar style="auto" />
</Screen>
);
};
const styles = StyleSheet.create({});
export default ModuleAddScreen;
+3 -10
View File
@@ -7,20 +7,13 @@ export const ModuleListScreen = () => {
// Handlers -------------------
// View -----------------------
return (
<View style={styles.container}>
<Screen style={styles.container}>
<Text>List</Text>
<StatusBar style="auto" />
</View>
</Screen>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#fff",
alignItems: "center",
justifyContent: "center",
},
});
const styles = StyleSheet.create({});
export default ModuleListScreen;
@@ -0,0 +1,19 @@
import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View } from "react-native";
export const ModuleModifyScreen = () => {
// Initialisation -------------
// State ----------------------
// Handlers -------------------
// View -----------------------
return (
<Screen style={styles.container}>
<Text>Modify</Text>
<StatusBar style="auto" />
</Screen>
);
};
const styles = StyleSheet.create({});
export default ModuleModifyScreen;
@@ -0,0 +1,19 @@
import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View } from "react-native";
export const ModuleViewScreen = () => {
// Initialisation -------------
// State ----------------------
// Handlers -------------------
// View -----------------------
return (
<Screen style={styles.container}>
<Text>View</Text>
<StatusBar style="auto" />
</Screen>
);
};
const styles = StyleSheet.create({});
export default ModuleViewScreen;
-17
View File
@@ -1,17 +0,0 @@
export default function view() {
return (
<View style={styles.container}>
<Text>activity 1 complete on week 1 yay!</Text>
<StatusBar style="auto" />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#fff",
alignItems: "center",
justifyContent: "center",
},
});