File size: 1,724 Bytes
cfaedfc
 
d8804ab
cfaedfc
d8804ab
 
cfaedfc
 
d8804ab
 
 
 
 
 
cfaedfc
 
 
d8804ab
 
 
 
 
cfaedfc
 
 
d8804ab
 
 
cfaedfc
 
 
 
d8804ab
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
"use client";

import { NumberTicker } from "@/components/ui/number-ticker";
import { useLanguage } from "@/components/LanguageContext";

export function HubPulseMetrics() {
  const { t } = useLanguage();

  return (
    <div className="grid grid-cols-1 md:grid-cols-3 gap-10 md:gap-8 py-8 md:py-12 px-4 md:px-6 border-y border-border/10 bg-background/5 backdrop-blur-md w-full max-w-5xl mx-auto my-8 md:my-16 rounded-3xl shadow-sm relative z-10">
      <div className="flex flex-col items-center justify-center space-y-2 text-center">
        <span className="text-4xl md:text-5xl font-extrabold text-foreground flex items-center">
          <NumberTicker value={140} />+
        </span>
        <span className="text-xs md:text-sm font-semibold text-muted-foreground uppercase tracking-widest">
          {t("pulseMetricModels")}
        </span>
      </div>
      <div className="flex flex-col items-center justify-center space-y-2 text-center">
        <span className="text-4xl md:text-5xl font-extrabold text-primary flex items-center">
          <NumberTicker value={99.99} decimalPlaces={2} />%
        </span>
        <span className="text-xs md:text-sm font-semibold text-muted-foreground uppercase tracking-widest">
          {t("pulseMetricUptime")}
        </span>
      </div>
      <div className="flex flex-col items-center justify-center space-y-2 text-center">
        <span className="text-4xl md:text-5xl font-extrabold text-foreground flex items-center">
          <NumberTicker value={12} />+
        </span>
        <span className="text-xs md:text-sm font-semibold text-muted-foreground uppercase tracking-widest">
          {t("pulseMetricProviders")}
        </span>
      </div>
    </div>
  );
}