Update content in about blocks to reflect new branding and messaging for various products. Key changes include rephrasing descriptions, updating titles, and modifying statistics to better align with the current offerings and mission statements. This enhances clarity and consistency across the platform.
This commit is contained in:
@@ -31,10 +31,10 @@ interface SettingsProfile6Props {
|
||||
}
|
||||
|
||||
const steps = [
|
||||
{ id: 1, title: "اطلاعات پایه", description: "نام و تصویر" },
|
||||
{ id: 2, title: "تماس", description: "راههای ارتباط با شما" },
|
||||
{ id: 3, title: "شبکههای اجتماعی", description: "حضور آنلاین شما" },
|
||||
{ id: 4, title: "بازبینی", description: "تأیید اطلاعات" },
|
||||
{ id: 1, title: "اطلاعات پایه", description: "نام و عکس پروفایل" },
|
||||
{ id: 2, title: "اطلاعات تماس", description: "ایمیل و شماره تماس" },
|
||||
{ id: 3, title: "لینکهای حرفهای", description: "وبسایت و شبکهها" },
|
||||
{ id: 4, title: "بازبینی", description: "تأیید نهایی" },
|
||||
];
|
||||
|
||||
const SettingsProfile6 = ({
|
||||
@@ -86,13 +86,14 @@ const SettingsProfile6 = ({
|
||||
.toUpperCase();
|
||||
|
||||
return (
|
||||
<section className={cn("py-16", className)}>
|
||||
<div className="container max-w-2xl">
|
||||
<section dir="rtl" lang="fa" className={cn("w-full py-32", className)}>
|
||||
<div className="w-full px-4 sm:px-6 lg:px-8">
|
||||
<div className="flex w-full flex-col gap-8">
|
||||
{/* Header */}
|
||||
<div className="mb-8 text-center">
|
||||
<h1 className="text-xl font-semibold">تکمیل پروفایل</h1>
|
||||
<p className="text-muted-foreground">
|
||||
به دیگران کمک کنید بهتر شما را بشناسند
|
||||
پروفایل خود را کامل کنید تا همکاران راحتتر با شما هماهنگ شوند
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -166,8 +167,8 @@ const SettingsProfile6 = ({
|
||||
src={avatarPreview}
|
||||
alt={
|
||||
formData.name
|
||||
? `تصویر ${formData.name}`
|
||||
: "تصویر پروفایل"
|
||||
? `آواتار ${formData.name}`
|
||||
: "عکس پروفایل"
|
||||
}
|
||||
className="object-cover"
|
||||
/>
|
||||
@@ -178,7 +179,7 @@ const SettingsProfile6 = ({
|
||||
<FileUploadTrigger asChild>
|
||||
<Button variant="outline" size="sm">
|
||||
<Upload className="me-2 size-4" />
|
||||
بارگذاری تصویر
|
||||
بارگذاری عکس
|
||||
</Button>
|
||||
</FileUploadTrigger>
|
||||
</div>
|
||||
@@ -191,7 +192,7 @@ const SettingsProfile6 = ({
|
||||
id="name"
|
||||
value={formData.name}
|
||||
onChange={(e) => updateField("name", e.target.value)}
|
||||
placeholder="نام کامل خود را وارد کنید"
|
||||
placeholder="مثال: سارا محمدی"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -208,19 +209,19 @@ const SettingsProfile6 = ({
|
||||
onChange={(e) =>
|
||||
updateField("username", e.target.value)
|
||||
}
|
||||
placeholder="یک نام کاربری انتخاب کنید"
|
||||
placeholder="sarah.m"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="bio">درباره من</Label>
|
||||
<Label htmlFor="bio">معرفی کوتاه</Label>
|
||||
<Textarea
|
||||
id="bio"
|
||||
rows={3}
|
||||
value={formData.bio}
|
||||
onChange={(e) => updateField("bio", e.target.value)}
|
||||
placeholder="کمی درباره خودتان بنویسید"
|
||||
placeholder="نقش و تیم خود را بنویسید"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -231,18 +232,18 @@ const SettingsProfile6 = ({
|
||||
{currentStep === 2 && (
|
||||
<div className="space-y-4">
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="email">آدرس ایمیل *</Label>
|
||||
<Label htmlFor="email">ایمیل کاری *</Label>
|
||||
<Input
|
||||
id="email"
|
||||
type="email"
|
||||
value={formData.email}
|
||||
onChange={(e) => updateField("email", e.target.value)}
|
||||
placeholder="ایمیل خود را وارد کنید"
|
||||
placeholder="you@company.com"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="phone">شماره تلفن</Label>
|
||||
<Label htmlFor="phone">شماره موبایل</Label>
|
||||
<Input
|
||||
id="phone"
|
||||
type="tel"
|
||||
@@ -253,7 +254,7 @@ const SettingsProfile6 = ({
|
||||
</div>
|
||||
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="location">موقعیت</Label>
|
||||
<Label htmlFor="location">موقعیت مکانی</Label>
|
||||
<Input
|
||||
id="location"
|
||||
value={formData.location}
|
||||
@@ -268,7 +269,7 @@ const SettingsProfile6 = ({
|
||||
{currentStep === 3 && (
|
||||
<div className="space-y-4">
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="website">وبسایت شخصی</Label>
|
||||
<Label htmlFor="website">وبسایت</Label>
|
||||
<Input
|
||||
id="website"
|
||||
type="url"
|
||||
@@ -279,7 +280,7 @@ const SettingsProfile6 = ({
|
||||
</div>
|
||||
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="twitter">شبکه اجتماعی</Label>
|
||||
<Label htmlFor="twitter">X / توییتر</Label>
|
||||
<div className="flex">
|
||||
<span className="inline-flex items-center rounded-s-md border border-e-0 bg-muted px-3 text-sm text-muted-foreground">
|
||||
x.com/
|
||||
@@ -295,10 +296,10 @@ const SettingsProfile6 = ({
|
||||
</div>
|
||||
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="linkedin">شبکه حرفهای</Label>
|
||||
<Label htmlFor="linkedin">لینکدین</Label>
|
||||
<div className="flex">
|
||||
<span className="inline-flex items-center rounded-s-md border border-e-0 bg-muted px-3 text-sm text-muted-foreground">
|
||||
شبکه حرفهای.com/in/
|
||||
linkedin.com/in/
|
||||
</span>
|
||||
<Input
|
||||
id="linkedin"
|
||||
@@ -321,8 +322,8 @@ const SettingsProfile6 = ({
|
||||
src={avatarPreview}
|
||||
alt={
|
||||
formData.name
|
||||
? `تصویر ${formData.name}`
|
||||
: "تصویر پروفایل"
|
||||
? `آواتار ${formData.name}`
|
||||
: "عکس پروفایل"
|
||||
}
|
||||
className="object-cover"
|
||||
/>
|
||||
@@ -347,19 +348,19 @@ const SettingsProfile6 = ({
|
||||
<div className="grid gap-4 rounded-lg border p-4 sm:grid-cols-2">
|
||||
<div>
|
||||
<p className="text-xs font-medium text-muted-foreground">
|
||||
ایمیل
|
||||
ایمیل کاری
|
||||
</p>
|
||||
<p className="text-sm">{formData.email || "ثبت نشده"}</p>
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-xs font-medium text-muted-foreground">
|
||||
تلفن
|
||||
موبایل
|
||||
</p>
|
||||
<p className="text-sm">{formData.phone || "ثبت نشده"}</p>
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-xs font-medium text-muted-foreground">
|
||||
موقعیت
|
||||
موقعیت مکانی
|
||||
</p>
|
||||
<p className="text-sm">{formData.location || "ثبت نشده"}</p>
|
||||
</div>
|
||||
@@ -373,8 +374,7 @@ const SettingsProfile6 = ({
|
||||
|
||||
<div className="rounded-lg bg-muted/50 p-4">
|
||||
<p className="text-sm text-muted-foreground">
|
||||
اطلاعات بالا را بازبینی کنید. برای ذخیره پروفایل روی
|
||||
«تکمیل پروفایل» بزنید یا برای ویرایش به عقب برگردید.
|
||||
اطلاعات را بازبینی کنید. برای ذخیره روی «تکمیل پروفایل» بزنید یا برای اصلاح به مرحله قبل برگردید.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -390,7 +390,7 @@ const SettingsProfile6 = ({
|
||||
disabled={currentStep === 1}
|
||||
>
|
||||
<ChevronLeft className="me-2 size-4 rtl:rotate-180" />
|
||||
بازگشت
|
||||
مرحله قبل
|
||||
</Button>
|
||||
|
||||
{currentStep < 4 ? (
|
||||
@@ -417,6 +417,7 @@ const SettingsProfile6 = ({
|
||||
</button>
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user