Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,177 @@
|
||||
"use client";
|
||||
|
||||
import { motion } from "framer-motion";
|
||||
|
||||
import { Separator } from "@/components/ui/separator";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
interface Project9Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const Project9 = ({ className }: Project9Props) => {
|
||||
const images = [
|
||||
{
|
||||
src: "/block-media/shadcnblocks/block/lummi/bw2.jpeg",
|
||||
alt: "داشبورد تحلیل فروش",
|
||||
},
|
||||
{
|
||||
src: "/block-media/shadcnblocks/block/lummi/bw3.jpeg",
|
||||
alt: "پرتره در منظر طبیعی",
|
||||
},
|
||||
{
|
||||
src: "/block-media/shadcnblocks/block/lummi/bw4.jpeg",
|
||||
alt: "دره کوهستانی مهآلود",
|
||||
},
|
||||
{
|
||||
src: "/block-media/shadcnblocks/block/lummi/bw5.jpeg",
|
||||
alt: "نمودار عملکرد کمپین",
|
||||
},
|
||||
{
|
||||
src: "/block-media/shadcnblocks/block/lummi/bw6.jpeg",
|
||||
alt: "داشبورد تحلیل فروش",
|
||||
},
|
||||
{
|
||||
src: "/block-media/shadcnblocks/block/lummi/bw7.jpeg",
|
||||
alt: "پرتره در منظر طبیعی",
|
||||
},
|
||||
{
|
||||
src: "/block-media/shadcnblocks/block/lummi/bw8.jpeg",
|
||||
alt: "دره کوهستانی مهآلود",
|
||||
},
|
||||
{
|
||||
src: "/block-media/shadcnblocks/block/lummi/bw9.jpeg",
|
||||
alt: "نمودار عملکرد کمپین",
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<section dir="rtl" lang="fa" className={cn("py-20", className)}>
|
||||
<div className="container flex flex-col gap-8 lg:flex-row">
|
||||
<motion.div
|
||||
className="top-0 flex h-auto w-full flex-col justify-start p-6 text-start sm:p-8 lg:sticky lg:h-screen lg:w-1/2"
|
||||
initial={{ opacity: 0, x: 30 }}
|
||||
animate={{ opacity: 1, x: 0 }}
|
||||
transition={{ duration: 0.6 }}
|
||||
>
|
||||
<nav className="mb-12">
|
||||
<div className="flex flex-wrap items-center gap-2 text-sm text-muted-foreground">
|
||||
<span className="cursor-pointer transition-colors hover:text-foreground">
|
||||
مطالعات موردی
|
||||
</span>
|
||||
<span>/</span>
|
||||
<span className="cursor-pointer transition-colors hover:text-foreground">
|
||||
تحلیل
|
||||
</span>
|
||||
<span>/</span>
|
||||
<span className="text-foreground">بازطراحی داشبورد CRM</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<motion.h1
|
||||
className="mb-12 text-4xl leading-tight font-light sm:text-5xl md:text-6xl"
|
||||
initial={{ opacity: 0, y: 30 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
transition={{ duration: 0.8, delay: 0.2 }}
|
||||
>
|
||||
بازطراحی داشبورد CRM
|
||||
</motion.h1>
|
||||
|
||||
<div className="space-y-8">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
transition={{ duration: 0.6, delay: 0.4 }}
|
||||
>
|
||||
<div className="mb-4 flex items-center justify-between">
|
||||
<h3 className="text-lg font-medium">ثبت شده</h3>
|
||||
<span className="text-muted-foreground">۲ فوریه ۲۲۵</span>
|
||||
</div>
|
||||
<Separator />
|
||||
</motion.div>
|
||||
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
transition={{ duration: 0.6, delay: 0.5 }}
|
||||
>
|
||||
<div className="mb-4 flex items-center justify-between">
|
||||
<h3 className="text-lg font-medium">موقعیت</h3>
|
||||
<span className="text-muted-foreground">نیمکره شمالی</span>
|
||||
</div>
|
||||
<Separator />
|
||||
</motion.div>
|
||||
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
transition={{ duration: 0.6, delay: 0.6 }}
|
||||
>
|
||||
<div className="mb-4">
|
||||
<h3 className="mb-4 text-lg font-medium">مرور پروژه</h3>
|
||||
<p className="leading-relaxed text-muted-foreground">
|
||||
بازطراحی رابط داشبورد CRM برای یک شرکت B2B با ۲۰۰ کاربر
|
||||
فعال. تمرکز بر نمایش KPIهای فروش، قیف معاملات و گزارشهای
|
||||
عملکرد تیم در یک نمای یکپارچه و قابلاقدام.
|
||||
</p>
|
||||
</div>
|
||||
</motion.div>
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
<div className="w-full lg:w-1/2">
|
||||
<motion.div
|
||||
className="p-6 sm:p-8"
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 1 }}
|
||||
transition={{ duration: 0.8, delay: 0.3 }}
|
||||
>
|
||||
<motion.div
|
||||
className="overflow-hidden rounded-lg"
|
||||
initial={{ opacity: 0, y: 50 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
transition={{ duration: 0.6, ease: "easeOut" }}
|
||||
whileHover={{ scale: 1.02, transition: { duration: 0.3 } }}
|
||||
>
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/lummi/bw1.jpeg"
|
||||
className="max-h-[30rem] w-full object-cover transition-transform duration-700 hover:scale-105"
|
||||
alt="تصویر شاخص پروژه"
|
||||
/>
|
||||
</motion.div>
|
||||
</motion.div>
|
||||
|
||||
<motion.div
|
||||
className="grid grid-cols-1 gap-6 px-6 pb-16 sm:grid-cols-2 sm:px-8"
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 1 }}
|
||||
transition={{ duration: 0.8, delay: 0.4 }}
|
||||
>
|
||||
{images.map((image, index) => (
|
||||
<motion.div
|
||||
key={index}
|
||||
className="overflow-hidden rounded-lg"
|
||||
initial={{ opacity: 0, y: 50 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
transition={{
|
||||
duration: 0.6,
|
||||
delay: 0.5 + index * 0.1,
|
||||
ease: "easeOut",
|
||||
}}
|
||||
whileHover={{ scale: 1.02, transition: { duration: 0.3 } }}
|
||||
>
|
||||
<img
|
||||
src={image.src}
|
||||
alt={image.alt}
|
||||
className="h-full w-full object-cover transition-transform duration-700 hover:scale-105"
|
||||
/>
|
||||
</motion.div>
|
||||
))}
|
||||
</motion.div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Project9 };
|
||||
Reference in New Issue
Block a user