Skip to content

Commit

Permalink
Initial baidal
Browse files Browse the repository at this point in the history
  • Loading branch information
Loverofart committed Apr 30, 2021
1 parent 2a7335e commit 21a224d
Show file tree
Hide file tree
Showing 48 changed files with 22,663 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
node_modules/**/*
.expo/*
npm-debug.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision
*.orig.*
web-build/

# macOS
.DS_Store
27 changes: 27 additions & 0 deletions App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import AppLoading from 'expo-app-loading'
import * as Font from 'expo-font'
import AppNavigator from './src/navigations/Navigator'

export default class App extends React.Component{
state={
isFontLoaded:false
}
async componentDidMount(){
await Font.loadAsync({
"Bold":require('./src/fonts/Montserrat-ExtraBold.otf'),
"Medium":require('./src/fonts/Montserrat-Medium.otf'),
"Regular":require('./src/fonts/Montserrat-Regular.otf'),
})
this.setState({isFontLoaded:true})
}
render(){
return (
(this.state.isFontLoaded === true)?
(<AppNavigator/>):(<AppLoading/>)
);
}

}
32 changes: 32 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"expo": {
"name": "DoneWithIt",
"slug": "DoneWithIt",
"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
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
}
},
"web": {
"favicon": "./assets/favicon.png"
}
}
}
Binary file added assets/adaptive-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
};
};
Loading

0 comments on commit 21a224d

Please sign in to comment.