2025-07-05 17:14:01 +02:00
|
|
|
import * as Font from "expo-font";
|
2025-07-05 10:28:22 +02:00
|
|
|
import { Stack } from "expo-router";
|
|
|
|
|
|
|
|
export default function RootLayout() {
|
2025-07-05 17:14:01 +02:00
|
|
|
const [fontsLoaded] = Font.useFonts({
|
|
|
|
Minecraft: require("../assets/fonts/Minecraft.ttf"),
|
|
|
|
});
|
|
|
|
|
|
|
|
if (!fontsLoaded) {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2025-07-05 13:10:10 +02:00
|
|
|
return (
|
|
|
|
<Stack>
|
|
|
|
<Stack.Screen name="index" options={{ headerShown: false }} />
|
2025-07-05 15:28:47 +02:00
|
|
|
<Stack.Screen name="nether-portal-calculator" options={{ headerShown: false }} />
|
2025-07-05 17:13:34 +02:00
|
|
|
<Stack.Screen name="todo" options={{ headerShown: false }} />
|
2025-07-05 13:10:10 +02:00
|
|
|
</Stack>
|
|
|
|
);
|
2025-07-05 17:13:34 +02:00
|
|
|
}
|