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:
+17
-17
@@ -18,14 +18,14 @@ import { Textarea } from "@/components/ui/textarea";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
const contactFormSchema = z.object({
|
||||
fullName: z.string().min(1, "نام و نام خانوادگی الزامی است"),
|
||||
fullName: z.string().min(1, "نام و نام خانوادگی"),
|
||||
email: z
|
||||
.string()
|
||||
.min(1, "ایمیل الزامی است")
|
||||
.email("آدرس ایمیل نامعتبر است"),
|
||||
.min(1, "ایمیل کاری")
|
||||
.email("ایمیل واردشده معتبر نیست"),
|
||||
company: z.string().optional(),
|
||||
employees: z.string().optional(),
|
||||
message: z.string().min(1, "پیام الزامی است"),
|
||||
message: z.string().min(1, "شرح درخواست را وارد کنید"),
|
||||
});
|
||||
|
||||
type ContactFormData = z.infer<typeof contactFormSchema>;
|
||||
@@ -67,7 +67,7 @@ const Contact11 = ({ className, onSubmit }: Contact11Props) => {
|
||||
setTimeout(() => setIsSubmitted(false), 5000);
|
||||
} catch {
|
||||
form.setError("root", {
|
||||
message: "مشکلی پیش آمد. لطفاً دوباره تلاش کنید.",
|
||||
message: "ارسال درخواست ناموفق بود. دوباره تلاش کنید.",
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -76,16 +76,16 @@ const Contact11 = ({ className, onSubmit }: Contact11Props) => {
|
||||
<section dir="rtl" lang="fa" className={cn("py-32", className)}>
|
||||
<div className="container max-w-4xl">
|
||||
<h1 className="text-center text-xl font-semibold tracking-tight sm:text-2xll">
|
||||
تماس با ما
|
||||
درخواست دمو CRM
|
||||
</h1>
|
||||
<p className="mt-4 text-center text-muted-foreground">
|
||||
فرم را تکمیل کنید تا در کوتاهترین زمان ممکن درخواست شما بررسی و پاسخ داده شود.
|
||||
فرم را پر کنید تا کارشناس فروش جلسه دمو را بر اساس اندازه تیم و نیازتان هماهنگ کند.
|
||||
</p>
|
||||
|
||||
<div className="mt-8 flex gap-10 max-md:flex-col md:mt-12 md:divide-x">
|
||||
<div className="space-y-10 pe-10 md:gap-20">
|
||||
<div>
|
||||
<h2 className="text-lg font-semibold">دفتر مرکزی</h2>
|
||||
<h2 className="text-lg font-semibold">دفتر تهران</h2>
|
||||
<p
|
||||
className="mt-3 font-medium tracking-tight text-muted-foreground"
|
||||
dir="rtl"
|
||||
@@ -97,10 +97,10 @@ const Contact11 = ({ className, onSubmit }: Contact11Props) => {
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h2 className="text-lg font-semibold">ارتباط از طریق ایمیل</h2>
|
||||
<h2 className="text-lg font-semibold">ایمیل تیم فروش</h2>
|
||||
<div className="mt-3 space-y-2">
|
||||
<div>
|
||||
<p className="text-primary">فرصتهای شغلی</p>
|
||||
<p className="text-primary">فروش سازمانی</p>
|
||||
<a
|
||||
href="mailto:careers@example.com"
|
||||
className="mt-3 tracking-tight text-muted-foreground hover:text-foreground"
|
||||
@@ -110,7 +110,7 @@ const Contact11 = ({ className, onSubmit }: Contact11Props) => {
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-primary">رسانه</p>
|
||||
<p className="text-primary">پشتیبانی محصول</p>
|
||||
<a
|
||||
href="mailto:press@example.com"
|
||||
className="mt-3 tracking-tight text-muted-foreground hover:text-foreground"
|
||||
@@ -151,7 +151,7 @@ const Contact11 = ({ className, onSubmit }: Contact11Props) => {
|
||||
</div>
|
||||
|
||||
<div className="flex-1 md:ps-10">
|
||||
<h2 className="text-lg font-semibold">درخواستها</h2>
|
||||
<h2 className="text-lg font-semibold">درخواست دمو</h2>
|
||||
|
||||
{isSubmitted && (
|
||||
<div
|
||||
@@ -161,7 +161,7 @@ const Contact11 = ({ className, onSubmit }: Contact11Props) => {
|
||||
)}
|
||||
>
|
||||
<p className="text-sm font-medium text-green-600 dark:text-green-400">
|
||||
پیام شما با موفقیت ثبت شد. کارشناسان ما در اولین فرصت با شما تماس خواهند گرفت.
|
||||
درخواست دمو ثبت شد. کارشناس فروش در اولین فرصت هماهنگ میکند.
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
@@ -227,7 +227,7 @@ const Contact11 = ({ className, onSubmit }: Contact11Props) => {
|
||||
<Input
|
||||
{...field}
|
||||
id={field.name}
|
||||
placeholder="نام شرکت یا سازمان"
|
||||
placeholder="نام شرکت"
|
||||
/>
|
||||
</Field>
|
||||
)}
|
||||
@@ -239,7 +239,7 @@ const Contact11 = ({ className, onSubmit }: Contact11Props) => {
|
||||
render={({ field }) => (
|
||||
<Field>
|
||||
<FieldLabel htmlFor={field.name}>
|
||||
تعداد کارمندان
|
||||
تعداد کاربران CRM
|
||||
</FieldLabel>
|
||||
<Input
|
||||
{...field}
|
||||
@@ -262,7 +262,7 @@ const Contact11 = ({ className, onSubmit }: Contact11Props) => {
|
||||
{...field}
|
||||
id={field.name}
|
||||
aria-invalid={fieldState.invalid}
|
||||
placeholder="جزئیات درخواست، سؤال یا پروژه خود را بنویسید."
|
||||
placeholder="ابزار فعلی فروش، هدف استقرار و زمان پیشنهادی دمو را بنویسید."
|
||||
className="min-h-[120px] resize-none"
|
||||
/>
|
||||
{fieldState.invalid && (
|
||||
@@ -291,7 +291,7 @@ const Contact11 = ({ className, onSubmit }: Contact11Props) => {
|
||||
در حال ارسال...
|
||||
</>
|
||||
) : (
|
||||
"ارسال پیام"
|
||||
"درخواست دمو"
|
||||
)}
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user