Files
d4c63057-1346-4ad9-8eb9-f2b…/src/components/SupportSection.js
2026-01-15 14:46:18 +02:00

41 lines
1.4 KiB
JavaScript

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" }
});
const SupportSection = () => {
const shouldReduceMotion = useReducedMotion();
const sectionContent = (
<section className="py-20 bg-gray-900">
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h2 className="text-4xl md:text-5xl font-bold text-white mb-6">
Does your team need additional support?
</h2>
<p className="text-xl text-gray-300 mb-12 max-w-3xl mx-auto leading-relaxed">
Nest core team members can work directly with your team on a daily basis to help take your project to the next-level. Let us partner with you and your team to develop the most ambitious projects.
</p>
<button className="bg-brand-pink hover:bg-brand-pink-dark text-white font-semibold px-8 py-4 rounded-full transition-colors duration-200 text-lg">
Contact us
</button>
</div>
</section>
);
if (shouldReduceMotion) {
return sectionContent;
}
return (
<motion.div {...fadeUpPreset(0.2, 1.0)}>
{sectionContent}
</motion.div>
);
};
export default SupportSection;