import React from 'react' import { ScrollView, StyleSheet, Image, View, Dimensions, Linking, Text } from 'react-native' import { Header } from '../components/Header' import { useCurrentPatientQuery } from '../services/patientApi' import { globalStyles } from '../styles/GlobalStyles' const WIDTH_MODAL = Dimensions.get('window').width const HEIGHT_MODAL = Dimensions.get('window').height export const Home = () => { const { data: patient } = useCurrentPatientQuery() const openDoc = () => { Linking.openURL('https://docs.icure.com/sdks/how-to/index') } return (
Well done! If you arrived here, it means you completed your registration / login successfully. Time to head to{' '} iCure Documentation{' '} to add some data! ) } const styles = StyleSheet.create({ homeScreen: { flex: 1, minHeight: HEIGHT_MODAL, width: WIDTH_MODAL, backgroundColor: '#FFFDFE', }, content: { alignItems: 'center', gap: 42, }, logo: { width: 250, height: 100, }, description: { gap: 8, }, heading: { fontSize: 24, fontFamily: 'Nunito-Bold', color: '#009290', textAlign: 'center', }, subtitle: { textAlign: 'center', }, link: { textDecorationLine: 'underline', color: '#009290', }, })