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:
@@ -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')}
|
||||
/>
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user