Add src/components/sections/feature/FeatureCardOne.js

This commit is contained in:
2026-01-20 13:58:28 +00:00
parent 05140b30ce
commit 9d3bc9d3c2

View File

@@ -0,0 +1,57 @@
import React from 'react';
import { Rocket, Zap, Shield, Users } from 'lucide-react';
function FeatureCardOne() {
const features = [
{
icon: <Rocket size={32} />,
title: "Fast Performance", description: "Lightning-fast loading times with optimized components and modern build tools.", image: "/images/rocket.518dadfa-1768917245450.svg"
},
{
icon: <Zap size={32} />,
title: "Easy to Use", description: "Simple APIs and intuitive design make development a breeze for teams of all sizes.", image: "/images/magic-wand.ff01fe1d-1768917245455.svg"
},
{
icon: <Shield size={32} />,
title: "Type Safe", description: "Built with TypeScript for better developer experience and fewer runtime errors.", image: "/images/type-safety.34453790-1768917245458.svg"
},
{
icon: <Users size={32} />,
title: "Team Friendly", description: "Collaborative tools and documentation to help your team work together effectively.", image: "/images/quality.d1d04ce8-1768917245456.svg"
}
];
return (
<section className="py-20 bg-white">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="text-center mb-16">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
Why Choose Our Platform?
</h2>
<p className="text-xl text-gray-600 max-w-2xl mx-auto">
We've built everything you need to create amazing web experiences,
from the ground up with modern best practices.
</p>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
{features.map((feature, index) => (
<div key={index} className="bg-white rounded-xl p-6 shadow-lg hover:shadow-xl transition-shadow border border-gray-100">
<div className="text-blue-600 mb-4">
{feature.icon}
</div>
<h3 className="text-xl font-semibold text-gray-900 mb-3">
{feature.title}
</h3>
<p className="text-gray-600 leading-relaxed">
{feature.description}
</p>
</div>
))}
</div>
</div>
</section>
);
}
export default FeatureCardOne;