From e3473790c9344e99946777ff77f526402e67b758 Mon Sep 17 00:00:00 2001 From: Sadman Sakib Rabbani <61560265+ssrabbanii@users.noreply.github.com> Date: Sun, 19 Nov 2023 12:18:41 +0800 Subject: [PATCH] Delete App.js --- App.js | 264 --------------------------------------------------------- 1 file changed, 264 deletions(-) delete mode 100644 App.js diff --git a/App.js b/App.js deleted file mode 100644 index 5afef66f..00000000 --- a/App.js +++ /dev/null @@ -1,264 +0,0 @@ -const Stack = createNativeStackNavigator(); -import * as React from "react"; -import { NavigationContainer } from "@react-navigation/native"; -import { useFonts } from "expo-font"; -import HomePage2 from "./screens/HomePage2"; -import Frame from "./components/Frame"; -import Frame2 from "./components/Frame2"; -import FrameComponent from "./components/Frame20167777"; -import Frame1 from "./components/Frame1"; -import FrameComponent1 from "./components/Frame2016453534"; -import Frame3 from "./components/Frame3"; -import Navbar from "./components/Navbar"; -import GiftCardPayment from "./screens/GiftCardPayment"; -import GiftCardPayment1 from "./screens/GiftCardPayment"; -import PaymentSuccessful from "./components/PaymentSuccessful"; -import NormalPayment from "./screens/NormalPayment"; -import ProjectImpackFeedback from "./screens/ProjectImpackFeedback"; -import ProjectDescription from "./screens/ProjectDescription"; -import HomePage9 from "./screens/HomePage9"; -import HomePage8 from "./screens/HomePage8"; -import HomePage7 from "./screens/HomePage7"; -import HomePage5 from "./screens/HomePage5"; -import Itinerary from "./screens/Itinerary"; -import FrameScreen from "./screens/FrameScreen"; -import StartPage from "./screens/StartPage"; -import SustainableDevelopmentGoals from "./components/SustainableDevelopmentGoals"; -import SustainableDevelopmentGoals1 from "./components/SustainableDevelopmentGoals1"; -import SustainableDevelopmentGoals2 from "./components/SustainableDevelopmentGoals2"; -import SustainableDevelopmentGoals3 from "./components/SustainableDevelopmentGoals3"; -import SustainableDevelopmentGoals4 from "./components/SustainableDevelopmentGoals4"; -import SustainableDevelopmentGoals5 from "./components/SustainableDevelopmentGoals5"; -import SustainableDevelopmentGoals6 from "./components/SustainableDevelopmentGoals6"; -import SustainableDevelopmentGoals7 from "./components/SustainableDevelopmentGoals7"; -import SustainableDevelopmentGoals8 from "./components/SustainableDevelopmentGoals8"; -import SustainableDevelopmentGoals9 from "./components/SustainableDevelopmentGoals9"; -import SustainableDevelopmentGoals10 from "./components/SustainableDevelopmentGoals10"; -import SustainableDevelopmentGoals11 from "./components/SustainableDevelopmentGoals11"; -import SustainableDevelopmentGoals12 from "./components/SustainableDevelopmentGoals12"; -import SustainableDevelopmentGoals13 from "./components/SustainableDevelopmentGoals13"; -import SustainableDevelopmentGoals14 from "./components/SustainableDevelopmentGoals14"; -import SustainableDevelopmentGoals15 from "./components/SustainableDevelopmentGoals15"; -import SustainableDevelopmentGoals16 from "./components/SustainableDevelopmentGoals16"; -import HomePage10 from "./screens/HomePage10"; -import Payment from "./components/Payment"; -import CarconCredits from "./components/CarconCredits"; -import MapsButton from "./components/MapsButton"; -import HomeButton from "./components/HomeButton"; -import Group from "./screens/Group"; -import Group1 from "./screens/Group1"; -import Frame11 from "./screens/Frame1"; -import Frame31 from "./screens/Frame3"; -import Frame111 from "./components/Frame11"; -import HomePage81 from "./screens/HomePage81"; -import EcoShare from "./screens/EcoShare"; -import MIcon from "react-native-vector-icons/MaterialCommunityIcons"; -import { IconRegistry, ApplicationProvider } from "@ui-kitten/components"; -import * as eva from "@eva-design/eva"; - -import { createNativeStackNavigator } from "@react-navigation/native-stack"; -import { - View, - Text, - Pressable, - TouchableOpacity, - StyleSheet, -} from "react-native"; - -const App = () => { - const [hideSplashScreen, setHideSplashScreen] = React.useState(true); - - const [fontsLoaded, error] = useFonts({ - "Poppins-ExtraLight": require("./assets/fonts/Poppins-ExtraLight.ttf"), - "Poppins-Light": require("./assets/fonts/Poppins-Light.ttf"), - "Poppins-Bold": require("./assets/fonts/Poppins-Bold.ttf"), - "Overpass-Medium": require("./assets/fonts/Overpass-Medium.ttf"), - "Overpass-Bold": require("./assets/fonts/Overpass-Bold.ttf"), - "Overpass-Black": require("./assets/fonts/Overpass-Black.ttf"), - "Inter-Regular": require("./assets/fonts/Inter-Regular.ttf"), - "Inter-SemiBold": require("./assets/fonts/Inter-SemiBold.ttf"), - "Inter-Bold": require("./assets/fonts/Inter-Bold.ttf"), - "Roboto-Medium": require("./assets/fonts/Roboto-Medium.ttf"), - "Roboto-Bold": require("./assets/fonts/Roboto-Bold.ttf"), - }); - - function MaterialIcon({ name, style }) { - const { height, tintColor, ...iconStyle } = StyleSheet.flatten(style); - return ( - - ); - } - - const IconProvider = (name) => ({ - toReactElement: (props) => MaterialIcon({ name, ...props }), - }); - - function createIconsMap() { - return new Proxy( - {}, - { - get(target, name) { - return IconProvider(name); - }, - } - ); - } - const MaterialIconsPack = { - name: "material", - icons: createIconsMap(), - }; - - if (!fontsLoaded && !error) { - return null; - } - - return ( - <> - - - - {hideSplashScreen ? ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ) : null} - - - - ); -}; -export default App;