Add src/components/sections/about/AboutMetric.js
This commit is contained in:
40
src/components/sections/about/AboutMetric.js
Normal file
40
src/components/sections/about/AboutMetric.js
Normal file
@@ -0,0 +1,40 @@
|
||||
import React from 'react';
|
||||
|
||||
function AboutMetric() {
|
||||
const metrics = [
|
||||
{ value: '10K+', label: 'Happy Customers' },
|
||||
{ value: '50+', label: 'Components' },
|
||||
{ value: '99.9%', label: 'Uptime' },
|
||||
{ value: '24/7', label: 'Support' }
|
||||
];
|
||||
|
||||
return (
|
||||
<section className="py-16 bg-white">
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div className="text-center mb-12">
|
||||
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
|
||||
Trusted by developers worldwide
|
||||
</h2>
|
||||
<p className="text-xl text-gray-600 max-w-2xl mx-auto">
|
||||
Our platform is used by thousands of developers and companies to build amazing web experiences.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-2 md:grid-cols-4 gap-8">
|
||||
{metrics.map((metric, index) => (
|
||||
<div key={index} className="text-center">
|
||||
<div className="text-4xl md:text-5xl font-bold text-blue-600 mb-2">
|
||||
{metric.value}
|
||||
</div>
|
||||
<div className="text-gray-600 font-medium">
|
||||
{metric.label}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
export default AboutMetric;
|
||||
Reference in New Issue
Block a user