-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a81bd07
commit 4b9350a
Showing
36 changed files
with
18,101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files | ||
|
||
# dependencies | ||
node_modules/ | ||
|
||
# Expo | ||
.expo/ | ||
dist/ | ||
web-build/ | ||
|
||
# Native | ||
*.orig.* | ||
*.jks | ||
*.p8 | ||
*.p12 | ||
*.key | ||
*.mobileprovision | ||
|
||
# Metro | ||
.metro-health-check* | ||
|
||
# debug | ||
npm-debug.* | ||
yarn-debug.* | ||
yarn-error.* | ||
|
||
# macOS | ||
.DS_Store | ||
*.pem | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# typescript | ||
*.tsbuildinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "npm", | ||
"script": "android", | ||
"problemMatcher": [], | ||
"label": "npm: android", | ||
"detail": "expo start --android" | ||
// bass source ~/.nvm/nvm.sh --no-use ';' nvm install --lts | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
import React from "react"; | ||
import { NavigationContainer } from "@react-navigation/native"; | ||
import { createStackNavigator } from "@react-navigation/stack"; | ||
import { PixelRatio, StyleSheet, Image, View, Text } from "react-native"; | ||
|
||
import * as Routes from "./src/routes/Index"; | ||
|
||
const Stack = createStackNavigator(); | ||
|
||
export default function App() { | ||
return ( | ||
<NavigationContainer> | ||
<Stack.Navigator | ||
initialRouteName="Login" | ||
screenOptions={{ | ||
headerShown: true, | ||
headerStyle: { | ||
backgroundColor: "#ACB6B8", | ||
}, | ||
headerTitleStyle: { | ||
fontSize: PixelRatio.getFontScale() * 24, | ||
fontWeight: "bold", | ||
}, | ||
}} | ||
> | ||
<Stack.Screen | ||
name="Login" | ||
component={Routes.Login} | ||
options={{ headerShown: false }} | ||
/> | ||
<Stack.Screen | ||
name="IndexDrawer" | ||
component={Routes.Routes} | ||
options={{ headerShown: false }} | ||
/> | ||
|
||
<Stack.Screen | ||
name="HistRelPrat" | ||
component={Routes.HistRelPrat} | ||
options={{ | ||
title: "Histórico de entregas", | ||
}} | ||
/> | ||
|
||
<Stack.Screen | ||
name="RelatorioEdit" | ||
component={Routes.RelatorioEdit} | ||
options={{ | ||
title: "Editar Relatório", | ||
}} | ||
/> | ||
|
||
<Stack.Screen | ||
name="EditPerfil" | ||
component={Routes.PerfilEdit} | ||
options={{ | ||
title: "Editar Perfil", | ||
}} | ||
/> | ||
|
||
<Stack.Screen | ||
name="CursoFeedback" | ||
component={Routes.CursoFeedback} | ||
options={{ | ||
title: "Editar Perfil", | ||
}} | ||
/> | ||
|
||
<Stack.Screen | ||
name="CursoHistorico" | ||
component={Routes.CursoHistorico} | ||
options={{ | ||
title: "Editar Perfil", | ||
}} | ||
/> | ||
</Stack.Navigator> | ||
</NavigationContainer> | ||
); | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
title: { | ||
fontSize: PixelRatio.getFontScale() * 24, | ||
fontWeight: "bold", | ||
justifyContent: "center", | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"expo": { | ||
"name": "mobile", | ||
"slug": "mobile", | ||
"version": "1.0.0", | ||
"orientation": "portrait", | ||
"icon": "./assets/icon.png", | ||
"userInterfaceStyle": "light", | ||
"splash": { | ||
"image": "./assets/splash.png", | ||
"resizeMode": "contain", | ||
"backgroundColor": "#ffffff" | ||
}, | ||
"ios": { | ||
"supportsTablet": true | ||
}, | ||
"android": { | ||
"adaptiveIcon": { | ||
"foregroundImage": "./assets/adaptive-icon.png", | ||
"backgroundColor": "#ffffff" | ||
} | ||
}, | ||
"web": { | ||
"favicon": "./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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = function(api) { | ||
api.cache(true); | ||
return { | ||
presets: ['babel-preset-expo'], | ||
plugins: ['react-native-reanimated/plugin'], | ||
}; | ||
}; |
Oops, something went wrong.