From 25344d9c63f4e84f90fc9636ac7187bce219c917 Mon Sep 17 00:00:00 2001 From: Anthony RICHARD Date: Thu, 9 Jan 2025 20:49:20 +0100 Subject: [PATCH] Clear expo project --- .idea/.gitignore | 13 - .idea/indexLayout.xml | 8 - .idea/misc.xml | 10 - .idea/vcs.xml | 6 - App.tsx | 117 - README.md | 58 +- ReactNative/.idea/ReactNative.iml | 12 - ReactNative/.idea/modules.xml | 8 - ReactNative/.idea/vcs.xml | 6 - ReactNative/.idea/workspace.xml | 72 - TO REMOVE LATER/app/(tabs)/_layout.tsx | 45 + TO REMOVE LATER/app/(tabs)/explore.tsx | 109 + TO REMOVE LATER/app/(tabs)/index.tsx | 74 + TO REMOVE LATER/app/+not-found.tsx | 32 + TO REMOVE LATER/app/_layout.tsx | 39 + TO REMOVE LATER/components/Collapsible.tsx | 45 + TO REMOVE LATER/components/ExternalLink.tsx | 24 + TO REMOVE LATER/components/HapticTab.tsx | 18 + TO REMOVE LATER/components/HelloWave.tsx | 40 + .../components/ParallaxScrollView.tsx | 82 + TO REMOVE LATER/components/ThemedText.tsx | 60 + TO REMOVE LATER/components/ThemedView.tsx | 14 + .../components/__tests__/ThemedText-test.tsx | 10 + .../__snapshots__/ThemedText-test.tsx.snap | 24 + .../components/ui/IconSymbol.ios.tsx | 32 + TO REMOVE LATER/components/ui/IconSymbol.tsx | 43 + .../components/ui/TabBarBackground.ios.tsx | 22 + .../components/ui/TabBarBackground.tsx | 6 + TO REMOVE LATER/constants/Colors.ts | 26 + TO REMOVE LATER/hooks/useColorScheme.ts | 1 + TO REMOVE LATER/hooks/useColorScheme.web.ts | 21 + TO REMOVE LATER/hooks/useThemeColor.ts | 21 + TO REMOVE LATER/scripts/reset-project.js | 84 + app.json | 39 +- app/_layout.tsx | 12 + app/index.tsx | 9 + app/src/components/ui/button/index.tsx | 434 + .../ui/gluestack-ui-provider/config.ts | 309 + .../ui/gluestack-ui-provider/index.tsx | 48 + app/src/components/ui/icon/index.tsx | 1587 ++ app/src/components/ui/icon/index.web.tsx | 1566 ++ assets/fonts/SpaceMono-Regular.ttf | Bin 0 -> 93252 bytes .../images}/adaptive-icon.png | Bin {src/assets => assets/images}/favicon.png | Bin {src/assets => assets/images}/icon.png | Bin assets/images/partial-react-logo.png | Bin 0 -> 5075 bytes assets/images/react-logo.png | Bin 0 -> 6341 bytes assets/images/react-logo@2x.png | Bin 0 -> 14225 bytes assets/images/react-logo@3x.png | Bin 0 -> 21252 bytes assets/images/splash-icon.png | Bin 0 -> 17547 bytes babel.config.js | 5 +- expo-env.d.ts | 3 + global.css | 3 + metro.config.js | 6 + nativewind-env.d.ts | 1 + package-lock.json | 21459 ++++++---------- package.json | 68 +- src/assets/Icons/DocumentData.tsx | 13 - src/assets/Icons/Gradient.tsx | 53 - src/assets/Icons/LightbulbPerson.tsx | 13 - src/assets/Icons/Logo.tsx | 49 - src/assets/Icons/Rocket.tsx | 13 - src/assets/logo.svg | 14 - src/assets/splash.png | Bin 47346 -> 0 bytes src/assets/thirteen.svg | 1 - tailwind.config.js | 192 + tsconfig.json | 14 +- 67 files changed, 13378 insertions(+), 13715 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/indexLayout.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/vcs.xml delete mode 100644 App.tsx delete mode 100644 ReactNative/.idea/ReactNative.iml delete mode 100644 ReactNative/.idea/modules.xml delete mode 100644 ReactNative/.idea/vcs.xml delete mode 100644 ReactNative/.idea/workspace.xml create mode 100644 TO REMOVE LATER/app/(tabs)/_layout.tsx create mode 100644 TO REMOVE LATER/app/(tabs)/explore.tsx create mode 100644 TO REMOVE LATER/app/(tabs)/index.tsx create mode 100644 TO REMOVE LATER/app/+not-found.tsx create mode 100644 TO REMOVE LATER/app/_layout.tsx create mode 100644 TO REMOVE LATER/components/Collapsible.tsx create mode 100644 TO REMOVE LATER/components/ExternalLink.tsx create mode 100644 TO REMOVE LATER/components/HapticTab.tsx create mode 100644 TO REMOVE LATER/components/HelloWave.tsx create mode 100644 TO REMOVE LATER/components/ParallaxScrollView.tsx create mode 100644 TO REMOVE LATER/components/ThemedText.tsx create mode 100644 TO REMOVE LATER/components/ThemedView.tsx create mode 100644 TO REMOVE LATER/components/__tests__/ThemedText-test.tsx create mode 100644 TO REMOVE LATER/components/__tests__/__snapshots__/ThemedText-test.tsx.snap create mode 100644 TO REMOVE LATER/components/ui/IconSymbol.ios.tsx create mode 100644 TO REMOVE LATER/components/ui/IconSymbol.tsx create mode 100644 TO REMOVE LATER/components/ui/TabBarBackground.ios.tsx create mode 100644 TO REMOVE LATER/components/ui/TabBarBackground.tsx create mode 100644 TO REMOVE LATER/constants/Colors.ts create mode 100644 TO REMOVE LATER/hooks/useColorScheme.ts create mode 100644 TO REMOVE LATER/hooks/useColorScheme.web.ts create mode 100644 TO REMOVE LATER/hooks/useThemeColor.ts create mode 100644 TO REMOVE LATER/scripts/reset-project.js create mode 100644 app/_layout.tsx create mode 100644 app/index.tsx create mode 100644 app/src/components/ui/button/index.tsx create mode 100644 app/src/components/ui/gluestack-ui-provider/config.ts create mode 100644 app/src/components/ui/gluestack-ui-provider/index.tsx create mode 100644 app/src/components/ui/icon/index.tsx create mode 100644 app/src/components/ui/icon/index.web.tsx create mode 100644 assets/fonts/SpaceMono-Regular.ttf rename {src/assets => assets/images}/adaptive-icon.png (100%) rename {src/assets => assets/images}/favicon.png (100%) rename {src/assets => assets/images}/icon.png (100%) create mode 100644 assets/images/partial-react-logo.png create mode 100644 assets/images/react-logo.png create mode 100644 assets/images/react-logo@2x.png create mode 100644 assets/images/react-logo@3x.png create mode 100644 assets/images/splash-icon.png create mode 100644 expo-env.d.ts create mode 100644 global.css create mode 100644 metro.config.js create mode 100644 nativewind-env.d.ts delete mode 100644 src/assets/Icons/DocumentData.tsx delete mode 100644 src/assets/Icons/Gradient.tsx delete mode 100644 src/assets/Icons/LightbulbPerson.tsx delete mode 100644 src/assets/Icons/Logo.tsx delete mode 100644 src/assets/Icons/Rocket.tsx delete mode 100644 src/assets/logo.svg delete mode 100644 src/assets/splash.png delete mode 100644 src/assets/thirteen.svg create mode 100644 tailwind.config.js diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 1435b33..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Rider ignored files -/contentModel.xml -/projectSettingsUpdater.xml -/modules.xml -/.idea.ReactNative.iml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/indexLayout.xml b/.idea/indexLayout.xml deleted file mode 100644 index 7b08163..0000000 --- a/.idea/indexLayout.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 69af871..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1dd..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/App.tsx b/App.tsx deleted file mode 100644 index 6d5878a..0000000 --- a/App.tsx +++ /dev/null @@ -1,117 +0,0 @@ -import { config } from '@gluestack-ui/config'; -import { Box, GluestackUIProvider, Text } from '@gluestack-ui/themed'; -import { ScrollView } from 'react-native'; -import Gradient from './src/assets/Icons/Gradient'; -import DocumentData from './src//assets/Icons/DocumentData'; -import LightBulbPerson from './src//assets/Icons/LightbulbPerson'; -import Rocket from './src//assets/Icons/Rocket'; -import Logo from './src//assets/Icons/Logo'; -export default function App() { - return ( - - - - ); -} -const Home = () => { - return ; -}; -const FeatureCard = ({ iconSvg: IconSvg, name, desc }: any) => { - return ( - - - {/* document */} - - - - - {name} - - - - {desc} - - - ); -}; -const Container = () => { - return ( - - - - - - - - - Get started by editing - - - App.tsx - - - - - - - - - - - - - - ); -}; diff --git a/README.md b/README.md index 7fdc8a8..cd4feb8 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,50 @@ -This is a [Next.js](https://github.com/expo/expo) + [Gluestack-ui](https://ui.gluestack.io/) project template bootstrapped with [`create-expo-app`](https://docs.expo.dev/get-started/create-a-project/). +# Welcome to your Expo app šŸ‘‹ -## Getting Started +This is an [Expo](https://expo.dev) project created with [`create-expo-app`](https://www.npmjs.com/package/create-expo-app). -First, run the development server: +## Get started + +1. Install dependencies + + ```bash + npm install + ``` + +2. Start the app + + ```bash + npx expo start + ``` + +In the output, you'll find options to open the app in a + +- [development build](https://docs.expo.dev/develop/development-builds/introduction/) +- [Android emulator](https://docs.expo.dev/workflow/android-studio-emulator/) +- [iOS simulator](https://docs.expo.dev/workflow/ios-simulator/) +- [Expo Go](https://expo.dev/go), a limited sandbox for trying out app development with Expo + +You can start developing by editing the files inside the **app** directory. This project uses [file-based routing](https://docs.expo.dev/router/introduction). + +## Get a fresh project + +When you're ready, run: ```bash -# For web -yarn web -# For ios -yarn ios -# For android -yarn android +npm run reset-project ``` -You can start editing the page by modifying `App.tsx`. The page auto-updates as you edit the file. +This command will move the starter code to the **app-example** directory and create a blank **app** directory where you can start developing. -This project uses [`@gluestack-ui`](https://ui.gluestack.io/docs/overview/introduction) library that provides optionally styled and accessible components. These components are designed for easy integration into applications developed with React and React Native. +## Learn more +To learn more about developing your project with Expo, look at the following resources: -## Learn More +- [Expo documentation](https://docs.expo.dev/): Learn fundamentals, or go into advanced topics with our [guides](https://docs.expo.dev/guides). +- [Learn Expo tutorial](https://docs.expo.dev/tutorial/introduction/): Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web. -To learn more about Expo + Gluestack UI template, take a look at the following resources: +## Join the community -- [Expo Documentation](https://github.com/expo/expo) - learn about Expo features and API. -- [Gluestack UI Documenatation](https://ui.gluestack.io/docs/overview/introduction) - learn about core concepts and architecture of gluestack-ui. -- [Gluestack Style Documentaion](https://style.gluestack.io/docs/overview/introduction) - learn about the universal styling library that is used in Gluestack-ui +Join our community of developers creating universal apps. -You can check out: -- [the gluestack-ui GitHub repository](https://github.com/gluestack/gluestack-ui) -- [the gluestack-style GitHub repository](https://github.com/gluestack/gluestack-style) -Your feedback and contributions are welcome! +- [Expo on GitHub](https://github.com/expo/expo): View our open source platform and contribute. +- [Discord community](https://chat.expo.dev): Chat with Expo users and ask questions. diff --git a/ReactNative/.idea/ReactNative.iml b/ReactNative/.idea/ReactNative.iml deleted file mode 100644 index 24643cc..0000000 --- a/ReactNative/.idea/ReactNative.iml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/ReactNative/.idea/modules.xml b/ReactNative/.idea/modules.xml deleted file mode 100644 index 3501bd6..0000000 --- a/ReactNative/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/ReactNative/.idea/vcs.xml b/ReactNative/.idea/vcs.xml deleted file mode 100644 index 35eb1dd..0000000 --- a/ReactNative/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/ReactNative/.idea/workspace.xml b/ReactNative/.idea/workspace.xml deleted file mode 100644 index 52a6efc..0000000 --- a/ReactNative/.idea/workspace.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - -