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:
@@ -64,16 +64,16 @@ const roleColors = {
|
||||
|
||||
const getRoleLabel = (role: Member["role"]) => {
|
||||
const labels: Record<Member["role"], string> = {
|
||||
admin: "مدیر",
|
||||
member: "عضو",
|
||||
viewer: "بیننده",
|
||||
admin: "مدیر سیستم",
|
||||
member: "کارشناس فروش",
|
||||
viewer: "فقط مشاهده",
|
||||
};
|
||||
return labels[role];
|
||||
};
|
||||
|
||||
const SettingsMembers3 = ({
|
||||
heading = "اعضای تیم",
|
||||
description = "اعضای تیم و سطح دسترسی آنها را مدیریت کنید.",
|
||||
heading = "تیم فروش",
|
||||
description = "اعضای تیم و سطح دسترسی هر نفر به CRM را مدیریت کنید.",
|
||||
members = [
|
||||
{
|
||||
id: "1",
|
||||
@@ -82,7 +82,7 @@ const SettingsMembers3 = ({
|
||||
role: "admin",
|
||||
avatar:
|
||||
"/block-media/shadcnblocks/block/avatar/avatar2.jpg",
|
||||
joinedAt: "ژانویه ۲۲۴",
|
||||
joinedAt: "ژانویه ۲۰۲۴",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
@@ -91,41 +91,41 @@ const SettingsMembers3 = ({
|
||||
role: "member",
|
||||
avatar:
|
||||
"/block-media/shadcnblocks/block/avatar/avatar5.jpg",
|
||||
joinedAt: "مارس ۲۲۴",
|
||||
joinedAt: "مارس ۲۰۲۴",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Elena محمدی",
|
||||
name: "النا محمدی",
|
||||
email: "elena.r@company.io",
|
||||
role: "member",
|
||||
avatar:
|
||||
"/block-media/shadcnblocks/block/avatar/avatar4.jpg",
|
||||
joinedAt: "آوریل ۲۲۴",
|
||||
joinedAt: "آوریل ۲۰۲۴",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "داوود Park",
|
||||
name: "داوود پارک",
|
||||
email: "david.p@company.io",
|
||||
role: "viewer",
|
||||
joinedAt: "ژوئن ۲۲۴",
|
||||
joinedAt: "ژوئن ۲۰۲۴",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Aisha Patel",
|
||||
name: "آیدا پناهی",
|
||||
email: "aisha.p@company.io",
|
||||
role: "member",
|
||||
avatar:
|
||||
"/block-media/shadcnblocks/block/avatar/avatar6.jpg",
|
||||
joinedAt: "اوت ۲۲۴",
|
||||
joinedAt: "اوت ۲۰۲۴",
|
||||
},
|
||||
{
|
||||
id: "6",
|
||||
name: "Thomas Wright",
|
||||
name: "توماس رضایی",
|
||||
email: "thomas.w@company.io",
|
||||
role: "viewer",
|
||||
avatar:
|
||||
"/block-media/shadcnblocks/block/avatar/avatar7.jpg",
|
||||
joinedAt: "اکتبر ۲۲۴",
|
||||
joinedAt: "اکتبر ۲۰۲۴",
|
||||
},
|
||||
],
|
||||
className,
|
||||
@@ -133,9 +133,9 @@ const SettingsMembers3 = ({
|
||||
const [isInviteOpen, setIsInviteOpen] = useState(false);
|
||||
|
||||
return (
|
||||
<section className="py-32">
|
||||
<div className="container max-w-5xl">
|
||||
<div className={cn("space-y-8", 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-8">
|
||||
<div className="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between">
|
||||
<div className="space-y-1">
|
||||
<h2 className="text-xl font-semibold tracking-tight">
|
||||
@@ -152,9 +152,9 @@ const SettingsMembers3 = ({
|
||||
</DialogTrigger>
|
||||
<DialogContent>
|
||||
<DialogHeader>
|
||||
<DialogTitle>دعوت عضو تیم</DialogTitle>
|
||||
<DialogTitle>دعوت عضو جدید</DialogTitle>
|
||||
<DialogDescription>
|
||||
دعوتنامهای برای پیوستن به تیم ارسال کنید.
|
||||
دعوتنامه برای پیوستن به فضای کاری CRM ارسال کنید.
|
||||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
<form
|
||||
@@ -165,7 +165,7 @@ const SettingsMembers3 = ({
|
||||
className="space-y-4"
|
||||
>
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="email">آدرس ایمیل</Label>
|
||||
<Label htmlFor="email">ایمیل سازمانی</Label>
|
||||
<Input
|
||||
id="email"
|
||||
type="email"
|
||||
@@ -173,15 +173,15 @@ const SettingsMembers3 = ({
|
||||
/>
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="role">نقش</Label>
|
||||
<Label htmlFor="role">سطح دسترسی</Label>
|
||||
<Select defaultValue="member">
|
||||
<SelectTrigger id="role">
|
||||
<SelectValue placeholder="انتخاب نقش" />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem value="admin">مدیر</SelectItem>
|
||||
<SelectItem value="member">عضو</SelectItem>
|
||||
<SelectItem value="viewer">بیننده</SelectItem>
|
||||
<SelectItem value="admin">مدیر سیستم</SelectItem>
|
||||
<SelectItem value="member">کارشناس فروش</SelectItem>
|
||||
<SelectItem value="viewer">فقط مشاهده</SelectItem>
|
||||
</SelectContent>
|
||||
</Select>
|
||||
</div>
|
||||
@@ -193,7 +193,7 @@ const SettingsMembers3 = ({
|
||||
>
|
||||
انصراف
|
||||
</Button>
|
||||
<Button type="submit">ارسال دعوت</Button>
|
||||
<Button type="submit">ارسال دعوتنامه</Button>
|
||||
</DialogFooter>
|
||||
</form>
|
||||
</DialogContent>
|
||||
@@ -207,7 +207,7 @@ const SettingsMembers3 = ({
|
||||
<div className="flex items-start justify-between">
|
||||
<div className="flex items-center gap-3">
|
||||
<Avatar className="size-12">
|
||||
<AvatarImage src={member.avatar} alt={`تصویر ${member.name}`} />
|
||||
<AvatarImage src={member.avatar} alt={`آواتار ${member.name}`} />
|
||||
<AvatarFallback className="text-sm font-medium">
|
||||
{member.name
|
||||
.split(" ")
|
||||
@@ -232,15 +232,15 @@ const SettingsMembers3 = ({
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button variant="ghost" size="icon" className="size-8">
|
||||
<MoreHorizontal className="size-4" />
|
||||
<span className="sr-only">باز کردن منو</span>
|
||||
<span className="sr-only">گزینههای بیشتر</span>
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent align="end">
|
||||
<DropdownMenuItem>تغییر نقش</DropdownMenuItem>
|
||||
<DropdownMenuItem>مشاهده فعالیت</DropdownMenuItem>
|
||||
<DropdownMenuItem>تغییر سطح دسترسی</DropdownMenuItem>
|
||||
<DropdownMenuItem>مشاهده فعالیت اخیر</DropdownMenuItem>
|
||||
<DropdownMenuSeparator />
|
||||
<DropdownMenuItem className="text-destructive">
|
||||
حذف عضو
|
||||
حذف از فضای کاری
|
||||
</DropdownMenuItem>
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
@@ -252,7 +252,7 @@ const SettingsMembers3 = ({
|
||||
{member.email}
|
||||
</CardDescription>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
عضویت از {member.joinedAt}
|
||||
عضو از {member.joinedAt}
|
||||
</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user