import * as React from 'react'; import { StyleSheet, View, Text, Image, TouchableOpacity, Dimensions, Platform, } from 'react-native'; import { normalize } from '../../utils/normalize'; const { width: SCREEN_WIDTH, height: SCREEN_HEIGHT } = Dimensions.get('window'); const scaleW = SCREEN_WIDTH / 320; const scaleH = SCREEN_HEIGHT / 920; export default function InstructionsView({ onVerify, onBack, }: { onVerify(): void; onBack(): void; }) { return ( onBack()} style={styles.navigationBar}> Reconhecimento Facial Isso garante que você é você mesmo. Escolha um ambiente bem iluminado. Não use acessórios como bonés, máscaras e afins. onVerify()} style={styles.nextBtn}> Continuar ); } const styles = StyleSheet.create({ container: { flex: 1, alignItems: 'center', backgroundColor: '#1648CD', width: '100%', justifyContent: 'center', }, rowInstructions: { width: '100%', flex: 2, alignItems: 'center', flexDirection: 'row', }, viewBtn: { width: '90%', flex: 1, justifyContent: 'center', alignItems: 'center', }, navigationBar: { width: '100%', }, intructions: { width: '90%', flex: 1.5, }, boxIcon: { width: 64, height: 64, alignItems: 'center', justifyContent: 'center', borderColor: '#E0E0E0', borderWidth: 1, backgroundColor: '#F5f5f5', borderRadius: 100, }, boxText: { paddingLeft: 20, width: '75%', color: '#000000', fontSize: normalize(25, scaleW), }, imgContainer: { flex: 1, width: '90%', alignItems: 'center', justifyContent: 'flex-end', }, title: { marginTop: 30, marginLeft: 20, width: '90%', fontSize: normalize(29, scaleW), fontWeight: 'bold', /* fontFamily: 'Ubuntu-Bold', */ color: '#1E1E1E', }, nextBtn: { width: 300, backgroundColor: '#05D758', alignItems: 'center', fontWeight: 900, borderRadius: 50, marginTop: 0, }, nextText: { /* fontFamily: 'Ubuntu-Medium', */ fontSize: normalize(25, scaleW), margin: 13, color: '#000000', }, description_one: { textAlign: 'center', color: '#FFFFFF', /* fontFamily: 'Ubuntu-Bold', */ fontSize: 30, marginLeft: 60, marginRight: 60, marginTop: 10, }, boxInfo: { width: '100%', paddingTop: 15, alignItems: 'center', backgroundColor: '#037eee', }, boxBtn: { width: '100%', flex: Platform.OS === 'ios' ? 1 : 1.3, borderTopLeftRadius: 35, borderTopRightRadius: 35, height: '100%', alignItems: 'center', backgroundColor: '#FFFFFF', }, boxImg: { width: '100%', flex: 1, height: '100%', alignItems: 'center', }, subtitle: { /* fontFamily: 'Ubuntu-Regular', */ fontSize: normalize(20, scaleW), marginLeft: 20, width: '90%', color: '#666666', paddingBottom: 25, }, iconTop: { marginTop: 60, marginLeft: 20, width: 55, height: 55, }, leftArrow: { marginTop: normalize(70, scaleH), marginLeft: 20, width: normalize(25, scaleW), height: normalize(35, scaleH), }, imgFace: { height: '100%', flex: 1, aspectRatio: 4 / 4.4, }, waveTop: { flex: 1, width: '100%', height: 400, }, box: { width: 60, height: 60, marginVertical: 20, }, });