"use client"; /** * DevelopmentScan — "Development Scan" section: a 7-card grid of ScanCards * (Градостроительство / Ограничения / Инженерия / Рынок / Экономика / Риски / * Среда), matching the prototype scan-grid. ОКС and Инсоляция live in the * lower-grid (PticaLowerGrid). Every card's real-vs-placeholder content comes * from the adapter. * * Each card maps to its drawer key and opens the matching detail drawer via the * `onOpenDrawer` callback threaded down from PticaPageContent. */ import styles from "@/app/site-finder/analysis/[cad]/ptica/ptica.module.css"; import type { ParcelAnalysis } from "@/types/site-finder"; import { ScanCard } from "@/components/site-finder/ptica/ScanCard"; import { BuildabilityGauge } from "@/components/site-finder/ptica/BuildabilityGauge"; import { adaptUrbanCard, adaptRestrictionsCard, adaptEngineeringCard, adaptMarketCard, adaptEconomyCard, adaptEnvironmentCard, adaptRiskGauge, } from "@/components/site-finder/ptica/ptica-adapt"; import type { DrawerKey } from "@/components/site-finder/ptica/drawers/drawer-keys"; interface Props { analysis: ParcelAnalysis; onOpenDrawer: (key: DrawerKey) => void; } export function DevelopmentScan({ analysis, onOpenDrawer }: Props) { const riskGauge = adaptRiskGauge(analysis); return ( <>
Development Scan · градостроительный анализ

Риски

{/* ОКС and Инсоляция · 3D-масса live in the lower-grid (PticaLowerGrid) per the prototype, keeping the scan at 7 cards. */}
); }