Open Jorge-LSO opened 2 months ago
import { StatusBar } from 'expo-status-bar'; import { StyleSheet, Text, View, SafeAreaView, ScrollView,Image } from 'react-native'; import { useFonts } from 'expo-font'; import {useEffect} from 'react'; import * as SplashScreen from 'expo-splash-screen';
import Ingles from './pagina/Ingles'; import Espanhol from './pagina/espanhol'; import Perfil from './tab/Perfil';
import face from './assets/facebook.png'; import google from './assets/google.png';
SplashScreen.preventAutoHideAsync();
export default function App() { const [loaded, error] = useFonts({ 'font1': require('./font/NewAmsterdam-Regular.ttf'), 'font2': require('./font/Comfortaa-VariableFont_wght.ttf'), });
useEffect(() => { if (loaded || error) { SplashScreen.hideAsync(); } }, [loaded, error]);
if (!loaded && !error) { return null; }
return (
); }
const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: '#fff', paddingTop: 40, padding: 10, }, bfac: { borderColor: '#0081fe', borderWidth: 1, paddingTop: 15, flexDirection: 'row', margin: 5, alignItems: 'center', width: 200, padding: 5, borderRadius: 5, justifyContent: 'center', }, bgoo: { borderWidth: 1, borderColor: '#0081fe', paddingTop: 15, width: 200, flexDirection: 'row', margin: 5, padding: 5, borderRadius: 5, justifyContent: 'center', }, image: { width: 30, height: 30, }, titu: { fontSize: 30, fontFamily: 'font1', }, titf: { fontSize: 20, alignItems: 'center', fontFamily: 'font2', color: '#0081fe', paddingLeft: 4, }, tit: { fontSize: 20, alignItems: 'center', fontFamily: 'font2', }, page: { justifyContent: 'center', alignItems: 'center', }, JS: { alignItems: 'center', justifyContent: 'center', } });
Aparentemente o GitHub está apagando parte do código, estarei anexando o arquivo do código nas evidências
import { StatusBar } from 'expo-status-bar'; import { StyleSheet, Text, View, SafeAreaView, ScrollView,Image } from 'react-native'; import { useFonts } from 'expo-font'; import {useEffect} from 'react'; import * as SplashScreen from 'expo-splash-screen';
import Ingles from './pagina/Ingles'; import Espanhol from './pagina/espanhol'; import Perfil from './tab/Perfil';
import face from './assets/facebook.png'; import google from './assets/google.png';
SplashScreen.preventAutoHideAsync();
export default function App() { const [loaded, error] = useFonts({ 'font1': require('./font/NewAmsterdam-Regular.ttf'), 'font2': require('./font/Comfortaa-VariableFont_wght.ttf'), });
useEffect(() => { if (loaded || error) { SplashScreen.hideAsync(); } }, [loaded, error]);
if (!loaded && !error) { return null; }
return (
); }
const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: '#fff', paddingTop: 40, padding: 10, }, bfac: { borderColor: '#0081fe', borderWidth: 1, paddingTop: 15, flexDirection: 'row', margin: 5, alignItems: 'center', width: 200, padding: 5, borderRadius: 5, justifyContent: 'center', }, bgoo: { borderWidth: 1, borderColor: '#0081fe', paddingTop: 15, width: 200, flexDirection: 'row', margin: 5, padding: 5, borderRadius: 5, justifyContent: 'center', }, image: { width: 30, height: 30, }, titu: { fontSize: 30, fontFamily: 'font1', }, titf: { fontSize: 20, alignItems: 'center', fontFamily: 'font2', color: '#0081fe', paddingLeft: 4, }, tit: { fontSize: 20, alignItems: 'center', fontFamily: 'font2', }, page: { justifyContent: 'center', alignItems: 'center', }, JS: { alignItems: 'center', justifyContent: 'center', } });