Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,94 @@
|
||||
"use client";
|
||||
|
||||
import { motion } from "framer-motion";
|
||||
import { ArrowRight } from "lucide-react";
|
||||
import React from "react";
|
||||
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
const teamMembers = [
|
||||
{
|
||||
id: 1,
|
||||
name: "علی رضوی",
|
||||
designation: "مدیرعامل و بنیانگذار",
|
||||
image:
|
||||
"/block-media/shadcnblocks/block/guri4/img14.png",
|
||||
className: "lg:mt-0",
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: "سارا احمدی",
|
||||
designation: "مدیر طراحی",
|
||||
image:
|
||||
"/block-media/shadcnblocks/block/guri4/img4.png",
|
||||
className: "lg:mt-[5%]",
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: "امیر محمدی",
|
||||
designation: "توسعهدهنده ارشد",
|
||||
image:
|
||||
"/block-media/shadcnblocks/block/guri4/img12.png",
|
||||
className: "lg:mt-[10%]",
|
||||
},
|
||||
];
|
||||
|
||||
interface Team12Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const Team12 = ({ className }: Team12Props) => {
|
||||
return (
|
||||
<section dir="rtl" lang="fa" className={cn("py-32", className)}>
|
||||
<div className="container">
|
||||
<div className="relative w-full">
|
||||
<div className="flex justify-between text-sm font-medium tracking-tight lg:text-xl">
|
||||
<p>[ با تیم فوقالعاده ما آشنا شوید ]</p>
|
||||
<a
|
||||
href="#"
|
||||
aria-label="به تیم ما بپیوندید"
|
||||
className="group flex cursor-pointer items-center gap-2 text-muted-foreground hover:text-foreground"
|
||||
>
|
||||
[ به ما بپیوندید
|
||||
<ArrowRight className="size-[1em] transition-transform duration-300 group-hover:rotate-45 rtl:rotate-180" />
|
||||
]
|
||||
</a>
|
||||
</div>
|
||||
<div className="mt-10 flex justify-between gap-4 lg:gap-[10vw]">
|
||||
{teamMembers.map((member, idx) => (
|
||||
<div key={member.id} className={cn(member.className, "w-1/2")}>
|
||||
<motion.div
|
||||
initial={{ clipPath: "inset(0% 0% 100% 0%)" }}
|
||||
animate={{ clipPath: "inset(0% 0% 0% 0%)" }}
|
||||
transition={{
|
||||
type: "spring",
|
||||
stiffness: 150,
|
||||
damping: 20,
|
||||
delay: idx * 0.05,
|
||||
}}
|
||||
className={cn(member.className, "h-112 overflow-hidden")}
|
||||
>
|
||||
<img
|
||||
src={member.image}
|
||||
alt={member.name}
|
||||
className="pointer-events-none h-full w-full object-cover object-top"
|
||||
/>
|
||||
</motion.div>
|
||||
<div className="pt-4 pb-1 text-start">
|
||||
<p className="font-medium tracking-tight text-foreground lg:text-xl lg:text-lg">
|
||||
{member.name}
|
||||
</p>
|
||||
<p className="text-sm text-foreground/50">
|
||||
{member.designation}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Team12 };
|
||||
Reference in New Issue
Block a user