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:
+47
-49
@@ -86,57 +86,55 @@ const LivePurchase1 = ({
|
||||
<div
|
||||
dir="rtl"
|
||||
lang="fa"
|
||||
className={cn("relative min-h-48 w-full", className)}
|
||||
className={cn("flex w-full justify-center p-6", className)}
|
||||
>
|
||||
<div className="absolute bottom-6 start-6 z-50 max-w-100">
|
||||
<Card
|
||||
className={cn(
|
||||
"gap-0 p-0 shadow-lg transition-all duration-300",
|
||||
isAnimating && "translate-y-2 opacity-0",
|
||||
)}
|
||||
>
|
||||
<CardContent className="p-3">
|
||||
<div className="flex items-start gap-3">
|
||||
<div className="size-14 shrink-0 overflow-hidden rounded-md bg-muted">
|
||||
<img
|
||||
src={current.productImage}
|
||||
alt={current.productName}
|
||||
className="size-full object-cover"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="min-w-0 flex-1 text-start">
|
||||
<p className="text-sm">
|
||||
<span className="font-semibold">{current.customerName}</span>{" "}
|
||||
<span className="text-muted-foreground">از</span>{" "}
|
||||
<span>{current.customerLocation}</span>
|
||||
</p>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
همین الان{" "}
|
||||
<span className="font-medium text-foreground">
|
||||
{current.productName}
|
||||
</span>{" "}
|
||||
را خرید کرد
|
||||
</p>
|
||||
<p className="mt-1 text-xs text-muted-foreground">
|
||||
{current.timeAgo}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<Button
|
||||
type="button"
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="size-6 shrink-0"
|
||||
aria-label="بستن"
|
||||
onClick={() => setIsVisible(false)}
|
||||
>
|
||||
<X className="size-3" />
|
||||
</Button>
|
||||
<Card
|
||||
className={cn(
|
||||
"w-full max-w-100 gap-0 p-0 shadow-lg transition-all duration-300",
|
||||
isAnimating && "translate-y-2 opacity-0",
|
||||
)}
|
||||
>
|
||||
<CardContent className="p-3">
|
||||
<div className="flex items-start gap-3">
|
||||
<div className="size-14 shrink-0 overflow-hidden rounded-md bg-muted">
|
||||
<img
|
||||
src={current.productImage}
|
||||
alt={current.productName}
|
||||
className="size-full object-cover"
|
||||
/>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
<div className="min-w-0 flex-1 text-start">
|
||||
<p className="text-sm">
|
||||
<span className="font-semibold">{current.customerName}</span>{" "}
|
||||
<span className="text-muted-foreground">از</span>{" "}
|
||||
<span>{current.customerLocation}</span>
|
||||
</p>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
همین الان{" "}
|
||||
<span className="font-medium text-foreground">
|
||||
{current.productName}
|
||||
</span>{" "}
|
||||
را خرید کرد
|
||||
</p>
|
||||
<p className="mt-1 text-xs text-muted-foreground">
|
||||
{current.timeAgo}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<Button
|
||||
type="button"
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="size-6 shrink-0"
|
||||
aria-label="بستن"
|
||||
onClick={() => setIsVisible(false)}
|
||||
>
|
||||
<X className="size-3" />
|
||||
</Button>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user