Archived
1
0

feat: Структура проекта

This commit is contained in:
2025-10-20 12:07:37 +03:00
parent 27da4d8dd6
commit 3bd6547226
27 changed files with 3884 additions and 0 deletions

View File

@ -0,0 +1,18 @@
import "../global.css";
import { SplashScreen, Stack } from "expo-router";
import { StatusBar } from "expo-status-bar";
// SplashScreen.preventAutoHideAsync();
// export default function Layout() {
// return (
// <>
// <Stack>
// <Stack.Screen name="index" />
// </Stack>
// <StatusBar />
// </>
// );
// }

View File

@ -0,0 +1,21 @@
import { FC, useEffect } from "react";
import { Text } from "react-native";
import { SafeAreaView } from "react-native-safe-area-context";
import { StatusBar } from "expo-status-bar";
const Page: FC = () => {
useEffect(() => {
fetch(`${process.env.EXPO_PUBLIC_API_BASE_URL}/`).then(r => r.text()).then(console.log)
}, [])
return (
<SafeAreaView className="flex-1 items-center justify-center bg-gray-900">
<StatusBar style="light" />
<Text className="text-xl font-bold text-gray-100">
Welcome to p1ctos4ve!
</Text>
</SafeAreaView>
);
};
export default Page;