Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
"use client";
|
||||
|
||||
import { motion } from "framer-motion";
|
||||
import React from "react";
|
||||
|
||||
import { VideoText } from "@/components/magicui/video-text";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
interface Hero220Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const Hero220 = ({ className }: Hero220Props) => {
|
||||
return (
|
||||
<section
|
||||
className={cn(
|
||||
"relative flex min-h-screen flex-col items-center justify-center overflow-hidden py-32",
|
||||
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"
|
||||
>
|
||||
<VideoText
|
||||
src="/block-media/shadcnblocks/block/landscape.mp4"
|
||||
className="font-playfair text-[15rem] font-bold tracking-tighter"
|
||||
fontFamily="Playfair Display"
|
||||
>
|
||||
کامپوننتها
|
||||
</VideoText>
|
||||
</motion.div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Hero220 };
|
||||
Reference in New Issue
Block a user