fix some bug in some blocks

This commit is contained in:
mr.sabri
2026-07-23 06:55:21 +03:30
parent 89fbd6d158
commit edb3e10469
65 changed files with 1565 additions and 1476 deletions
+15 -11
View File
@@ -18,9 +18,13 @@ interface Feature246Props {
const Feature246 = ({ className }: Feature246Props) => {
return (
<section dir="rtl" lang="fa" className={cn("bg-background", className)}>
<div className="container flex flex-col justify-between overflow-hidden py-32 lg:flex-row">
<div className="flex w-full flex-col items-start gap-20 text-start lg:me-2">
<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 />
@@ -28,9 +32,9 @@ const Feature246 = ({ className }: Feature246Props) => {
</h1>
<div className="space-y-5">
{BENEFITS.map((benefit) => (
<div key={benefit.id} className="flex items-center gap-4">
<div className="flex size-7 items-center justify-center">
<BadgeCheck className="h-20" />
<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}
@@ -38,22 +42,22 @@ const Feature246 = ({ className }: Feature246Props) => {
</div>
))}
</div>
<div className="flex w-full items-center overflow-hidden rounded-full border border-border p-2">
<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 border-none ps-6 text-start text-lg! tracking-tight shadow-none outline-none focus-visible:ring-0 focus-visible:outline-none"
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-10 text-lg font-medium tracking-tight text-background transition-all ease-in-out hover:px-12">
<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 flex h-auto w-full items-center justify-end rounded-none">
<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="start-40 scale-x-[-1] object-fit rtl:scale-x-100 lg:absolute"
className="max-h-[28rem] w-full max-w-full scale-x-[-1] object-contain rtl:scale-x-100"
alt="گزارش مالی یکپارچه"
/>
</div>