import React from 'react'; import { View, Text, ScrollView, StyleSheet, SafeAreaView } from 'react-native'; const SPLITS = [ { km: 1, pace: '5:12' }, { km: 2, pace: '5:04' }, { km: 3, pace: '4:58' }, { km: 4, pace: '5:08' }, { km: 5, pace: '4:52' }, ]; export default function App() { return ( MORNING RUN ยท LIVE 5.24 kilometres 5:03avg pace 26:32time 312kcal Splits {SPLITS.map((sp) => ( KM {sp.km} {sp.pace} ))} ); } const s = StyleSheet.create({ safe: { flex: 1, backgroundColor: '#0F0A06' }, scroll: { padding: 22, paddingTop: 60 }, kicker: { color: '#FB923C', fontSize: 12, fontWeight: '700', letterSpacing: 2, textAlign: 'center' }, distance: { color: '#fff', fontSize: 92, fontWeight: '200', textAlign: 'center', marginTop: 6 }, unit: { color: '#A8825C', fontSize: 16, textAlign: 'center', marginTop: -6 }, stats: { flexDirection: 'row', justifyContent: 'space-around', backgroundColor: '#1A1109', borderRadius: 18, padding: 20, marginVertical: 26 }, stat: { alignItems: 'center' }, statN: { color: '#fff', fontSize: 22, fontWeight: '800' }, statL: { color: '#A8825C', fontSize: 12, marginTop: 4 }, section: { color: '#fff', fontSize: 18, fontWeight: '700', marginBottom: 14 }, row: { flexDirection: 'row', alignItems: 'center', marginBottom: 14 }, km: { color: '#C9A988', fontSize: 14, fontWeight: '700', width: 54 }, barTrack: { flex: 1, height: 8, borderRadius: 4, backgroundColor: '#221610', marginHorizontal: 12, overflow: 'hidden' }, barFill: { height: '100%', backgroundColor: '#FB923C', borderRadius: 4 }, pace: { color: '#fff', fontSize: 15, fontWeight: '700', width: 48, textAlign: 'right' }, });