import React, { useState, useMemo } from "react"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Input } from "@/components/ui/input"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { BarChart, Bar, XAxis, YAxis, Tooltip, ResponsiveContainer, Cell, CartesianGrid } from "recharts"; import { Globe, Users, TrendingUp, ShieldCheck, Zap } from "lucide-react"; // 국가별 전략 데이터 (WEF 발표용 실제 통계 기반 프리셋) const COUNTRY_PRESETS = { senegal: { name: "Senegal (West Africa)", pph: 6.5, households: 274000, focus: "Migration & Health", color: "#10b981" }, indonesia: { name: "Indonesia (SE Asia)", pph: 3.9, households: 500000, focus: "Digital Economy", color: "#ef4444" }, pakistan: { name: "Pakistan (South Asia)", pph: 6.2, households: 400000, focus: "Resilience & Edu", color: "#06b6d4" } }; export default function GulfSouthImpactPlatform() { const [selectedCountry, setSelectedCountry] = useState("senegal"); const [households, setHouseholds] = useState(COUNTRY_PRESETS.senegal.households); const [pph, setPph] = useState(COUNTRY_PRESETS.senegal.pph); // 국가 선택 시 데이터 동기화 const handleCountryChange = (val) => { setSelectedCountry(val); setHouseholds(COUNTRY_PRESETS[val].households); setPph(COUNTRY_PRESETS[val].pph); }; const individuals = households * pph; const totalValueLow = individuals * 2200; const totalValueHigh = individuals * 6000; const chartData = [ { name: "Health & Longevity", value: 1100, desc: "보건 인프라 혁신 가치" }, { name: "Migration Retention", value: 1000, desc: "지역 사회 안정화 가치" }, { name: "Energy Savings", value: 850, desc: "가계 가처분 소득 증대" }, { name: "Digital Income", value: 650, desc: "디지털 경제 편입 가치" }, { name: "Education", value: 400, desc: "미래 생산성 향상" }, ]; return (
걸프 유틸리티 자본의 글로벌 사우스 인프라 투자에 따른 25개년 경제적 임팩트 평가 플랫폼 (WEF 2026 전략 프레임워크)
{individuals.toLocaleString()}
Conservative Scenario (25Y)
USD {(totalValueLow / 1e9).toFixed(2)}B
Standard Digital Follows (25Y)
USD {(totalValueHigh / 1e9).toFixed(2)}B
개인당 창출되는 다차원적 사회경제적 가치 분석