Homepage and container improvements

This commit is contained in:
Keannu Christian Bernasol 2023-07-07 15:37:05 +08:00
parent 9e8317e7c0
commit d7710478b6
3 changed files with 16 additions and 23 deletions

View file

@ -52,13 +52,17 @@ export default function Home() {
return <MapView style={styles.map} initialRegion={ustpCoords} />;
} else {
return (
<Text style={styles.text_white_small}>
You must be within 1km of USTP to use Stud-E{"\n"}
{dist}km away from USTP {"\n"}
User Location:
{"\n"} Latitude {location.coords.latitude}
{"\n"} Longitude {location.coords.longitude}
</Text>
<View>
<Text style={styles.text_white_medium}>
You must be within 1km of USTP to use Stud-E{"\n"}
</Text>
<Text style={styles.text_white_small}>
{dist}km away from USTP {"\n"}
User Location:
{"\n"} Latitude {location.coords.latitude}
{"\n"} Longitude {location.coords.longitude}
</Text>
</View>
);
}
} else {