feat(profile): add invitees section and inviter mobile functionality
- Introduced a new section in the Profile hub for viewing invitees, enhancing user engagement and tracking of referrals. - Added buttons for accessing the invitees page from the Profile index, improving navigation. - Enhanced the AuthDialog and PhoneVerifyForm components to support inviter mobile input, allowing users to specify who referred them. - Updated RouteConstants to include a new route for invitees, ensuring proper navigation within the application. These changes improve the user experience by facilitating better referral tracking and enhancing the profile management features.
This commit is contained in:
@@ -38,11 +38,21 @@
|
||||
|
||||
<MudTextField Value="ReferralCode"
|
||||
ValueChanged="@((string? v) => ReferralCodeChanged.InvokeAsync(v))"
|
||||
Label="کد معرف (اختیاری)"
|
||||
Label="کد معرف شبکه (اختیاری)"
|
||||
Variant="Variant.Outlined"
|
||||
Immediate="true"
|
||||
Placeholder="کد معرف را وارد کنید"
|
||||
Class="mb-3" />
|
||||
Placeholder="کد معرف ۱۰ رقمی"
|
||||
Class="mb-3"
|
||||
HelperText="جایگاه شما در شبکه — با لینک معرف پر میشود" />
|
||||
|
||||
<MudTextField Value="InviterMobile"
|
||||
ValueChanged="@((string? v) => InviterMobileChanged.InvokeAsync(v))"
|
||||
Label="شماره موبایل دعوتکننده (اختیاری)"
|
||||
Variant="Variant.Outlined"
|
||||
Immediate="true"
|
||||
Placeholder="مثلاً 0912xxxxxxx"
|
||||
Class="mb-3"
|
||||
HelperText="کسی که شما را با سیستم آشنا کرده — متفاوت از معرف شبکه" />
|
||||
|
||||
@if (!string.IsNullOrWhiteSpace(ErrorMessage))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user