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:
@@ -41,14 +41,14 @@ interface SettingsProfile5Props {
|
||||
|
||||
const SettingsProfile5 = ({
|
||||
defaultValues = {
|
||||
name: "Jordan چناری",
|
||||
name: "ژوبین چناری",
|
||||
username: "jordanchen",
|
||||
email: "jordan.chen@email.com",
|
||||
avatar:
|
||||
"/block-media/shadcnblocks/block/avatar/avatar3.jpg",
|
||||
bio: "توسعهدهنده فولاستک که ابزارهای وب مدرن میسازد. علاقهمند به متنباز و گاهی نویسنده درباره معماری نرمافزار.",
|
||||
role: "مهندس نرمافزار ارشد",
|
||||
location: "Seattle, WA",
|
||||
bio: "مهندس ارشد پلتفرم؛ ابزارهای داخلی فروش و اتوماسیون CRM میسازم.",
|
||||
role: "مهندس ارشد پلتفرم",
|
||||
location: "تهران، ایران",
|
||||
website: "https://jordanchen.dev",
|
||||
twitter: "jordanchen",
|
||||
linkedin: "jordanchen",
|
||||
@@ -75,13 +75,13 @@ const SettingsProfile5 = ({
|
||||
.toUpperCase();
|
||||
|
||||
return (
|
||||
<section className={cn("py-16", className)}>
|
||||
<div className="container">
|
||||
<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">
|
||||
<div className="mb-8">
|
||||
<h1 className="text-xl font-semibold">ویرایش پروفایل</h1>
|
||||
<p className="text-muted-foreground">
|
||||
اطلاعات پروفایل خود را بهروزرسانی کنید. تغییرات در پیشنمایش
|
||||
منعکس میشوند.
|
||||
اطلاعات پروفایل را ویرایش کنید؛ تغییرات زنده در پیشنمایش دیده میشود.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -91,7 +91,7 @@ const SettingsProfile5 = ({
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle>اطلاعات پایه</CardTitle>
|
||||
<CardDescription>اطلاعات عمومی پروفایل شما</CardDescription>
|
||||
<CardDescription>مشخصات عمومی که در فضای کاری دیده میشود</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent className="space-y-4">
|
||||
<FileUpload
|
||||
@@ -106,7 +106,7 @@ const SettingsProfile5 = ({
|
||||
<Avatar className="size-16">
|
||||
<AvatarImage
|
||||
src={avatarPreview}
|
||||
alt={`تصویر ${formData.name}`}
|
||||
alt={`آواتار ${formData.name}`}
|
||||
className="object-cover"
|
||||
/>
|
||||
<AvatarFallback>{initials}</AvatarFallback>
|
||||
@@ -122,9 +122,9 @@ const SettingsProfile5 = ({
|
||||
</FileUploadTrigger>
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
<p className="text-sm font-medium">تصویر پروفایل</p>
|
||||
<p className="text-sm font-medium">عکس پروفایل</p>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
تصویر، تصویر یا تصویر. حداکثر ۲ مگابایت.
|
||||
JPG، PNG یا WEBP — حداکثر ۲ مگابایت.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -132,7 +132,7 @@ const SettingsProfile5 = ({
|
||||
|
||||
<div className="grid gap-4 sm:grid-cols-2">
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="name">نام</Label>
|
||||
<Label htmlFor="name">نام و نام خانوادگی</Label>
|
||||
<Input
|
||||
id="name"
|
||||
value={formData.name}
|
||||
@@ -150,28 +150,28 @@ const SettingsProfile5 = ({
|
||||
</div>
|
||||
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="role">نقش / عنوان</Label>
|
||||
<Label htmlFor="role">سمت شغلی</Label>
|
||||
<Input
|
||||
id="role"
|
||||
value={formData.role}
|
||||
onChange={(e) => updateField("role", e.target.value)}
|
||||
placeholder="شغل یا حرفه شما چیست؟"
|
||||
placeholder="مثال: مدیر موفقیت مشتری"
|
||||
/>
|
||||
</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 className="space-y-2">
|
||||
<Label htmlFor="location">موقعیت</Label>
|
||||
<Label htmlFor="location">موقعیت مکانی</Label>
|
||||
<Input
|
||||
id="location"
|
||||
value={formData.location}
|
||||
@@ -184,8 +184,8 @@ const SettingsProfile5 = ({
|
||||
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle>لینکها</CardTitle>
|
||||
<CardDescription>وبسایت و شبکههای اجتماعی شما</CardDescription>
|
||||
<CardTitle>لینکهای حرفهای</CardTitle>
|
||||
<CardDescription>وبسایت و پروفایلهای حرفهای شما</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent className="space-y-4">
|
||||
<div className="space-y-2">
|
||||
@@ -201,7 +201,7 @@ const SettingsProfile5 = ({
|
||||
|
||||
<div className="grid gap-4 sm:grid-cols-3">
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="twitter">شبکه اجتماعی</Label>
|
||||
<Label htmlFor="twitter">X / توییتر</Label>
|
||||
<Input
|
||||
id="twitter"
|
||||
value={formData.twitter}
|
||||
@@ -210,7 +210,7 @@ const SettingsProfile5 = ({
|
||||
/>
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="linkedin">شبکه حرفهای</Label>
|
||||
<Label htmlFor="linkedin">لینکدین</Label>
|
||||
<Input
|
||||
id="linkedin"
|
||||
value={formData.linkedin}
|
||||
@@ -219,7 +219,7 @@ const SettingsProfile5 = ({
|
||||
/>
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="github">مخزن کد</Label>
|
||||
<Label htmlFor="github">گیتهاب</Label>
|
||||
<Input
|
||||
id="github"
|
||||
value={formData.github}
|
||||
@@ -254,7 +254,7 @@ const SettingsProfile5 = ({
|
||||
<Avatar className="size-20 ring-2 ring-background">
|
||||
<AvatarImage
|
||||
src={avatarPreview}
|
||||
alt={`تصویر ${formData.name}`}
|
||||
alt={`آواتار ${formData.name}`}
|
||||
className="object-cover"
|
||||
/>
|
||||
<AvatarFallback className="text-xl">
|
||||
@@ -336,12 +336,13 @@ const SettingsProfile5 = ({
|
||||
</Card>
|
||||
|
||||
<p className="mt-3 text-center text-xs text-muted-foreground">
|
||||
اینگونه پروفایل شما برای دیگران نمایش داده میشود
|
||||
پروفایل شما برای همکاران به این شکل دیده میشود
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user