diff --git a/app.json b/app.json index 15d1a92..ae4f59c 100644 --- a/app.json +++ b/app.json @@ -37,6 +37,7 @@ ], "experiments": { "typedRoutes": true - } + }, + "assetBundlePatterns": ["**/*"] } } diff --git a/app/index.tsx b/app/index.tsx index 8ebbffe..e469a02 100644 --- a/app/index.tsx +++ b/app/index.tsx @@ -2,7 +2,7 @@ import { Link } from "expo-router"; import { ImageBackground, Text, TouchableOpacity, View } from "react-native"; import { styles } from "./styles"; -// Placeholder images - replace with actual local images! +// Placeholder images const netherImage = { uri: "https://s1.qwant.com/thumbr/474x248/2/4/a24db6c90af628d74cc6f90c2a9c710035c23f71bbe60306da8c15048e3f0a/OIP.joos3K71NDyUnFa8KyqxmwHaD4.jpg?u=https%3A%2F%2Ftse.mm.bing.net%2Fth%2Fid%2FOIP.joos3K71NDyUnFa8KyqxmwHaD4%3Fpid%3DApi&q=0&b=1&p=0&a=0", }; @@ -18,8 +18,8 @@ const motdImage = { export default function Index() { return ( - - Minecraft Tools + + Minecraft Tools {/* Coordinate Converter */} diff --git a/app/styles.ts b/app/styles.ts index dc5a86e..8d1d3d2 100644 --- a/app/styles.ts +++ b/app/styles.ts @@ -17,6 +17,7 @@ export const styles = StyleSheet.create({ textShadowColor: "rgba(0, 0, 0, 0.75)", textShadowOffset: { width: 2, height: 2 }, textShadowRadius: 5, + fontFamily: "Minecraft", }, gridContainer: { flex: 1, @@ -50,6 +51,7 @@ export const styles = StyleSheet.create({ textShadowColor: "rgba(0, 0, 0, 0.7)", textShadowOffset: { width: 1, height: 1 }, textShadowRadius: 3, + fontFamily: "Minecraft", }, // --- Coordinate Converter Specific Styles (Adjusted and New) --- @@ -86,6 +88,7 @@ export const styles = StyleSheet.create({ textShadowColor: "rgba(0, 0, 0, 0.7)", textShadowOffset: { width: 1, height: 1 }, textShadowRadius: 3, + fontFamily: "Minecraft", }, dimensionContainer: { width: "90%", @@ -105,6 +108,7 @@ export const styles = StyleSheet.create({ textShadowColor: "rgba(0, 0, 0, 0.5)", textShadowOffset: { width: 1, height: 1 }, textShadowRadius: 2, + fontFamily: "Minecraft", }, coordinatesRow: { flexDirection: "row", @@ -124,6 +128,7 @@ export const styles = StyleSheet.create({ textShadowColor: "rgba(0, 0, 0, 0.5)", textShadowOffset: { width: 1, height: 1 }, textShadowRadius: 2, + fontFamily: "Minecraft", }, coordTextInput: { backgroundColor: "rgba(58, 58, 58, 0.8)", @@ -136,8 +141,8 @@ export const styles = StyleSheet.create({ borderColor: "#555", width: "100%", textAlign: "center", + fontFamily: "Minecraft", }, - clearButton: { backgroundColor: "#d32f2f", paddingVertical: 12, @@ -149,8 +154,8 @@ export const styles = StyleSheet.create({ color: "#fff", fontSize: 16, fontWeight: "bold", + fontFamily: "Minecraft", }, - backButton: { alignSelf: "flex-start", marginTop: 10, @@ -165,5 +170,6 @@ export const styles = StyleSheet.create({ color: "#fff", fontSize: 16, fontWeight: "bold", + fontFamily: "Minecraft", }, }); \ No newline at end of file diff --git a/assets/fonts/Minecraft.ttf b/assets/fonts/Minecraft.ttf new file mode 100644 index 0000000..85c1472 Binary files /dev/null and b/assets/fonts/Minecraft.ttf differ diff --git a/package-lock.json b/package-lock.json index 0349278..c3ff4de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "expo-haptics": "~14.1.4", "expo-image": "~2.3.2", "expo-linking": "~7.1.7", - "expo-router": "~5.1.3", + "expo-router": "^5.1.3", "expo-splash-screen": "~0.30.10", "expo-status-bar": "~2.2.3", "expo-symbols": "~0.4.5", @@ -30,8 +30,8 @@ "react-native": "0.79.5", "react-native-gesture-handler": "~2.24.0", "react-native-reanimated": "~3.17.4", - "react-native-safe-area-context": "5.4.0", - "react-native-screens": "~4.11.1", + "react-native-safe-area-context": "^5.5.1", + "react-native-screens": "^4.11.1", "react-native-web": "~0.20.0", "react-native-webview": "13.13.5" }, @@ -10274,9 +10274,9 @@ } }, "node_modules/react-native-safe-area-context": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-5.4.0.tgz", - "integrity": "sha512-JaEThVyJcLhA+vU0NU8bZ0a1ih6GiF4faZ+ArZLqpYbL6j7R3caRqj+mE3lEtKCuHgwjLg3bCxLL1GPUJZVqUA==", + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-5.5.1.tgz", + "integrity": "sha512-WYxV+mm7SWuapVWxq2071lkQlDUXjSwcu7Cc2bUtNcF80/Bl0WnuWAZ8+tO46M38PclMrQIIgbv83BvDHJNQ5g==", "license": "MIT", "peerDependencies": { "react": "*", diff --git a/package.json b/package.json index c08728a..87c352f 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "expo-haptics": "~14.1.4", "expo-image": "~2.3.2", "expo-linking": "~7.1.7", - "expo-router": "~5.1.3", + "expo-router": "^5.1.3", "expo-splash-screen": "~0.30.10", "expo-status-bar": "~2.2.3", "expo-symbols": "~0.4.5", @@ -33,17 +33,17 @@ "react-native": "0.79.5", "react-native-gesture-handler": "~2.24.0", "react-native-reanimated": "~3.17.4", - "react-native-safe-area-context": "5.4.0", - "react-native-screens": "~4.11.1", + "react-native-safe-area-context": "^5.5.1", + "react-native-screens": "^4.11.1", "react-native-web": "~0.20.0", "react-native-webview": "13.13.5" }, "devDependencies": { "@babel/core": "^7.25.2", "@types/react": "~19.0.10", - "typescript": "~5.8.3", "eslint": "^9.25.0", - "eslint-config-expo": "~9.2.0" + "eslint-config-expo": "~9.2.0", + "typescript": "~5.8.3" }, "private": true }