From aba4e61be253dfb40bacf23bb94749cdef06ca30 Mon Sep 17 00:00:00 2001 From: Light1YT Date: Sun, 21 Jun 2026 18:39:49 +0500 Subject: [PATCH] revert(ptica): restore old Section1-6 analysis view as default route MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ПТИЦА dark cockpit (made default in ba05a4c) is being redesigned from scratch. Roll the live /site-finder/analysis/[cad] route back to the original AnalysisPageContent (Section1-6) so pilots/investor see the stable design while the new cockpit is reworked. Non-destructive: only the route's rendered component + metadata/fallback are reverted. All ptica code stays in the repo and the cockpit remains viewable at /__preview/ptica-full for redesign reference. Co-Authored-By: Claude Opus 4.8 --- .../app/site-finder/analysis/[cad]/page.tsx | 26 ++++++------------- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/frontend/src/app/site-finder/analysis/[cad]/page.tsx b/frontend/src/app/site-finder/analysis/[cad]/page.tsx index c2ceefa2..6a82c8da 100644 --- a/frontend/src/app/site-finder/analysis/[cad]/page.tsx +++ b/frontend/src/app/site-finder/analysis/[cad]/page.tsx @@ -1,7 +1,7 @@ import { Suspense } from "react"; import type { Metadata } from "next"; -import { PticaPageContent } from "./ptica/PticaPageContent"; +import { AnalysisPageContent } from "./AnalysisPageContent"; // ── Metadata ────────────────────────────────────────────────────────────────── @@ -21,18 +21,13 @@ export async function generateMetadata({ const { cad: cadRaw } = await params; const cad = decodeURIComponent(cadRaw); return { - title: `ПТИЦА · ${cad}`, - description: `Когнитивный анализ участка ${cad} — платформа ПТИЦА`, + title: `Анализ ${cad} — Site Finder`, + description: `Анализ инвестиционного участка ${cad}`, }; } // ── Page ────────────────────────────────────────────────────────────────────── -// The ПТИЦА cockpit is now the PRIMARY analysis view: every entry point -// (entry-map click, recent parcels, cad input, direct URL) lands here. The old -// AnalysisPageContent stays in the repo for reference but is no longer rendered -// on this route. The sibling `[cad]/ptica` subroute redirects back here so a -// single PticaPageContent is the only live copy of the cockpit. export default async function AnalysisPage({ params }: PageProps) { const { cad: cadRaw } = await params; const cad = decodeURIComponent(cadRaw); @@ -41,23 +36,18 @@ export default async function AnalysisPage({ params }: PageProps) { - Загрузка ПТИЦА… + Загрузка анализа… } > - + ); } -- 2.45.3