diff --git a/app/(tabs)/services.tsx b/app/(tabs)/services.tsx index ef7e149..bfea57a 100644 --- a/app/(tabs)/services.tsx +++ b/app/(tabs)/services.tsx @@ -4,40 +4,17 @@ import i18n from '@/i18n'; import { FontAwesome5 } from '@expo/vector-icons'; import ServiceCard from '@/components/ServiceCard'; -const services = [ - { - key: 'sarToTmt', - title: 'Manat kursy', - icon: , - }, - { - key: 'hotelBusinessCard', - title: 'Oteliň wizitkasy', - icon: , - }, - { - key: 'masterkeyBox', - title: 'Oteliň açary içinde galsa', - icon: , - }, - { - key: 'translator', - title: 'Terjimeçi', - icon: , - }, -]; - export default function ServicesScreen() { return ( {i18n.t('services')} - } - keyExtractor={(item) => item.key} - numColumns={2} - columnWrapperStyle={styles.row} - /> + + + } /> + } /> + } /> + } /> + ); } @@ -56,5 +33,8 @@ const styles = StyleSheet.create({ row: { flex: 1, justifyContent: 'space-around', + flexDirection: 'row', + flexWrap: 'wrap', + rowGap: 0, }, });