Files
reui-blocks/blocks/feature246.tsx
T
2026-07-23 06:55:21 +03:30

70 lines
2.8 KiB
TypeScript

import { BadgeCheck } from "lucide-react";
import React from "react";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { cn } from "@/lib/utils";
const BENEFITS = [
{ id: "global", label: "یکپارچگی" },
{ id: "no-spam", label: "عملیات" },
{ id: "no-junk", label: "مدیریت سازمان" },
{ id: "explore", label: "ERP" },
] as const;
interface Feature246Props {
className?: string;
}
const Feature246 = ({ className }: Feature246Props) => {
return (
<section
dir="rtl"
lang="fa"
className={cn("relative w-full overflow-hidden bg-background", className)}
>
<div className="container flex min-w-0 flex-col justify-between overflow-hidden py-32 lg:flex-row lg:items-center">
<div className="flex w-full min-w-0 flex-col items-start gap-20 text-start lg:me-2 lg:max-w-xl">
<h1 className="text-2xll font-semibold tracking-tighter text-balance text-foreground md:text-2xll">
ERP
<br />
از خرید تا فروش در یک سیستم
</h1>
<div className="space-y-5">
{BENEFITS.map((benefit) => (
<div key={benefit.id} className="flex min-w-0 items-center gap-4">
<div className="flex size-7 shrink-0 items-center justify-center">
<BadgeCheck className="size-7" />
</div>
<span className="text-xl tracking-tight text-foreground">
{benefit.label}
</span>
</div>
))}
</div>
<div className="flex w-full min-w-0 items-center gap-1 overflow-hidden rounded-full border border-border p-2">
<Input
type="email"
dir="rtl"
className="h-full min-w-0 flex-1 border-none ps-6 text-start text-lg! tracking-tight shadow-none outline-none focus-visible:ring-0 focus-visible:outline-none"
placeholder="عملیات سازمان را یکپارچه کنید"
/>
<Button className="h-15 shrink-0 rounded-full bg-foreground px-6 text-lg font-medium tracking-tight text-background transition-all ease-in-out sm:px-10 hover:sm:px-12">
ثبت‌نام
</Button>
</div>
</div>
<div className="relative mt-10 flex h-auto w-full min-w-0 items-center justify-center overflow-hidden rounded-none lg:mt-0 lg:max-w-xl lg:justify-end">
<img
src="/block-media/shadcnblocks/block/illustrations/tokyo-letters-and-arrows-flying-out-of-a-black-hole.svg"
className="max-h-[28rem] w-full max-w-full scale-x-[-1] object-contain rtl:scale-x-100"
alt="گزارش مالی یکپارچه"
/>
</div>
</div>
</section>
);
};
export { Feature246 };