Select profile Type#12
Open
OmarLawaty wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR implements a profile type selection screen as part of the onboarding flow. It introduces a new component that allows users to choose between three profile types: Client, Part-time Worker, and Service Provider.
- Adds internationalization support for the new onboarding content in both English and Arabic
- Creates a new SelectType component with visual hero image and three profile type buttons
- Integrates the onboarding flow into the app routing structure
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/i18n/en.ts | Adds English translations for onboarding title and profile type options |
| src/i18n/ar.ts | Adds Arabic translations for onboarding title and profile type options |
| src/components/onboarding/SelectType.tsx | Creates the main SelectType component with hero image and profile selection buttons |
| src/components/onboarding/index.ts | Exports the SelectType component |
| src/components/index.ts | Exports the onboarding components |
| src/assets/images/onboarding/SelectTypeHero.tsx | Adds SVG hero image component for the profile selection screen |
| src/assets/images/onboarding/index.ts | Exports the SelectTypeHero component |
| src/assets/images/index.ts | Exports onboarding image components |
| src/app/_layout.tsx | Integrates onboarding screens into app routing with protected guards |
| src/app/(onboarding)/select-type.tsx | Creates the select-type route screen |
| src/app/(onboarding)/categories.tsx | Creates a placeholder categories route screen |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.