"use client"; import type { SeasonalWeather, SeasonStats } from "@/types/site-finder"; interface Props { seasonal: SeasonalWeather | null | undefined; } const SEASON_CONFIG: Array<{ key: keyof SeasonalWeather["seasons"]; label: string; bg: string; color: string; }> = [ { key: "winter", label: "Зима", bg: "#dbeafe", color: "#1e40af" }, { key: "spring", label: "Весна", bg: "#dcfce7", color: "#15803d" }, { key: "summer", label: "Лето", bg: "#fef3c7", color: "#92400e" }, { key: "autumn", label: "Осень", bg: "#fed7aa", color: "#c2410c" }, ]; function SeasonCard({ label, bg, color, stats, }: { label: string; bg: string; color: string; stats: SeasonStats; }) { return (