import { Users, Layers, MapPin } from "lucide-react"; import { SectionHeading } from "@/components/ui/SectionHeading"; import { Reveal } from "@/components/ui/Reveal"; import type { SiteContent } from "@/types/content"; interface AboutStats { trainers: number; classes: number; locations: number; } interface AboutProps { data: SiteContent["about"]; stats: AboutStats; } export function About({ data: about, stats }: AboutProps) { const statItems = [ { icon: , value: String(stats.trainers), label: "тренеров" }, { icon: , value: String(stats.classes), label: "направлений" }, { icon: , value: String(stats.locations), label: "зала в Минске" }, ]; return ( {about.title} {about.paragraphs.map((text) => ( {text} ))} {/* Stats */} {statItems.map((stat, i) => ( {stat.icon} {stat.value} {stat.label} ))} ); }
{text}