import React from 'react'; import { motion, useReducedMotion } from 'framer-motion'; const fadeUpPreset = (delay = 0, duration = 1.2) => ({ initial: { opacity: 0, y: 20 }, whileInView: { opacity: 1, y: 0 }, viewport: { once: true, amount: 0.2 }, transition: { delay, duration, ease: "easeOut" } }); function Features() { const shouldReduce = useReducedMotion(); const features = [ { icon: ( ), title: "EXTENSIBLE", description: "Provides unparalleled flexibility through its meticulously crafted modular architecture." }, { icon: ( ), title: "VERSATILE", description: "Serves as a robust, elegant, and well-structured foundation for all kinds of server-side applications." }, { icon: ( ), title: "PROGRESSIVE", description: "Introduces design patterns and well-established solutions to the Node.js landscape." } ]; if (shouldReduce) { return ( {features.map((feature, index) => ( {feature.icon} {feature.title} {feature.description} ))} ); } return ( {features.map((feature, index) => ( {feature.icon} {feature.title} {feature.description} ))} ); } export default Features;
{feature.description}