MBO-Tech-IT-Webseite/components/StatsBar.tsx

21 lines
608 B
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Kennzahlen des Inhabers, unverändert übernommen; statisch gesetzt, damit sie auch ohne Skript stimmen.
const stats = [
{ value: "30+", label: "Jahre IT-Erfahrung" },
{ value: "99 %", label: "Server-Uptime" },
{ value: "50+", label: "Abgeschlossene Projekte" },
{ value: "24 h", label: "Support-Reaktionszeit" },
];
export default function StatsBar() {
return (
<div className="figs" style={{ gridColumn: "1 / -1" }}>
{stats.map((stat) => (
<div key={stat.label}>
<b>{stat.value}</b>
<span>{stat.label}</span>
</div>
))}
</div>
);
}