Add 'Programs' tab to TabLayout and refactor ServicesScreen to use FlatList for service cards

- Introduced a new 'Programs' tab in the TabLayout with localized title and icon.
- Refactored ServicesScreen to replace ScrollView with FlatList for improved performance and layout, displaying service cards with icons.
- Updated localization files to include new keys for services and programs.
This commit is contained in:
2025-08-20 10:31:51 +05:00
parent ec059535c8
commit a8ec876cc0
8 changed files with 297 additions and 43 deletions

View File

@@ -42,6 +42,13 @@ export default function TabLayout() {
tabBarIcon: ({ color }) => <TabBarIcon name="th-large" color={color} />,
}}
/>
<Tabs.Screen
name="programs"
options={{
title: i18n.t('programs'),
tabBarIcon: ({ color }) => <TabBarIcon name="briefcase" color={color} />,
}}
/>
</Tabs>
);
}