fix some bug in some blocks
This commit is contained in:
+18
-18
@@ -14,28 +14,28 @@ const Hero220 = ({ className }: Hero220Props) => {
|
||||
return (
|
||||
<section
|
||||
className={cn(
|
||||
"relative flex min-h-screen flex-col items-center justify-center overflow-hidden py-32",
|
||||
"relative flex h-svh max-h-[1400px] min-h-[600px] w-full flex-col items-center justify-center overflow-hidden",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
<div className="container">
|
||||
<div className="absolute top-0 left-0 h-screen w-full overflow-hidden bg-[url('/block-media/shadcnblocks/block/lummi/landscape6.jpeg')] bg-cover bg-top bg-no-repeat opacity-20" />
|
||||
<div className="flex flex-col items-center justify-center gap-4">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, scale: 1.1 }}
|
||||
animate={{ opacity: 1, scale: 1 }}
|
||||
transition={{ duration: 0.3 }}
|
||||
className="relative flex h-[250px] w-full items-center"
|
||||
<div className="absolute inset-0 bg-[url('/block-media/shadcnblocks/block/lummi/landscape6.jpeg')] bg-cover bg-top bg-no-repeat opacity-20" />
|
||||
<div className="relative z-10 container flex w-full flex-col items-center justify-center">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, scale: 1.1 }}
|
||||
animate={{ opacity: 1, scale: 1 }}
|
||||
transition={{ duration: 0.3, ease: "easeOut" }}
|
||||
className="relative flex h-[220px] w-full max-w-5xl items-center sm:h-[250px]"
|
||||
>
|
||||
<VideoText
|
||||
src="/block-media/shadcnblocks/block/landscape.mp4"
|
||||
className="font-bold tracking-tighter"
|
||||
fontFamily="IRANSansX, Tahoma, sans-serif"
|
||||
fontWeight={700}
|
||||
fontSize={18}
|
||||
>
|
||||
<VideoText
|
||||
src="/block-media/shadcnblocks/block/landscape.mp4"
|
||||
className="font-playfair text-[15rem] font-bold tracking-tighter"
|
||||
fontFamily="Playfair Display"
|
||||
>
|
||||
کامپوننتها
|
||||
</VideoText>
|
||||
</motion.div>
|
||||
</div>
|
||||
کامپوننتها
|
||||
</VideoText>
|
||||
</motion.div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user