"use client"; import { use } from "react"; import { LayoutDashboard } from "lucide-react"; import { AnalysisSidebar } from "@/components/site-finder/analysis/AnalysisSidebar"; import { AnalysisBreadcrumb } from "@/components/site-finder/analysis/AnalysisBreadcrumb"; import { UserAvatar } from "@/components/site-finder/analysis/UserAvatar"; // ── Section placeholder (Wave 3–4 refactor will replace these) ───────────────── interface SectionPlaceholderProps { id: string; title: string; note?: string; } function SectionPlaceholder({ id, title, note }: SectionPlaceholderProps) { return (

{title}

{note && (

{note}

)}
Заполняется в Wave 2–4 (A5–A11)
); } // ── Page ────────────────────────────────────────────────────────────────────── interface PageProps { params: Promise<{ cad: string }>; } export default function AnalysisPage({ params }: PageProps) { // React 19: use() unwraps Promise params (app router pattern) const { cad } = use(params); return (
{/* ── Header ─────────────────────────────────────────────────────────── */}
{/* Push avatar to the right */}
{/* ── Body: sidebar + scrollable sections ───────────────────────────── */}
{/* Main scrollable content */}
{/* Section 1 — TODO A5 */} {/* Section 2 — TODO A6 */} {/* Section 3 — TODO A7/A8/A9 */} {/* Sub-section anchor targets (invisible) for scrollspy / direct links */}
); }