fix some bug in some blocks
This commit is contained in:
+15
-12
@@ -11,16 +11,19 @@ interface Hero167Props {
|
||||
const Hero167 = ({ className }: Hero167Props) => {
|
||||
return (
|
||||
<section
|
||||
className={cn("overflow-hidden bg-background py-20 font-sans", className)}
|
||||
className={cn(
|
||||
"relative w-full overflow-hidden bg-background py-20 font-sans",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
<div className="container">
|
||||
<div className="container min-w-0">
|
||||
<div className="grid grid-cols-1 gap-x-10 gap-y-16 lg:grid-cols-2">
|
||||
<div className="flex flex-col gap-12">
|
||||
<div className="max-w-[31.25rem]">
|
||||
<h1 className="mb-8 font-sans text-2xll font-semibold text-foreground md:text-2xll">
|
||||
<div className="flex min-w-0 flex-col gap-12">
|
||||
<div className="max-w-[31.25rem] min-w-0">
|
||||
<h1 className="mb-8 font-sans text-2xll font-semibold text-balance break-words text-foreground md:text-2xll">
|
||||
توانایی مراقبت را گسترش دهید
|
||||
</h1>
|
||||
<p className="text-xl text-muted-foreground">
|
||||
<p className="text-balance text-xl text-muted-foreground">
|
||||
ناکارآمدیها را حذف و مراقبت از بیمار را با سیستم جامع بهداشت
|
||||
و درمانی که گردشکار شما را یکپارچه و بهینه میکند، ارتقا دهید.
|
||||
</p>
|
||||
@@ -29,7 +32,7 @@ const Hero167 = ({ className }: Hero167Props) => {
|
||||
<Button
|
||||
asChild
|
||||
variant="outline"
|
||||
className="group inline-flex h-fit w-fit flex-wrap items-center gap-2 rounded-full border border-black px-5 py-3 transition-all hover:bg-black hover:shadow-[0_2px_15px_2px_var(--color-muted-foreground)]"
|
||||
className="group inline-flex h-fit w-fit max-w-full flex-wrap items-center gap-2 rounded-full border border-black px-5 py-3 transition-all hover:bg-black hover:shadow-[0_2px_15px_2px_var(--color-muted-foreground)]"
|
||||
>
|
||||
<a href="#">
|
||||
<p className="text-sm font-medium text-black transition-colors group-hover:text-white">
|
||||
@@ -41,7 +44,7 @@ const Hero167 = ({ className }: Hero167Props) => {
|
||||
<Button
|
||||
asChild
|
||||
variant="outline"
|
||||
className="group inline-flex h-fit w-fit flex-wrap items-center gap-2 rounded-full border border-black px-5 py-3 transition-all hover:bg-black hover:shadow-[0_2px_15px_2px_var(--color-muted-foreground)]"
|
||||
className="group inline-flex h-fit w-fit max-w-full flex-wrap items-center gap-2 rounded-full border border-black px-5 py-3 transition-all hover:bg-black hover:shadow-[0_2px_15px_2px_var(--color-muted-foreground)]"
|
||||
>
|
||||
<a href="#">
|
||||
<p className="text-sm font-medium text-black transition-colors group-hover:text-white">
|
||||
@@ -52,9 +55,9 @@ const Hero167 = ({ className }: Hero167Props) => {
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
<div className="">
|
||||
<div className="relative -me-8 h-[25rem] min-w-[50vw] rounded-lg bg-linear-to-b from-[#fbf7ec] to-[#e2f1ee] md:h-[45.625rem]">
|
||||
<div className="absolute top-16 left-24 w-[26.25rem] overflow-hidden rounded-lg shadow-lg md:top-32 md:left-40 md:w-[42.5rem] md:rounded-xl lg:left-24 lg:w-[46.25rem]">
|
||||
<div className="min-w-0">
|
||||
<div className="relative h-[25rem] w-full min-w-0 overflow-hidden rounded-lg bg-linear-to-b from-[#fbf7ec] to-[#e2f1ee] md:h-[45.625rem]">
|
||||
<div className="absolute top-16 start-6 w-[min(100%-1.5rem,26.25rem)] overflow-hidden rounded-lg shadow-lg md:top-32 md:start-10 md:w-[min(100%-2.5rem,42.5rem)] md:rounded-xl lg:start-6 lg:w-[min(100%-1.5rem,46.25rem)]">
|
||||
<AspectRatio ratio={1.466424682 / 1}>
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/placeholder-1.svg"
|
||||
@@ -64,7 +67,7 @@ const Hero167 = ({ className }: Hero167Props) => {
|
||||
</AspectRatio>
|
||||
</div>
|
||||
|
||||
<div className="absolute bottom-4 left-32 w-full max-w-[8.75rem] overflow-hidden rounded-md shadow-xl md:left-72 md:max-w-[16.5625rem] md:rounded-xl lg:bottom-10 lg:left-52 xl:left-32">
|
||||
<div className="absolute bottom-4 start-8 w-full max-w-[8.75rem] overflow-hidden rounded-md shadow-xl md:start-16 md:max-w-[16.5625rem] md:rounded-xl lg:bottom-10 lg:start-12 xl:start-8">
|
||||
<AspectRatio ratio={1.698717949 / 1}>
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/placeholder-dark-4.svg"
|
||||
|
||||
Reference in New Issue
Block a user