diff --git a/src/components/sections/about/AboutMetric.tsx b/src/components/sections/about/AboutMetric.tsx index ed61941..d05ebc5 100644 --- a/src/components/sections/about/AboutMetric.tsx +++ b/src/components/sections/about/AboutMetric.tsx @@ -34,15 +34,6 @@ export default function AboutMetric({ const bgClass = useInvertedBackground ? 'bg-slate-900' : 'bg-white'; const textClass = useInvertedBackground ? 'text-white' : 'text-slate-900'; - const getAnimationDelay = (index: number) => { - if (metricsAnimation === 'slide-up') { - return { - transitionDelay: `${index * 100}ms`, - }; - } - return {}; - }; - return (
@@ -62,10 +53,11 @@ export default function AboutMetric({ key={index} className="h-64 cursor-pointer perspective" onClick={() => toggleFlip(index)} - style={getAnimationDelay(index)} >
{/* Front Side */}
- -

+ +

{metric.label}

-

+

{metric.value}

-

- Click to learn more +

+ Click to flip

{/* Back Side */}
-

- {metric.label}: {metric.value} represents our commitment to excellence and continuous growth in this area. -

-

- Click to flip back +

+ {metric.label}: {metric.value} represents our commitment to + excellence and continuous growth in the tech community.