feat: Add Minecraft font
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
de79281681
commit
647e3740dd
6 changed files with 24 additions and 17 deletions
|
@ -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 (
|
||||
<View style={styles.container}>
|
||||
<Text style={styles.title}>Minecraft Tools</Text>
|
||||
<View style={styles.appContainer}>
|
||||
<Text style={styles.mainTitle}>Minecraft Tools</Text>
|
||||
|
||||
<View style={styles.gridContainer}>
|
||||
{/* Coordinate Converter */}
|
||||
|
|
|
@ -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",
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue