images.d.ts added
This commit is contained in:
1 parent
ae55c3f8d7
commit
6608c07fd4
65 files changed
+328
-6
No files matched your search
@@ -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
@@ -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 />;
|
||||
}
|
||||
Reference in new issue
Block a user