51 lines
1.8 KiB
TypeScript
51 lines
1.8 KiB
TypeScript
"use client";
|
|
|
|
import { motion } from "framer-motion";
|
|
import { ArrowRight } from "lucide-react";
|
|
import React from "react";
|
|
|
|
import { VideoText } from "@/components/magicui/video-text";
|
|
import { Button } from "@/components/ui/button";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface Hero221Props {
|
|
className?: string;
|
|
}
|
|
|
|
const Hero221 = ({ className }: Hero221Props) => {
|
|
return (
|
|
<section className={cn("py-32", className)}>
|
|
<div className="container">
|
|
<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 mt-32 flex h-[250px] w-full items-center"
|
|
>
|
|
<VideoText
|
|
src="/block-media/shadcnblocks/block/ocean1080.mov"
|
|
className="font-playfair text-[15rem] font-bold tracking-tighter"
|
|
fontFamily="Cal Sans"
|
|
>
|
|
کامپوننتها
|
|
</VideoText>
|
|
</motion.div>
|
|
<p className="-mt-10 max-w-xl text-center text-lg text-muted-foreground">
|
|
صدها کامپوننت استاندارد و قابل سفارشیسازی که مستقیماً در پروژههای شما قابل استفاده هستند.
|
|
</p>
|
|
</div>
|
|
<Button
|
|
variant="secondary"
|
|
className="text-md group mx-auto mt-24 flex w-fit items-center justify-center gap-2 rounded-full px-4 py-1 tracking-tight"
|
|
>
|
|
<span>شروع رایگان</span>
|
|
<ArrowRight className="size-4 -rotate-45 transition-all ease-out group-hover:ms-3 group-hover:rotate-0 rtl:rotate-180" />
|
|
</Button>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { Hero221 };
|