Commit Graph

14 Commits

Author SHA1 Message Date
Mekan1206
2c7884b9ff Refactor HomeScreen activity state and update UI labels
- Changed state management for next day's activity to use 'dayLabel' instead of 'dateStr'.
- Updated logic to determine the day label for next day's activity.
- Modified badge text in HomeScreen to reflect the new label and improved localization for today's activity.
2025-09-20 14:24:33 +05:00
Mekan1206
558698a058 Add next day activity fetching and display in HomeScreen
- Introduced state management for next day's activity in HomeScreen.
- Implemented logic to fetch and set the next day's activity based on sorted dates.
- Updated the UI to conditionally render a FeatureCard for the next day's activity details.
2025-09-20 13:42:06 +05:00
Mekan1206
ae6ccd7f53 Implement activity fetching and display in HomeScreen
- Added useEffect to fetch today's activities from the getPrograms function.
- Introduced logic to determine the next activity based on current time.
- Updated the HomeScreen to conditionally render the FeatureCard with today's activity details.
2025-09-20 13:39:40 +05:00
Mekan1206
c2cd61c679 Refactor localization and simplify HomeScreen functionality
- Removed English and Russian localization files, focusing solely on Turkmen.
- Simplified language initialization in i18n.ts to default to Turkmen.
- Cleaned up HomeScreen by removing modal for language selection and related state management.
2025-09-17 19:25:49 +05:00
Mekan1206
4a92077786 hide homescreen activity 2025-09-17 19:15:48 +05:00
Mekan1206
e542371268 Add expo-asset dependency and update layout for safe area insets
- Included expo-asset in app.json and package.json for asset management.
- Refactored layout components in HomeScreen, TabIndex, Programs, and ServicesScreen to utilize safe area insets for better UI on different devices.
- Updated StatusBar style in RootLayoutNav for improved visibility.
2025-09-17 19:14:09 +05:00
3d9b8601bf Update layout and localization for improved functionality
- Added AsyncStorage and utility functions for future enhancements.
- Commented out ServicesGrid component in HomeScreen for potential redesign.
- Updated English and Russian localization files with new phrases and translations for prayer times and services.
2025-09-01 18:34:22 +05:00
f519052b7b Enhance app functionality and localization
- Added new dependencies: expo-file-system and expo-sharing.
- Updated package versions for @babel/core and react-dom.
- Introduced a new index screen for displaying prayer times with city selection.
- Refactored ServicesGrid to accept a dynamic services array and improved layout.
- Updated localization for new phrases and service titles in Turkmen.
- Enhanced LostKeyModal with a close button and additional text.
- Improved PhrasebookModal to allow expandable phrases for better user interaction.
2025-09-01 13:11:31 +05:00
1ab0c85ece Refactor PrayerTimeCard component to improve remaining time calculation and enhance background color in HomeScreen for better visibility. Added View import in _layout.tsx for layout adjustments. 2025-08-20 18:13:32 +05:00
949748b49a 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.
2025-08-20 13:18:50 +05:00
ec059535c8 Update HomeScreen to use a new image for the FeatureCard and modify FeatureCard component to conditionally render the image prop. This enhances flexibility in displaying feature content. 2025-08-20 09:30:30 +05:00
37aef1adc1 Refactor FeatureCard component to include image and badge text props. Update HomeScreen to display a new FeatureCard with localized title and description, removing previous cards for a cleaner layout. 2025-08-17 22:26:10 +05:00
e431c42df1 Implement multilingual support by integrating i18n for dynamic text rendering across the app. Added language selection modal in HomeScreen and updated various components to utilize localized strings. Updated package dependencies for async storage and localization. 2025-08-16 22:24:47 +05:00
a447d80f36 Base design done 2025-08-16 20:29:01 +05:00