diff --git a/Project Files/14. Apple App of the day/#2. Opening Animation/App.js b/Project Files/14. Apple App of the day/#2. Opening Animation/App.js new file mode 100644 index 0000000..3680f60 --- /dev/null +++ b/Project Files/14. Apple App of the day/#2. Opening Animation/App.js @@ -0,0 +1,45 @@ +import React from 'react'; +import { StyleSheet, Text, View, ScrollView, Image, TouchableWithoutFeedback, Animated, Dimensions, SafeAreaView } from 'react-native'; + +let SCREEN_WIDTH = Dimensions.get('window').width +let SCREEN_HEIGHT = Dimensions.get('window').height +var images = [ + { id: 1, src: require('./assets/1.jpg') }, + { id: 2, src: require('./assets/2.jpg') }, + { id: 3, src: require('./assets/3.jpg') }, + { id: 4, src: require('./assets/4.jpg') }, + +] + +export default class App extends React.Component { + render() { + return ( + + + {images.map(image => { + return ( + + + + + + ) + })} + + + ); + } +} + +const styles = StyleSheet.create({ + container: { + flex: 1, + backgroundColor: '#fff', + alignItems: 'center', + justifyContent: 'center', + }, +}); diff --git a/Project Files/14. Apple App of the day/#2. Opening Animation/app.json b/Project Files/14. Apple App of the day/#2. Opening Animation/app.json new file mode 100644 index 0000000..c3a7de8 --- /dev/null +++ b/Project Files/14. Apple App of the day/#2. Opening Animation/app.json @@ -0,0 +1,27 @@ +{ + "expo": { + "name": "apple-app-of-the-day-youtube", + "description": "This project is really great.", + "slug": "apple-app-of-the-day-youtube", + "privacy": "public", + "sdkVersion": "28.0.0", + "platforms": ["ios", "android"], + "version": "1.0.0", + "orientation": "portrait", + "icon": "./assets/icon.png", + "splash": { + "image": "./assets/splash.png", + "resizeMode": "contain", + "backgroundColor": "#ffffff" + }, + "updates": { + "fallbackToCacheTimeout": 0 + }, + "assetBundlePatterns": [ + "**/*" + ], + "ios": { + "supportsTablet": true + } + } +} diff --git a/Project Files/14. Apple App of the day/#2. Opening Animation/assets/1.jpg b/Project Files/14. Apple App of the day/#2. Opening Animation/assets/1.jpg new file mode 100644 index 0000000..d334287 Binary files /dev/null and b/Project Files/14. Apple App of the day/#2. Opening Animation/assets/1.jpg differ diff --git a/Project Files/14. Apple App of the day/#2. Opening Animation/assets/2.jpg b/Project Files/14. Apple App of the day/#2. Opening Animation/assets/2.jpg new file mode 100644 index 0000000..9298a08 Binary files /dev/null and b/Project Files/14. Apple App of the day/#2. Opening Animation/assets/2.jpg differ diff --git a/Project Files/14. Apple App of the day/#2. Opening Animation/assets/3.jpg b/Project Files/14. Apple App of the day/#2. Opening Animation/assets/3.jpg new file mode 100644 index 0000000..aa9c4ec Binary files /dev/null and b/Project Files/14. Apple App of the day/#2. Opening Animation/assets/3.jpg differ diff --git a/Project Files/14. Apple App of the day/#2. Opening Animation/assets/4.jpg b/Project Files/14. Apple App of the day/#2. Opening Animation/assets/4.jpg new file mode 100644 index 0000000..0d15251 Binary files /dev/null and b/Project Files/14. Apple App of the day/#2. Opening Animation/assets/4.jpg differ diff --git a/Project Files/14. Apple App of the day/#2. Opening Animation/assets/icon.png b/Project Files/14. Apple App of the day/#2. Opening Animation/assets/icon.png new file mode 100644 index 0000000..3f5bbc0 Binary files /dev/null and b/Project Files/14. Apple App of the day/#2. Opening Animation/assets/icon.png differ diff --git a/Project Files/14. Apple App of the day/#2. Opening Animation/assets/splash.png b/Project Files/14. Apple App of the day/#2. Opening Animation/assets/splash.png new file mode 100644 index 0000000..4f9ade6 Binary files /dev/null and b/Project Files/14. Apple App of the day/#2. Opening Animation/assets/splash.png differ diff --git a/Project Files/14. Apple App of the day/#2. Opening Animation/package.json b/Project Files/14. Apple App of the day/#2. Opening Animation/package.json new file mode 100644 index 0000000..b880de2 --- /dev/null +++ b/Project Files/14. Apple App of the day/#2. Opening Animation/package.json @@ -0,0 +1,9 @@ +{ + "main": "node_modules/expo/AppEntry.js", + "private": true, + "dependencies": { + "expo": "^28.0.0", + "react": "16.3.1", + "react-native": "https://github.com/expo/react-native/archive/sdk-28.0.0.tar.gz" + } +}