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:
mr.sabri
2026-07-15 20:22:14 +02:00
parent 85836ef183
commit 4fa6b150d1
496 changed files with 5199 additions and 5357 deletions
+34 -34
View File
@@ -67,11 +67,11 @@ interface SettingsMembers5Props {
const SettingsMembers5 = ({
heading = "مدیریت تیم",
description = "اعضای فعال را ببینید و دعوت‌های در انتظار را مدیریت کنید.",
description = "اعضای فعال فضای کاری را ببینید و دعوت‌های باز را پیگیری کنید.",
activeMembers = [
{
id: "1",
name: "Priya Sharma",
name: "پریا شمیرانی",
email: "priya@designlab.io",
role: "مالک",
avatar:
@@ -80,27 +80,27 @@ const SettingsMembers5 = ({
},
{
id: "2",
name: "Kevin O'Brien",
name: "کاوه ابریشمی",
email: "kevin@designlab.io",
role: "مدیر",
role: "مدیر عملیات",
avatar:
"/block-media/shadcnblocks/block/avatar/avatar12.jpg",
lastActive: "۲ ساعت پیش",
},
{
id: "3",
name: "Yuki Tanaka",
name: "یگانه تنکابنی",
email: "yuki@designlab.io",
role: "ویرایشگر",
role: "فروشنده",
avatar:
"/block-media/shadcnblocks/block/avatar/avatar13.jpg",
lastActive: "دیروز",
},
{
id: "4",
name: "Carlos Mendez",
name: "کیان منتظری",
email: "carlos@designlab.io",
role: "ویرایشگر",
role: "فروشنده",
avatar:
"/block-media/shadcnblocks/block/avatar/avatar14.jpg",
lastActive: "۳ روز پیش",
@@ -110,15 +110,15 @@ const SettingsMembers5 = ({
{
id: "p1",
email: "maya.wilson@gmail.com",
role: "ویرایشگر",
sentAt: "۱۵ ژانویه ۲۲۶",
role: "فروشنده",
sentAt: "۱۵ ژانویه ۲۰۲۶",
expiresIn: "۵ روز",
},
{
id: "p2",
email: "alex.foster@outlook.com",
role: "بیننده",
sentAt: "۲۰ ژانویه ۲۲۶",
role: "فقط مشاهده",
sentAt: "۲۰ ژانویه ۲۰۲۶",
expiresIn: "۱۰ روز",
},
],
@@ -127,9 +127,9 @@ const SettingsMembers5 = ({
const [isInviteOpen, setIsInviteOpen] = useState(false);
return (
<section className="py-32">
<div className="container max-w-3xl">
<div className={cn("space-y-6", className)}>
<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-6">
<div className="flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between">
<div className="space-y-1">
<h2 className="text-xl font-semibold tracking-tight">
@@ -141,14 +141,14 @@ const SettingsMembers5 = ({
<DialogTrigger asChild>
<Button>
<UserPlus className="size-4" />
دعوت
دعوت عضو
</Button>
</DialogTrigger>
<DialogContent>
<DialogHeader>
<DialogTitle>دعوت عضو جدید</DialogTitle>
<DialogDescription>
دعوتنامه ایمیلی برای پیوستن به تیم ارسال کنید.
دعوتنامه ایمیلی برای پیوستن به فضای کاری ارسال کنید.
</DialogDescription>
</DialogHeader>
<form
@@ -159,7 +159,7 @@ const SettingsMembers5 = ({
className="space-y-4"
>
<div className="space-y-2">
<Label htmlFor="new-email">آدرس ایمیل</Label>
<Label htmlFor="new-email">ایمیل سازمانی</Label>
<Input
id="new-email"
type="email"
@@ -167,15 +167,15 @@ const SettingsMembers5 = ({
/>
</div>
<div className="space-y-2">
<Label htmlFor="new-role">تعیین نقش</Label>
<Label htmlFor="new-role">نقش دسترسی</Label>
<Select defaultValue="editor">
<SelectTrigger id="new-role">
<SelectValue placeholder="انتخاب نقش" />
</SelectTrigger>
<SelectContent>
<SelectItem value="admin">مدیر</SelectItem>
<SelectItem value="editor">ویرایشگر</SelectItem>
<SelectItem value="viewer">بیننده</SelectItem>
<SelectItem value="admin">مدیر عملیات</SelectItem>
<SelectItem value="editor">فروشنده</SelectItem>
<SelectItem value="viewer">فقط مشاهده</SelectItem>
</SelectContent>
</Select>
</div>
@@ -189,7 +189,7 @@ const SettingsMembers5 = ({
</Button>
<Button type="submit">
<Send className="size-4" />
ارسال دعوت
ارسال دعوتنامه
</Button>
</DialogFooter>
</form>
@@ -201,7 +201,7 @@ const SettingsMembers5 = ({
<TabsList className="w-full justify-start">
<TabsTrigger value="active" className="gap-2">
<UserCheck className="size-4" />
فعال
اعضای فعال
<Badge
variant="secondary"
className="ms-1 size-5 justify-center rounded-full p-0 text-xs"
@@ -211,7 +211,7 @@ const SettingsMembers5 = ({
</TabsTrigger>
<TabsTrigger value="pending" className="gap-2">
<Clock className="size-4" />
در انتظار
دعوت‌های باز
{pendingInvites.length > 0 && (
<Badge
variant="secondary"
@@ -233,7 +233,7 @@ const SettingsMembers5 = ({
>
<div className="flex items-center gap-3">
<Avatar className="size-10">
<AvatarImage src={member.avatar} alt={`تصویر ${member.name}`} />
<AvatarImage src={member.avatar} alt={`آواتار ${member.name}`} />
<AvatarFallback>
{member.name
.split(" ")
@@ -260,7 +260,7 @@ const SettingsMembers5 = ({
آنلاین
</span>
) : (
`فعال، ${member.lastActive}`
`آخرین فعالیت · ${member.lastActive}`
)}
</p>
</div>
@@ -275,10 +275,10 @@ const SettingsMembers5 = ({
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end">
<DropdownMenuItem>ویرایش نقش</DropdownMenuItem>
<DropdownMenuItem>مشاهده پروفایل</DropdownMenuItem>
<DropdownMenuItem>ویرایش سطح دسترسی</DropdownMenuItem>
<DropdownMenuItem>مشاهده پروفایل عضو</DropdownMenuItem>
<DropdownMenuItem className="text-destructive">
حذف
حذف از تیم
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
@@ -293,9 +293,9 @@ const SettingsMembers5 = ({
{pendingInvites.length === 0 ? (
<div className="flex flex-col items-center justify-center rounded-lg border border-dashed py-12 text-center">
<Clock className="mb-3 size-10 text-muted-foreground/50" />
<p className="text-sm font-medium">دعوت در انتظاری وجود ندارد</p>
<p className="text-sm font-medium">دعوت بازی وجود ندارد</p>
<p className="text-xs text-muted-foreground">
برای شروع، اعضای تیم را دعوت کنید
برای گسترش تیم، اعضای جدید را دعوت کنید
</p>
</div>
) : (
@@ -315,7 +315,7 @@ const SettingsMembers5 = ({
{invite.email}
</p>
<p className="text-xs text-muted-foreground">
ارسال‌شده {invite.sentAt} · انقضا تا{" "}
ارسال در {invite.sentAt} · انقضا:{" "}
{invite.expiresIn}
</p>
</div>
@@ -326,7 +326,7 @@ const SettingsMembers5 = ({
</Badge>
<Button variant="ghost" size="sm">
<Send className="size-4" />
ارسال مجدد
ارسال مجدد دعوت
</Button>
<Button
variant="ghost"