images.d.ts added

This commit is contained in:
dimitar committed 2025-01-03 01:19:25 +01:00
1 parent ae55c3f8d7
commit 6608c07fd4
65 files changed
+328 -6

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ export default function Index() {
alignItems: "center",
}}
>
<Text className="font-bold text-lg mt-10">Welcome to mobile.mk</Text>
<Text className="font-bold my-10 uppercase">Welcome to mobile.mk</Text>
<Link href="/signin">SignIn</Link>
<Link href="/explore">explore</Link>
<Link href="/profile">profile</Link>
+18 -1
View File
@@ -1,6 +1,23 @@
import { Stack } from "expo-router";
import { SplashScreen, Stack } from "expo-router";
import { useFonts } from "expo-font";
import { useEffect } from "react";
// import * as SplashScreen from "expo-splash-screen";
import "./global.css";
export default function RootLayout() {
const [fontLoaded] = useFonts({
spaceMono: require("../assets/fonts/SpaceMono-Regular.ttf"),
});
useEffect(() => {
if (fontLoaded) {
SplashScreen.hideAsync();
}
}, [fontLoaded]);
if (!fontLoaded) {
return null;
}
return <Stack />;
}