"use client"; import { usePrinzipInsights } from "@/lib/analytics-api"; export function InsightCards() { const { data } = usePrinzipInsights(); if (!data) return
Загрузка рекомендаций…
; return (

{data.headline}

Приоритеты

{data.priorities.map((p) => (
#{p.rank}
{p.title}

{p.why}

))}

Где строить новое

{data.where_to_build.map((w) => (
{w.district}

{w.why}

))}

Чего избегать

Benchmark-модели

{data.benchmarks.map((b) => (
{b.name}

{b.model}

))}
); } const h3 = { fontSize: 14, fontWeight: 600, color: "#374151", margin: "0 0 8px", }; const grid = { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(280px, 1fr))", gap: 12, }; const card = { background: "#f9fafb", border: "1px solid #e6e8ec", borderRadius: 8, padding: "12px 14px", }; const badge = { display: "inline-block", background: "#1d4ed8", color: "#fff", fontSize: 12, fontWeight: 600, borderRadius: 4, padding: "2px 8px", }; const pStyle = { margin: "6px 0 0", fontSize: 13, color: "#4b5563", lineHeight: 1.5, };