{title}
{body}
"use client"; import { useEffect, useState } from "react"; import Link from "next/link"; import { Activity, ArrowRight, BarChart3, Check, CheckCircle2, CloudSun, Gauge, LineChart, LockKeyhole, Radar, ShieldCheck, TrendingUp, } from "lucide-react"; import { I18nProvider, useI18n } from "@/hooks/useI18n"; import { getSupabaseBrowserClient, hasSupabasePublicEnv, } from "@/lib/supabase/client"; const RAW_MARKET_ROWS_EN = [ ["New York", "91.8°F", "+2.4", "High", "Long Yes"], ["Austin", "103.1°F", "+1.1", "Medium", "Wait"], ["Seoul", "83.4°F", "-0.7", "Low", "No Trade"], ["Tokyo", "88.2°F", "+1.8", "High", "Long Yes"], ["London", "72.6°F", "-0.2", "Low", "Observe"], ]; const RAW_MARKET_ROWS_ZH = [ ["纽约", "91.8°F", "+2.4", "高", "买入多头"], ["奥斯汀", "103.1°F", "+1.1", "中", "观望"], ["首尔", "83.4°F", "-0.7", "低", "无交易"], ["东京", "88.2°F", "+1.8", "高", "买入多头"], ["伦敦", "72.6°F", "-0.2", "低", "观察"], ]; const COVERAGE_EN = [ "Live airport observations", "DEB blend forecast", "Market-implied temperature", "Intraday settlement windows", "AI weather evidence", "Paid Telegram alerts", ]; const COVERAGE_ZH = [ "机场实况观测数据", "DEB 智能融合预报", "市场隐含温度定价", "日内分段结算窗口", "AI 气象证据链解读", "付费电报实时通知", ]; const PRO_FEATURES_EN = [ "Real-time METAR observations & runway sensor data", "Real-time METAR observations & alerts", "DEB blend forecast model", "Market-implied temperature pricing", "Intraday settlement windows & risk metrics", "Paid Telegram alerts & Webhook API", "24/7 priority professional support", ]; const PRO_FEATURES_ZH = [ "实时 METAR 机场实测与跑道传感器数据", "实时 METAR 机场实测与预警", "DEB 智能融合预测模型", "市场隐含温度定价与估值", "日内结算窗口与风险度量指标", "付费电报群通知与 API 接口推送", "7×24小时专业技术与客服支持", ]; function InstitutionalLandingScreen() { const { locale, toggleLocale } = useI18n(); const isEn = locale === "en-US"; const [isAuthenticated, setIsAuthenticated] = useState(false); const [authChecked, setAuthChecked] = useState(false); useEffect(() => { if (!hasSupabasePublicEnv()) { setAuthChecked(true); return; } const supabase = getSupabaseBrowserClient(); supabase.auth.getSession().then(({ data: { session } }) => { setIsAuthenticated(!!session?.user); setAuthChecked(true); }); }, []); const marketRows = isEn ? RAW_MARKET_ROWS_EN : RAW_MARKET_ROWS_ZH; const coverage = isEn ? COVERAGE_EN : COVERAGE_ZH; const platformCards = isEn ? [ { icon: Radar, title: "Live Evidence", body: "Airport observations and official station data are structured for settlement-aware decisions.", }, { icon: Gauge, title: "Decision Workflow", body: "City cards combine model forecast, current deviation, risk, and target contract context.", }, { icon: ShieldCheck, title: "Paid Access", body: "The product workspace is locked until the user has an active subscription.", }, ] : [ { icon: Radar, title: "实况证据", body: "针对机场 METAR 与官方站点数据进行结构化整理,专为结算博弈与交割设计。", }, { icon: Gauge, title: "决策工作流", body: "城市决策卡片融合了气象预报、实况偏差、历史风险系数及目标合约盘口。", }, { icon: ShieldCheck, title: "付费准入", body: "除公开介绍和账户管理外,气象交易决策台仅向付费活跃订阅用户开放。", }, ]; const modelLabels = isEn ? ["DEB Blend", "Live METAR", "Market Implied"] : ["DEB 融合预测", "METAR 机场实测", "市场隐含价格"]; return (
{isEn ? "PolyWeather turns live METAR observations, DEB forecast blends, model probabilities, and market settlement logic into one professional decision workspace." : "PolyWeather 将 METAR 机场实测、DEB 智能融合预报、模型概率及市场结算逻辑整合于一体,打造气象风险管理专业决策环境。"}
{isEn ? "No free product access. Subscription is required before the terminal opens." : "无免费公开产品通道。在使用决策台前必须先登录并开通订阅。"}
{isEn ? "New York high-temperature market shows a positive observation deviation with confirmed airport evidence." : "纽约高温合约市场出现显著的正向观测偏差,机场天气实况已验证确认。"}
{body}
{isEn ? "Data Coverage" : "数据覆盖范围"}
{isEn ? "Built for repeat professional use: dense tables, clear status chips, restrained color, and fast entry into paid workflows." : "专为高频专业决策设计:高数据密度、直观的状态徽标、严谨的数据呈现,助您快速进入分析流。"}
{isEn ? "PRICING" : "价格方案"}
{isEn ? "One plan. Full access. No hidden fees." : "一个方案,全部功能,无隐藏费用。"}
{isEn ? "Full access to the institutional weather-market terminal. Live METAR, DEB forecasts, probability distribution, AI decision cards, and real-time alerts." : "完整访问机构级天气市场终端。实时 METAR、DEB 预报、概率分布、AI 决策卡片、实时通知。"}
{isEn ? "Billed monthly. Cancel anytime." : "按月计费,随时可取消。"}
{isEn ? "Login required. Payment via USDC on Polygon." : "需先登录。通过 Polygon 链 USDC 支付。"}