mirror of
https://github.com/evroon/bracket.git
synced 2026-01-03 11:38:01 -05:00
Use https://github.com/shuding/nextra and https://github.com/leoMirandaa/shadcn-landing-page instead of Docusaurus.
39 lines
871 B
TypeScript
39 lines
871 B
TypeScript
export const Statistics = () => {
|
|
interface statsProps {
|
|
quantity: string;
|
|
description: string;
|
|
}
|
|
|
|
const stats: statsProps[] = [
|
|
{
|
|
quantity: "2.7K+",
|
|
description: "Users",
|
|
},
|
|
{
|
|
quantity: "1.8K+",
|
|
description: "Subscribers",
|
|
},
|
|
{
|
|
quantity: "112",
|
|
description: "Downloads",
|
|
},
|
|
{
|
|
quantity: "4",
|
|
description: "Products",
|
|
},
|
|
];
|
|
|
|
return (
|
|
<section id="statistics">
|
|
<div className="grid grid-cols-2 lg:grid-cols-4 gap-8">
|
|
{stats.map(({ quantity, description }: statsProps) => (
|
|
<div key={description} className="space-y-2 text-center">
|
|
<h2 className="text-3xl sm:text-4xl font-bold ">{quantity}</h2>
|
|
<p className="text-xl text-muted-foreground">{description}</p>
|
|
</div>
|
|
))}
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|