mirror of
https://github.com/mudabbir-ahmad/MAD-Treasure-Hunt.git
synced 2026-10-08 03:00:20 +00:00
45 lines
990 B
React
45 lines
990 B
React
import React from 'react';
|
|
import { View, Text, StyleSheet } from 'react-native';
|
|
import MemberFooterNavbar from '../components/MemberFooterNavbar';
|
|
import useMapViewModel from '../ViewModel/useMapViewModel';
|
|
|
|
const MapPage = () => {
|
|
const { points } = useMapViewModel();
|
|
|
|
return (
|
|
<View style={styles.wrapper}>
|
|
<View style={styles.container}>
|
|
<Text style={styles.title}>Map Page</Text>
|
|
<Text style={styles.body}>Map and hunt markers appear here.</Text>
|
|
<Text style={styles.body}>Points loaded: {points.length}</Text>
|
|
</View>
|
|
<MemberFooterNavbar visible />
|
|
</View>
|
|
);
|
|
};
|
|
|
|
const styles = StyleSheet.create({
|
|
wrapper: {
|
|
flex: 1,
|
|
backgroundColor: '#ffffff',
|
|
},
|
|
container: {
|
|
flex: 1,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
padding: 20,
|
|
gap: 6,
|
|
},
|
|
title: {
|
|
fontSize: 26,
|
|
fontWeight: '700',
|
|
color: '#111827',
|
|
},
|
|
body: {
|
|
color: '#4b5563',
|
|
},
|
|
});
|
|
|
|
export default MapPage;
|
|
|