Update animated-stats-section.tsx

This commit is contained in:
NotII
2025-03-28 23:45:05 +00:00
parent 1bec653206
commit a1a337caac

View File

@@ -2,7 +2,6 @@
import { Package, Users, CreditCard } from "lucide-react";
import { AnimatedCounter } from "./animated-counter";
import { TextTyper } from "./text-typer";
import { PlatformStats } from "@/lib/stats-service";
const formatCurrency = (value: number) => {
@@ -32,18 +31,10 @@ export function AnimatedStatsSection({ stats }: AnimatedStatsProps) {
/>
</div>
<h3 className="text-xl font-bold text-white">
<TextTyper
text="Completed Orders"
typingSpeed={30}
delay={500}
/>
Completed Orders
</h3>
<p className="text-center text-zinc-400">
<TextTyper
text="Successfully fulfilled orders across our platform"
typingSpeed={10}
delay={1500}
/>
Successfully fulfilled orders across our platform
</p>
</div>
@@ -59,18 +50,10 @@ export function AnimatedStatsSection({ stats }: AnimatedStatsProps) {
/>
</div>
<h3 className="text-xl font-bold text-white">
<TextTyper
text="Registered Vendors"
typingSpeed={30}
delay={1000}
/>
Registered Vendors
</h3>
<p className="text-center text-zinc-400">
<TextTyper
text="Active sellers offering products on our marketplace"
typingSpeed={10}
delay={2000}
/>
Active sellers offering products on our marketplace
</p>
</div>
@@ -86,18 +69,10 @@ export function AnimatedStatsSection({ stats }: AnimatedStatsProps) {
/>
</div>
<h3 className="text-xl font-bold text-white">
<TextTyper
text="Transaction Volume"
typingSpeed={30}
delay={1500}
/>
Transaction Volume
</h3>
<p className="text-center text-zinc-400">
<TextTyper
text="Total value of successful transactions processed"
typingSpeed={10}
delay={2500}
/>
Total value of successful transactions processed
</p>
</div>
</div>