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>
|
<ScrollView>
|
||||||
<View style={styles.innerContainer}>
|
<View style={styles.innerContainer}>
|
||||||
<FeatureCard
|
<FeatureCard
|
||||||
badgeText="07:00"
|
badgeText="Şu gün, 07:00"
|
||||||
title="Aýşe metjidi"
|
title="Aýşe metjidi"
|
||||||
description="Oteldan ugraýar"
|
description="Oteldan ugraýar, 1-njy etazda garaşmaly"
|
||||||
image={require('@/assets/images/aisha.jpg')}
|
image={require('@/assets/images/aisha.jpg')}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
content: {
|
content: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-around',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
@@ -60,6 +60,7 @@ const styles = StyleSheet.create({
|
|||||||
color: Colors.dark.text,
|
color: Colors.dark.text,
|
||||||
},
|
},
|
||||||
description: {
|
description: {
|
||||||
|
maxWidth: '80%',
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
color: Colors.dark.textSecondary,
|
color: Colors.dark.textSecondary,
|
||||||
marginTop: 5,
|
marginTop: 5,
|
||||||
|
|||||||
Reference in New Issue
Block a user