"use client"; import { motion, useReducedMotion } from "motion/react"; import { Check, ChevronLeft, LayoutTemplate, Lock } from "lucide-react"; import Link from "next/link"; import { Container } from "@/components/container"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { blockEase } from "@/lib/block-motion"; import { layout } from "@/lib/layout"; import { type } from "@/lib/typography"; import { cn } from "@/lib/utils"; /** Soft page-load entrance — opacity + gentle rise. */ const heroFadeEase = blockEase; const heroContainerVariants = { hidden: {}, visible: { transition: { staggerChildren: 0.14, delayChildren: 0.06, }, }, }; const heroColumnVariants = { hidden: {}, visible: { transition: { staggerChildren: 0.09, delayChildren: 0.04, }, }, }; const heroItemVariants = { hidden: { opacity: 0, y: 14 }, visible: { opacity: 1, y: 0, transition: { duration: 0.7, ease: heroFadeEase }, }, }; const heroMockupVariants = { hidden: { opacity: 0, y: 20, scale: 0.985 }, visible: { opacity: 1, y: 0, scale: 1, transition: { duration: 0.9, ease: heroFadeEase }, }, }; /** Very soft float — long cycle, tiny travel, custom ease. */ const floatTransition = { duration: 11, repeat: Infinity, ease: [0.45, 0.05, 0.55, 0.95] as const, }; const trustAvatars = [ { initials: "سا", tone: "bg-primary/15 text-primary" }, { initials: "ام", tone: "bg-muted text-foreground" }, { initials: "نر", tone: "bg-primary/10 text-primary" }, { initials: "مد", tone: "bg-muted text-muted-foreground" }, ] as const; const screenBlocks = [ { label: "طراحی", w: "w-[42%]" }, { label: "سئو", w: "w-[34%]" }, { label: "پشتیبانی", w: "w-[48%]" }, ] as const; /** Soft ease for in-screen design loop. */ const screenLoopEase = [0.45, 0.05, 0.55, 0.95] as const; /** Extra-soft ease for skeleton text lines — slow in/out, no snap. */ const screenLineEase = [0.37, 0, 0.2, 1] as const; const screenLineTransition = { duration: 9.5, repeat: Infinity, ease: screenLineEase, times: [0, 0.35, 0.65, 1] as const, }; interface HeroReuiProps { className?: string; } export function HeroReui({ className }: HeroReuiProps) { const reduceMotion = useReducedMotion(); return (
{/* Copy */} اصفهان طراحی سایت و سئو حرفه‌ای امین رایان امینِ رویای آنلاین از طراحی وب‌سایت حرفه‌ای تا بهینه‌سازی موتورهای جستجو و پشتیبانی پایدار؛ همراه مطمئن کسب‌وکارهای اصفهان و سراسر ایران.
{trustAvatars.map((avatar) => ( {avatar.initials} ))}

مورد اعتماد کسب‌وکارهایی که رشد آنلاین می‌خواهند

{/* Desk + monitor scene */}
{/* Soft status chip — kept minimal beside the desk */}

در حال طراحی

لندینگ فروشگاهی

پیش‌نمایش زنده
); } function DeskMonitorMockup({ reduceMotion }: { reduceMotion: boolean }) { return (
{/* Soft desk glow behind monitor */}
{/* Monitor + stand float above a fixed desk */}
{/* Camera notch */}
{/* Screen */}
{/* Neck */}
{/* Stand base */}
{/* Desk surface stays grounded */}
{/* Tiny desk props */}
); } function LiveWebsiteScreen({ reduceMotion }: { reduceMotion: boolean }) { return (
{/* Browser chrome */}
preview.aminrayan.ir {!reduceMotion && ( )}
{/* Mini site canvas */}
{/* Soft page wash */}
{/* Ambient light sweep across the canvas */} {!reduceMotion && ( )}
{/* Mini nav */}
برند شما
{[0, 1, 2].map((i) => ( ))}
{/* Hero copy block — soft breathe via scale (no layout width jumps) */}
{/* CTA — click target for cursor loop */}
شروع پروژه {/* Click ripple */} {!reduceMotion && ( )}
{/* Soft progress / build bar */}
{!reduceMotion ? ( ) : (
)}
{/* Content cards — rise in, highlight in sequence */}
{screenBlocks.map((block, i) => (
))}
{/* Design cursor — explores nav → CTA click → cards */} {!reduceMotion && ( )}
); } function DesignCursor() { return ( ); }