| 1 | import React from 'react';
|
| 2 | import { Linking, ScrollView, StyleSheet, TouchableOpacity } from 'react-native';
|
| 3 | import { Text } from '@/components/ui/Text';
|
| 4 | import { useThemeColor } from '@/hooks/use-theme-color';
|
| 5 |
|
| 6 | const WEBSITE_URL = 'https://usenexo.xyz';
|
| 7 |
|
| 8 | export default function TermsScreen() {
|
| 9 | const textColor = useThemeColor({}, 'text');
|
| 10 | const tintColor = useThemeColor({}, 'tint');
|
| 11 | const backgroundColor = useThemeColor({}, 'background');
|
| 12 |
|
| 13 | return (
|
| 14 | <ScrollView
|
| 15 | style={{ backgroundColor }}
|
| 16 | contentContainerStyle={styles.content}
|
| 17 | showsVerticalScrollIndicator={false}
|
| 18 | >
|
| 19 | <Text style={[styles.title, { color: textColor }]}>
|
| 20 | Termos e Condições
|
| 21 | </Text>
|
| 22 |
|
| 23 | <Text style={[styles.heading, { color: textColor }]}>
|
| 24 | Um app acadêmico
|
| 25 | </Text>
|
| 26 |
|
| 27 | <Text style={[styles.body, { color: textColor }]}>
|
| 28 | O nexo é um projeto acadêmico, desenvolvido como trabalho de conclusão de
|
| 29 | curso. Ele não é um produto comercial nem um dispositivo médico, e não
|
| 30 | substitui acompanhamento profissional. Em caso de crise, procure ajuda
|
| 31 | médica ou um serviço de emergência.
|
| 32 | </Text>
|
| 33 |
|
| 34 | <Text style={[styles.heading, { color: textColor }]}>
|
| 35 | Seus dados
|
| 36 | </Text>
|
| 37 |
|
| 38 | <Text style={[styles.body, { color: textColor }]}>
|
| 39 | Os registros que você faz aqui são seus. Usamos seus dados apenas para o
|
| 40 | app funcionar: montar o seu histórico, gerar a sua jornada de indicadores
|
| 41 | e enviar os lembretes que você pedir. Não vendemos nem compartilhamos seus
|
| 42 | dados com terceiros.
|
| 43 | </Text>
|
| 44 |
|
| 45 | <Text style={[styles.body, { color: textColor }]}>
|
| 46 | Você pode exportar tudo o que registrou a qualquer momento, e pode pedir a
|
| 47 | remoção da sua conta e dos seus dados. O código-fonte é auditável e aberto.
|
| 48 | </Text>
|
| 49 |
|
| 50 | <Text style={[styles.heading, { color: textColor }]}>
|
| 51 | Saiba mais
|
| 52 | </Text>
|
| 53 |
|
| 54 | <Text style={[styles.body, { color: textColor }]}>
|
| 55 | Para saber mais sobre o projeto, visite:
|
| 56 | </Text>
|
| 57 |
|
| 58 | <TouchableOpacity style={styles.linkWrapper}
|
| 59 | onPress={() => Linking.openURL(WEBSITE_URL)}>
|
| 60 | <Text style={[styles.link, { color: tintColor }]}>{WEBSITE_URL}</Text>
|
| 61 | </TouchableOpacity>
|
| 62 | </ScrollView>
|
| 63 | );
|
| 64 | }
|
| 65 |
|
| 66 | const styles = StyleSheet.create({
|
| 67 | content: {
|
| 68 | paddingHorizontal: 24,
|
| 69 | paddingTop: 16,
|
| 70 | paddingBottom: 40,
|
| 71 | },
|
| 72 | title: {
|
| 73 | fontSize: 24,
|
| 74 | fontWeight: 'bold',
|
| 75 | marginBottom: 16,
|
| 76 | },
|
| 77 | heading: {
|
| 78 | fontSize: 18,
|
| 79 | fontWeight: 'bold',
|
| 80 | marginTop: 8,
|
| 81 | marginBottom: 8,
|
| 82 | },
|
| 83 | body: {
|
| 84 | fontSize: 16,
|
| 85 | lineHeight: 24,
|
| 86 | marginBottom: 16,
|
| 87 | },
|
| 88 | linkWrapper: {
|
| 89 | marginBottom: 50
|
| 90 | },
|
| 91 | link: {
|
| 92 | fontSize: 16,
|
| 93 | textDecorationLine: 'underline',
|
| 94 | },
|
| 95 | });
|