chore: Rename coordinate-converter to nether-portal-calculator
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
5d2245f978
commit
4d8440a214
4 changed files with 7 additions and 7 deletions
|
@ -4,7 +4,7 @@ export default function RootLayout() {
|
||||||
return (
|
return (
|
||||||
<Stack>
|
<Stack>
|
||||||
<Stack.Screen name="index" options={{ headerShown: false }} />
|
<Stack.Screen name="index" options={{ headerShown: false }} />
|
||||||
<Stack.Screen name="coordinate-converter" options={{ headerShown: false }} />
|
<Stack.Screen name="nether-portal-calculator" options={{ headerShown: false }} />
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,13 +22,13 @@ export default function Index() {
|
||||||
<Text style={styles.mainTitle}>Minecraft Tools</Text>
|
<Text style={styles.mainTitle}>Minecraft Tools</Text>
|
||||||
|
|
||||||
<View style={styles.gridContainer}>
|
<View style={styles.gridContainer}>
|
||||||
{/* Coordinate Converter */}
|
{/* Nether Portal Calculator */}
|
||||||
<View style={styles.gridItem}>
|
<View style={styles.gridItem}>
|
||||||
<Link href="/coordinate-converter" asChild style={styles.touchableWrapper}>
|
<Link href="/nether-portal-calculator" asChild style={styles.touchableWrapper}>
|
||||||
<TouchableOpacity style={styles.touchableWrapper}>
|
<TouchableOpacity style={styles.touchableWrapper}>
|
||||||
<ImageBackground source={netherImage} style={styles.imageBackground} resizeMode="cover">
|
<ImageBackground source={netherImage} style={styles.imageBackground} resizeMode="cover">
|
||||||
<View style={styles.overlay}>
|
<View style={styles.overlay}>
|
||||||
<Text style={styles.linkButtonText}>Coordinate Converter (Nether / Overworld)</Text>
|
<Text style={styles.linkButtonText}>Nether Portal Calculator</Text>
|
||||||
</View>
|
</View>
|
||||||
</ImageBackground>
|
</ImageBackground>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
|
|
|
@ -124,7 +124,7 @@ export default function CoordinateConverter() {
|
||||||
<Text style={styles.backButtonText}>← Go Back</Text>
|
<Text style={styles.backButtonText}>← Go Back</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
|
|
||||||
<Text style={styles.converterTitle}>Coordinate Converter</Text>
|
<Text style={styles.converterTitle}>Nether Portal Calculator</Text>
|
||||||
|
|
||||||
{/* Overworld Row */}
|
{/* Overworld Row */}
|
||||||
<View style={styles.dimensionContainer}>
|
<View style={styles.dimensionContainer}>
|
|
@ -2,7 +2,7 @@
|
||||||
import { StyleSheet } from "react-native";
|
import { StyleSheet } from "react-native";
|
||||||
|
|
||||||
export const styles = StyleSheet.create({
|
export const styles = StyleSheet.create({
|
||||||
// --- Global / Reusable Styles (or main index page specific) ---
|
// --- Global / Reusable Styles ---
|
||||||
appContainer: {
|
appContainer: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
backgroundColor: "#2e2e2e",
|
backgroundColor: "#2e2e2e",
|
||||||
|
@ -54,7 +54,7 @@ export const styles = StyleSheet.create({
|
||||||
fontFamily: "Minecraft",
|
fontFamily: "Minecraft",
|
||||||
},
|
},
|
||||||
|
|
||||||
// --- Coordinate Converter Specific Styles ---
|
// --- Nether Portal Calculator ---
|
||||||
converterScreenRoot: {
|
converterScreenRoot: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
backgroundColor: "#000",
|
backgroundColor: "#000",
|
||||||
|
|
Loading…
Add table
Reference in a new issue