"use client"; import { motion } from "motion/react"; import React, { useState } from "react"; import { cn } from "@/lib/utils"; const FEATURES = [ { id: "instant", number: "۱", title: "لاگ اجرا", description: "با هر رویداد مثل ثبت فرم یا تغییر وضعیت، اقدام بعدی را خودکار اجرا کنید.", image: "/block-media/shadcnblocks/block/guri3/img11.jpeg", imageAlt: "سازنده گردشکار", imageOrder: "order-1", contentOrder: "order-2", }, { id: "one-time", number: "۲", title: "قالب آماده", description: "مسیر متفاوت برای شرایط مختلف تعریف کنید و تصمیمگیری را سریعتر کنید.", image: "/block-media/shadcnblocks/block/guri3/img12.jpeg", imageAlt: "نمای اتوماسیون فرایند", imageOrder: "order-2", contentOrder: "order-1", }, { id: "developer", number: "۰۳", title: "اتصال ابزار", description: "تیم را در لحظه از تغییر وضعیت باخبر کنید تا هیچ موردی رها نشود.", image: "/block-media/shadcnblocks/block/guri3/img14.jpeg", imageAlt: "لاگ اجرای خودکار", imageOrder: "order-1", contentOrder: "order-2", }, ] as const; const Feature270 = () => { return ( فرایندها را استاندارد و سریع کنید قوانین ساده تعریف کنید تا وظایف تکراری بدون دخالت دست انجام شود. تیم روی تصمیمهای مهم تمرکز میکند و سرعت اجرا بالاتر میرود. {FEATURES.map((feature) => ( {feature.number} {feature.title} {feature.description} ))} ); }; export { Feature270 }; // Below is the modified component from Aceternity UI // Original source: npx shadcn@latest add https://ui.aceternity.com/registry/3d-pin.json // Modified to follow our coding standards and design system // We respect copyright and attribution to the original creators export const PinContainer = ({ children, title, href, className, containerClassName, }: { children: React.ReactNode; title?: string; href?: string; className?: string; containerClassName?: string; }) => { const [transform, setTransform] = useState( "translate(-50%,-50%) rotateX(0deg)", ); const onMouseEnter = () => { setTransform("translate(-50%,-50%) rotateX(40deg) scale(0.8)"); }; const onMouseLeave = () => { setTransform("translate(-50%,-50%) rotateX(0deg) scale(1)"); }; return ( {children} ); }; export const PinPerspective = ({ title, }: { title?: string; href?: string; }) => { return ( {title} <> > <> > ); };
قوانین ساده تعریف کنید تا وظایف تکراری بدون دخالت دست انجام شود. تیم روی تصمیمهای مهم تمرکز میکند و سرعت اجرا بالاتر میرود.
{feature.number}
{feature.description}