From 6dcbb332be19e44bf08c7b1b7bc276051cd69510 Mon Sep 17 00:00:00 2001 From: gnezim Date: Thu, 23 Apr 2026 15:45:03 +0300 Subject: [PATCH] =?UTF-8?q?Schedule=20details:=20use=20sprite=20#company?= =?UTF-8?q?=20icon=20for=20=D0=91=D0=BE=D1=80=D1=82=20(Angular=20parity)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Probed the live Angular page and the schedule-details Борт row uses `` — a stroked side-view jet silhouette — NOT the simpler top-down plane glyph from toolkit/icons/plane (that one only appears in the row indicator next to flight times). Port the seven #company paths from sprite.svg verbatim into the leg-details panel so the icon matches the legacy app exactly. --- .../components/ScheduleLegDetails.tsx | 34 +++++++++++++------ 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/src/features/schedule/components/ScheduleLegDetails.tsx b/src/features/schedule/components/ScheduleLegDetails.tsx index d0ca39a3..6d95ec16 100644 --- a/src/features/schedule/components/ScheduleLegDetails.tsx +++ b/src/features/schedule/components/ScheduleLegDetails.tsx @@ -86,20 +86,32 @@ export const ScheduleLegDetails: FC = ({ flight }) => { className="schedule-leg-details__icon schedule-leg-details__icon--plane" aria-hidden="true" > - {/* Path copied verbatim from Angular's - toolkit/icons/plane/plane-icon.component.html so the - schedule details panel shows the same stylised - top-view plane the legacy app does. */} + {/* Aircraft 'company crane' icon — copied verbatim from + Angular's sprite (`/assets/img/sprite.svg#company`). + This is what the legacy details panel uses next to + the 'Борт' caption, NOT the simpler plane glyph. */} - + + + + + + + + +