Skip to content

Commit 97280db

Browse files
committed
theme to expo
1 parent c62e6b0 commit 97280db

File tree

261 files changed

+23957
-151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+23957
-151
lines changed

.eslintrc.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
root: true,
3+
extends: "@react-native-community",
4+
rules: {
5+
"prettier/prettier": "off",
6+
"react-native/no-inline-styles": "off",
7+
"quotes": "off",
8+
},
9+
};

.gitignore

+66-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
node_modules/
1+
22
.expo/
33
dist/
44
npm-debug.*
@@ -15,3 +15,68 @@ web-build/
1515

1616
# Temporary files created by Metro to check the health of the file watcher
1717
.metro-health-check*
18+
19+
# OSX
20+
#
21+
.DS_Store
22+
23+
# Xcode
24+
#
25+
build/
26+
*.pbxuser
27+
!default.pbxuser
28+
*.mode1v3
29+
!default.mode1v3
30+
*.mode2v3
31+
!default.mode2v3
32+
*.perspectivev3
33+
!default.perspectivev3
34+
xcuserdata
35+
*.xccheckout
36+
*.moved-aside
37+
DerivedData
38+
*.hmap
39+
*.ipa
40+
*.xcuserstate
41+
ios/.xcode.env.local
42+
43+
# Android/IntelliJ
44+
#
45+
build/
46+
.idea
47+
.gradle
48+
local.properties
49+
*.iml
50+
*.hprof
51+
.cxx/
52+
53+
# node.js
54+
#
55+
node_modules/
56+
yarn-error.log
57+
58+
# BUCK
59+
buck-out/
60+
\.buckd/
61+
*.keystore
62+
!debug.keystore
63+
64+
# fastlane
65+
#
66+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
67+
# screenshots whenever they are needed.
68+
# For more information about the recommended setup visit:
69+
# https://docs.fastlane.tools/best-practices/source-control/
70+
71+
**/fastlane/report.xml
72+
**/fastlane/Preview.html
73+
**/fastlane/screenshots
74+
**/fastlane/test_output
75+
76+
# Bundle artifact
77+
*.jsbundle
78+
79+
# Ruby / CocoaPods
80+
/ios/Pods/
81+
/vendor/bundle/
82+

App.js

+12-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
import { StatusBar } from 'expo-status-bar';
2-
import { StyleSheet, Text, View } from 'react-native';
1+
import React from "react";
2+
import FlashMessage from "react-native-flash-message";
3+
import "react-native-gesture-handler";
4+
import Routes from "./app/Navigations/Route";
5+
import FontProvider from "./app/components/FontsProvider";
36

4-
export default function App() {
7+
const App = () => {
58
return (
6-
<View style={styles.container}>
7-
<Text>Open up App.js to start working on your app!</Text>
8-
<StatusBar style="auto" />
9-
</View>
9+
<FontProvider>
10+
<Routes />
11+
<FlashMessage position="top" />
12+
</FontProvider>
1013
);
11-
}
14+
};
1215

13-
const styles = StyleSheet.create({
14-
container: {
15-
flex: 1,
16-
backgroundColor: '#fff',
17-
alignItems: 'center',
18-
justifyContent: 'center',
19-
},
20-
});
16+
export default App;

app.json

+6-7
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,26 @@
44
"slug": "korbo-joy",
55
"version": "1.0.0",
66
"orientation": "portrait",
7-
"icon": "./assets/icon.png",
7+
"icon": "./app/assets/images/logo.png",
88
"userInterfaceStyle": "light",
99
"splash": {
10-
"image": "./assets/splash.png",
10+
"image": "./app/assets/images/logo.png",
1111
"resizeMode": "contain",
1212
"backgroundColor": "#ffffff"
1313
},
14-
"assetBundlePatterns": [
15-
"**/*"
16-
],
14+
"assetBundlePatterns": ["**/*"],
1715
"ios": {
1816
"supportsTablet": true
1917
},
2018
"android": {
19+
"hermesEnabled": true,
2120
"adaptiveIcon": {
22-
"foregroundImage": "./assets/adaptive-icon.png",
21+
"foregroundImage": "./app/assets/images/logo.png",
2322
"backgroundColor": "#ffffff"
2423
}
2524
},
2625
"web": {
27-
"favicon": "./assets/favicon.png"
26+
"favicon": "./app/assets/images/logo.png"
2827
}
2928
}
3029
}

0 commit comments

Comments
 (0)