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:
@@ -44,15 +44,15 @@ interface SettingsProfile2Props {
|
||||
|
||||
const SettingsProfile2 = ({
|
||||
defaultValues = {
|
||||
name: "Jordan چناری",
|
||||
name: "ژوبین چناری",
|
||||
email: "jordan.chen@email.com",
|
||||
username: "jordanchen",
|
||||
avatar:
|
||||
"/block-media/shadcnblocks/block/avatar/avatar3.jpg",
|
||||
bio: "توسعهدهنده فولاستک با اشتیاق به ساخت محصولات تأثیرگذار. مشارکتکننده متنباز و گاهی نویسنده وبلاگ فناوری.",
|
||||
jobTitle: "مهندس نرمافزار ارشد",
|
||||
company: "ری یو آی Inc",
|
||||
location: "Seattle, WA",
|
||||
bio: "مهندس ارشد پلتفرم فروش؛ روی یکپارچهسازی CRM، اتوماسیون پایپلاین و ابزارهای داخلی تیم تمرکز دارم.",
|
||||
jobTitle: "مهندس ارشد پلتفرم",
|
||||
company: "نوآوران داده",
|
||||
location: "تهران، ایران",
|
||||
website: "https://jordanchen.dev",
|
||||
socialLinks: {
|
||||
twitter: "jordanchen",
|
||||
@@ -76,11 +76,13 @@ const SettingsProfile2 = ({
|
||||
: defaultValues.avatar;
|
||||
|
||||
return (
|
||||
<Card className={cn("w-full max-w-2xl", className)}>
|
||||
<section dir="rtl" lang="fa" className="w-full py-32">
|
||||
<div className="w-full px-4 sm:px-6 lg:px-8">
|
||||
<Card className={cn("w-full", className)}>
|
||||
<CardHeader>
|
||||
<CardTitle>ویرایش پروفایل</CardTitle>
|
||||
<CardDescription>
|
||||
اطلاعات عمومی پروفایل خود را مدیریت کنید.
|
||||
اطلاعاتی که همکاران در فضای کاری میبینند را مدیریت کنید.
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent className="space-y-8">
|
||||
@@ -97,7 +99,7 @@ const SettingsProfile2 = ({
|
||||
<Avatar className="size-24">
|
||||
<AvatarImage
|
||||
src={avatarPreview}
|
||||
alt={`تصویر ${defaultValues.name}`}
|
||||
alt={`آواتار ${defaultValues.name}`}
|
||||
className="object-cover"
|
||||
/>
|
||||
<AvatarFallback className="text-xl font-semibold">
|
||||
@@ -115,11 +117,11 @@ const SettingsProfile2 = ({
|
||||
</FileUploadTrigger>
|
||||
</div>
|
||||
<div className="space-y-1 text-center sm:text-start">
|
||||
<p className="text-sm font-medium">تصویر پروفایل</p>
|
||||
<p className="text-sm font-medium">عکس پروفایل</p>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
برای بارگذاری تصویر جدید روی آیکون دوربین کلیک کنید.
|
||||
روی آیکون دوربین کلیک کنید تا عکس جدید بارگذاری شود.
|
||||
<br />
|
||||
پیشنهاد: تصویر مربعی، حداقل ۴۰۰×۴۰۰ پیکسل.
|
||||
توصیه: آواتار مربعی، حداقل ۴۰۰×۴۰۰ پیکسل.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -129,10 +131,10 @@ const SettingsProfile2 = ({
|
||||
|
||||
{/* Personal Information */}
|
||||
<div className="space-y-4">
|
||||
<h3 className="text-sm font-medium">اطلاعات شخصی</h3>
|
||||
<h3 className="text-sm font-medium">اطلاعات پایه</h3>
|
||||
<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" defaultValue={defaultValues.name} />
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
@@ -150,12 +152,12 @@ const SettingsProfile2 = ({
|
||||
</div>
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="bio">درباره من</Label>
|
||||
<Label htmlFor="bio">معرفی کوتاه</Label>
|
||||
<Textarea
|
||||
id="bio"
|
||||
rows={3}
|
||||
defaultValue={defaultValues.bio}
|
||||
placeholder="درباره خودتان چند خط بنویسید"
|
||||
placeholder="نقش، تیم و حوزههای تمرکز خود را بنویسید"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -164,19 +166,19 @@ const SettingsProfile2 = ({
|
||||
|
||||
{/* Work Information */}
|
||||
<div className="space-y-4">
|
||||
<h3 className="text-sm font-medium">کار</h3>
|
||||
<h3 className="text-sm font-medium">موقعیت مکانی شغلی</h3>
|
||||
<div className="grid gap-4 sm:grid-cols-2">
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="jobTitle">عنوان شغلی</Label>
|
||||
<Label htmlFor="jobTitle">سمت</Label>
|
||||
<Input id="jobTitle" defaultValue={defaultValues.jobTitle} />
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="company">شرکت</Label>
|
||||
<Label htmlFor="company">سازمان</Label>
|
||||
<Input id="company" defaultValue={defaultValues.company} />
|
||||
</div>
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="location">موقعیت</Label>
|
||||
<Label htmlFor="location">موقعیت مکانی</Label>
|
||||
<Input
|
||||
id="location"
|
||||
defaultValue={defaultValues.location}
|
||||
@@ -189,7 +191,7 @@ const SettingsProfile2 = ({
|
||||
|
||||
{/* Social Links */}
|
||||
<div className="space-y-4">
|
||||
<h3 className="text-sm font-medium">لینکهای شبکههای اجتماعی</h3>
|
||||
<h3 className="text-sm font-medium">لینکهای حرفهای</h3>
|
||||
<div className="space-y-3">
|
||||
<div className="flex items-center gap-3">
|
||||
<Globe className="size-5 shrink-0 text-muted-foreground" />
|
||||
@@ -215,7 +217,7 @@ const SettingsProfile2 = ({
|
||||
<Linkedin className="size-5 shrink-0 text-muted-foreground" />
|
||||
<div className="flex flex-1">
|
||||
<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
|
||||
className="rounded-s-none"
|
||||
@@ -228,7 +230,7 @@ const SettingsProfile2 = ({
|
||||
<Github className="size-5 shrink-0 text-muted-foreground" />
|
||||
<div className="flex flex-1">
|
||||
<span className="inline-flex items-center rounded-s-md border border-e-0 bg-muted px-3 text-sm text-muted-foreground">
|
||||
مخزن کد.com/
|
||||
github.com/
|
||||
</span>
|
||||
<Input
|
||||
className="rounded-s-none"
|
||||
@@ -246,6 +248,8 @@ const SettingsProfile2 = ({
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user