Update HomeScreen and FeatureCard styles for improved localization and layout

- Changed badge text in HomeScreen to include localized time format.
- Enhanced description in HomeScreen's FeatureCard for clarity.
- Adjusted FeatureCard styles to use 'space-around' for better content distribution and set a max width for the description to improve readability.
This commit is contained in:
2025-08-20 13:18:50 +05:00
parent af9247fecc
commit 949748b49a
2 changed files with 4 additions and 3 deletions

View File

@@ -62,9 +62,9 @@ export default function HomeScreen() {
<ScrollView>
<View style={styles.innerContainer}>
<FeatureCard
badgeText="07:00"
badgeText="Şu gün, 07:00"
title="Aýşe metjidi"
description="Oteldan ugraýar"
description="Oteldan ugraýar, 1-njy etazda garaşmaly"
image={require('@/assets/images/aisha.jpg')}
/>

View File

@@ -51,7 +51,7 @@ const styles = StyleSheet.create({
},
content: {
flexDirection: 'row',
justifyContent: 'space-between',
justifyContent: 'space-around',
alignItems: 'center',
},
title: {
@@ -60,6 +60,7 @@ const styles = StyleSheet.create({
color: Colors.dark.text,
},
description: {
maxWidth: '80%',
fontSize: 14,
color: Colors.dark.textSecondary,
marginTop: 5,