refactor screens, navigation & player for new architecture

Simplify Home, Activity, Profile, Complete, Player, and Program screens
to work with the new Supabase-driven data layer. Update root and tab
layouts. Add Settings, Terms, and Zone routes. Add OfflineBanner
component and progressStore. Update all player sub-components to use
the refreshed design system tokens.
This commit is contained in:
Millian Lamiaux
2026-04-21 21:50:48 +02:00
parent 04b83fc419
commit 5888aac08e
26 changed files with 1836 additions and 2772 deletions

View File

@@ -284,6 +284,20 @@ export default function PaywallScreen() {
onPress={handleRestore}
/>
<View style={styles.legalLinks}>
<Pressable onPress={() => router.push('/terms')}>
<StyledText size={11} color={colors.text.tertiary} style={{ textDecorationLine: 'underline' }}>
{t('paywall.termsLink')}
</StyledText>
</Pressable>
<StyledText size={11} color={colors.text.tertiary}> · </StyledText>
<Pressable onPress={() => router.push('/terms')}>
<StyledText size={11} color={colors.text.tertiary} style={{ textDecorationLine: 'underline' }}>
{t('paywall.privacyLink')}
</StyledText>
</Pressable>
</View>
<StyledText size={11} color={colors.text.tertiary} style={{ textAlign: 'center', lineHeight: 18, paddingHorizontal: SPACING[4] }}>
{t('paywall.terms')}
</StyledText>
@@ -437,5 +451,10 @@ function createStyles(colors: ThemeColors) {
lineHeight: 18,
paddingHorizontal: SPACING[4],
},
legalLinks: {
flexDirection: 'row',
alignItems: 'center',
gap: SPACING[1],
},
})
}