132 lines
6.1 KiB
TypeScript
132 lines
6.1 KiB
TypeScript
"use client";
|
|
|
|
import { motion } from "framer-motion";
|
|
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface Project5aProps {
|
|
className?: string;
|
|
}
|
|
|
|
const Project5a = ({ className }: Project5aProps) => {
|
|
const fadeInUp = {
|
|
initial: { opacity: 0, y: 20 },
|
|
animate: { opacity: 1, y: 0 },
|
|
transition: { duration: 0.6 },
|
|
};
|
|
|
|
const staggerContainer = {
|
|
animate: {
|
|
transition: {
|
|
staggerChildren: 0.1,
|
|
},
|
|
},
|
|
};
|
|
|
|
return (
|
|
<section dir="rtl" lang="fa" className={cn("py-24 md:py-32", className)}>
|
|
<div className="container">
|
|
<motion.header
|
|
className="pb-12 text-start md:pb-16"
|
|
initial="initial"
|
|
animate="animate"
|
|
variants={staggerContainer}
|
|
>
|
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-3">
|
|
<motion.div variants={fadeInUp} className="lg:col-span-2">
|
|
<div className="space-y-6">
|
|
<div className="flex items-center gap-3">
|
|
<div className="h-0.5 w-8 bg-primary"></div>
|
|
<span className="text-sm font-medium tracking-wider text-muted-foreground">نمایش زنده آنلاین</span>
|
|
</div>
|
|
<h1 className="text-5xl font-bold tracking-tight text-foreground md:text-6xl lg:text-7xl">فرآیند طراحی</h1>
|
|
<p className="max-w-2xl text-lg leading-relaxed text-muted-foreground">کاوشی معاصر در الگوهای رابط از مسیر یک دیزاین سیستم. این کار مرز میان کامپوننتهای استاندارد و تجربه سفارشی را به چالش کسبوکار میکشد.</p>
|
|
</div>
|
|
</motion.div>
|
|
|
|
<motion.div
|
|
variants={fadeInUp}
|
|
className="flex h-full flex-col justify-end"
|
|
>
|
|
<div className="space-y-3">
|
|
<div className="flex justify-between">
|
|
<span className="text-sm text-muted-foreground">دمو</span>
|
|
<span className="text-sm font-medium text-foreground">معرفی نکسوس لبز</span>
|
|
</div>
|
|
<div className="flex justify-between">
|
|
<span className="text-sm text-muted-foreground">سال همکاری</span>
|
|
<span className="text-sm font-medium text-foreground">
|
|
۲۲۴
|
|
</span>
|
|
</div>
|
|
<div className="flex justify-between">
|
|
<span className="text-sm text-muted-foreground">رسانه</span>
|
|
<span className="text-sm font-medium text-foreground">چشمانداز طراحی</span>
|
|
</div>
|
|
</div>
|
|
</motion.div>
|
|
</div>
|
|
</motion.header>
|
|
|
|
<motion.main
|
|
initial="initial"
|
|
animate="animate"
|
|
variants={staggerContainer}
|
|
className="space-y-12 md:space-y-16"
|
|
>
|
|
<motion.div variants={fadeInUp}>
|
|
<div className="relative aspect-[16/9] overflow-hidden rounded-lg bg-muted/30">
|
|
<img
|
|
src="/block-media/shadcnblocks/block/photos/nastuh-abootalebi-eHD8Y1Znfpk-unsplash.jpg"
|
|
alt="نمایش کتابخانه کامپوننت مدرن ارائه معاصر یک دیزاین سیستم متنباز"
|
|
className="h-full w-full object-cover"
|
|
/>
|
|
<div className="absolute inset-0 bg-background/5" />
|
|
</div>
|
|
</motion.div>
|
|
|
|
<motion.div
|
|
variants={fadeInUp}
|
|
className="grid grid-cols-1 gap-12 text-start lg:grid-cols-2"
|
|
>
|
|
<div className="space-y-6">
|
|
<div className="space-y-4">
|
|
<div className="flex items-center gap-3">
|
|
<div className="h-0.5 w-6 bg-primary"></div>
|
|
<span className="text-sm font-medium tracking-wider text-muted-foreground">مهندسی فرانتاند</span>
|
|
</div>
|
|
<h2 className="text-3xl font-bold tracking-tight text-foreground lg:text-4xl">پژواک کتابخانه کامپوننت</h2>
|
|
</div>
|
|
<div className="space-y-4">
|
|
<p className="leading-relaxed text-muted-foreground">این مجموعه از کاوش عمیق ما در الگوهای تکرارشونده رابط کاربری برمیخیزد. با مشاهده دقیق و طراحی اصولی، جوهره کامپوننتهای قابلاستفاده مجدد، ساختار بلاکها و رفتار حالتها را استخراج کردهایم.</p>
|
|
<p className="leading-relaxed text-muted-foreground">این نمایش، توسعهدهنده را دعوت میکند رابطه خود با بلاکهای رابط را از نو ببیند و گفتوگویی میان کاربر و سادگی خام کامپوننتها و الگوهای رابط میآفریند.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div className="space-y-6">
|
|
<div className="relative aspect-square overflow-hidden rounded-lg bg-muted/30">
|
|
<img
|
|
src="/block-media/shadcnblocks/block/photos/nastuh-abootalebi-yWwob8kwOCk-unsplash.jpg"
|
|
alt="پژواک کتابخانه کامپوننت متنباز مبتنی بر ری یو آی"
|
|
className="h-full w-full object-cover"
|
|
/>
|
|
<div className="absolute inset-0 bg-background/5" />
|
|
</div>
|
|
<div className="relative aspect-square overflow-hidden rounded-lg bg-muted/30">
|
|
<img
|
|
src="/block-media/shadcnblocks/block/photos/zhao-yangyang-4uMRVFnJcP4-unsplash.jpg"
|
|
alt="نمای جزئی از یک کامپوننت ترکیب کد و طراحی"
|
|
className="h-full w-full object-cover"
|
|
/>
|
|
<div className="absolute inset-0 bg-background/5" />
|
|
</div>
|
|
</div>
|
|
</motion.div>
|
|
</motion.main>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { Project5a };
|