Remove the finally block from the onboarding completion handler in
SliderPage to prevent redundant state updates when errors are already
handled within the catch block.
Refactor the profile resolution flow to explicitly cache and redirect
to the `/intro` route when marriage profile basics are incomplete.
This ensures users are correctly routed to the onboarding sequence
via the entry route cache.
Additionally, adds optional chaining to `router.prefetch` calls to
prevent runtime errors and updates test suites to reflect the
newly cached `/intro` path behavior.
Introduces an `onComplete` callback to `SliderPage` to allow parent
components to control navigation logic after the slider process.
Additionally, implements internationalization for button labels within
the slider components to support multi-language interfaces.
- Enhance touch swipe logic in SliderPage by tracking vertical movement to prevent accidental swipes during vertical scrolling
- Implement internationalization (i18n) in SliderSlideTwo using the `useI18n` hook
- Refactor SliderSlideTwo layout and styling for better responsiveness and content alignment
- Update aspect ratios and spacing for video thumbnail components
- Implemented `useMarriageProfileQuery` and `getMarriageProfile` for fetching main marriage profile data.
- Created `useMarriageSectionDataQuery` and `updateMarriageSectionData` for managing section data with query and mutation hooks.
- Added `useMarriageSectionsQuery` for retrieving available marriage sections.
feat: add temporary media upload hook
- Introduced `useUploadTmpMediaMutation` and `uploadTmpMedia` for handling temporary media uploads.
feat: implement internationalization support
- Added localization configuration and dictionaries for English and Persian languages.
- Created `I18nProvider` for managing locale and dictionary context.
- Implemented utility functions for locale management and path localization.
feat: define API communication layer
- Established an HTTP client using Axios with proxy path handling for API requests.
- Created `Intro` component for the initial user interface with navigation buttons and introductory content.
- Implemented `SliderPage` component to handle slide transitions and user interactions.
- Developed multiple slide components (`SliderSlideOne`, `SliderSlideTwo`, `SliderSlideThree`, `SliderSlideFour`) to guide users through the registration process.
- Added `Button` component with countdown functionality and various styles.
- Introduced `InfoProgressCard` for displaying user progress in the registration process.
- Created `NavigationButton` for navigation actions within the app.
- Implemented `PageBackground` utility for dynamic background images based on user actions.