From 3fc8f0323881cd362ffccc31b56ddb3b01d2da90 Mon Sep 17 00:00:00 2001 From: htlee Date: Sun, 1 Mar 2026 11:24:13 +0900 Subject: [PATCH] =?UTF-8?q?refactor(css):=20=EC=9D=B8=EB=9D=BC=EC=9D=B8=20?= =?UTF-8?q?=EC=8A=A4=ED=83=80=EC=9D=BC=20=E2=86=92=20Tailwind=20=EC=9C=A0?= =?UTF-8?q?=ED=8B=B8=EB=A6=AC=ED=8B=B0=20=ED=81=B4=EB=9E=98=EC=8A=A4=20?= =?UTF-8?q?=EB=B3=80=ED=99=98=20(Phase=202,=20~990=EA=B1=B4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Phase 2: 정적 인라인 스타일을 Tailwind className으로 변환 - common/: MapView, BacktrackReplayBar, LoginPage, LayerTree, ComboBox, SubMenuBar - hns/: HNSSubstanceView, HNSScenarioView, HNSView, HNSLeftPanel 등 8파일 - prediction/: BoomDeploymentTheoryView, OilBoomSection, RecalcModal, RightPanel 등 8파일 - incidents/: IncidentsView, IncidentsLeftPanel, IncidentsRightPanel - rescue/: RescueScenarioView - aerial/: SatelliteRequest, AerialTheoryView - assets/: ShipInsurance, AssetTheory, AssetManagement 등 5파일 - board/: BoardView - reports/: ReportsView, OilSpillReportTemplate, ReportGenerator - weather/: WeatherMapOverlay, WeatherView, WeatherRightPanel 변환 패턴: color/background/border/borderRadius/display/flex/gap/fontSize/fontWeight → Tailwind 동적 스타일(rgba, gradient, 삼항 조건부, 런타임 변수)은 style prop에 유지 JS 번들: 2,921KB → 2,897KB (-24KB) Co-Authored-By: Claude Opus 4.6 --- .../src/common/components/auth/LoginPage.tsx | 159 ++--- .../src/common/components/layer/LayerTree.tsx | 31 +- .../common/components/layout/SubMenuBar.tsx | 2 +- .../components/map/BacktrackReplayBar.tsx | 124 ++-- .../src/common/components/map/MapView.tsx | 88 +-- .../src/common/components/ui/ComboBox.tsx | 51 +- .../aerial/components/AerialTheoryView.tsx | 28 +- .../aerial/components/SatelliteRequest.tsx | 4 +- .../assets/components/AssetManagement.tsx | 2 +- .../src/tabs/assets/components/AssetMap.tsx | 2 +- .../tabs/assets/components/AssetTheory.tsx | 63 +- .../src/tabs/assets/components/AssetsView.tsx | 2 +- .../tabs/assets/components/ShipInsurance.tsx | 182 +++-- .../src/tabs/board/components/BoardView.tsx | 62 +- .../hns/components/HNSAnalysisListTable.tsx | 234 +++---- .../src/tabs/hns/components/HNSLeftPanel.tsx | 326 +++++---- .../tabs/hns/components/HNSRecalcModal.tsx | 98 +-- .../src/tabs/hns/components/HNSRightPanel.tsx | 182 +---- .../tabs/hns/components/HNSScenarioView.tsx | 318 ++++----- .../tabs/hns/components/HNSSubstanceView.tsx | 655 +++++++++--------- frontend/src/tabs/hns/components/HNSView.tsx | 141 ++-- .../components/IncidentsLeftPanel.tsx | 249 +++---- .../components/IncidentsRightPanel.tsx | 196 +++--- .../incidents/components/IncidentsView.tsx | 107 +-- .../prediction/components/BacktrackModal.tsx | 128 ++-- .../components/BoomDeploymentTheoryView.tsx | 254 ++++--- .../prediction/components/OilBoomSection.tsx | 190 +++-- .../components/OilSpillTheoryView.tsx | 108 +-- .../prediction/components/OilSpillView.tsx | 15 +- .../prediction/components/RecalcModal.tsx | 98 ++- .../tabs/prediction/components/RightPanel.tsx | 144 +--- .../components/OilSpillReportTemplate.tsx | 67 +- .../reports/components/ReportGenerator.tsx | 54 +- .../tabs/reports/components/ReportsView.tsx | 70 +- .../rescue/components/RescueScenarioView.tsx | 457 ++++++------ .../weather/components/WeatherMapOverlay.tsx | 125 +--- .../weather/components/WeatherRightPanel.tsx | 10 +- .../tabs/weather/components/WeatherView.tsx | 13 +- 38 files changed, 2196 insertions(+), 2843 deletions(-) diff --git a/frontend/src/common/components/auth/LoginPage.tsx b/frontend/src/common/components/auth/LoginPage.tsx index 4254ce8..dd8a211 100644 --- a/frontend/src/common/components/auth/LoginPage.tsx +++ b/frontend/src/common/components/auth/LoginPage.tsx @@ -55,10 +55,7 @@ export function LoginPage() { } return ( -
+
{/* Background image */}
{/* Center: Login Form */} -
+
{/* Logo */} -
+
WING 해양환경 위기대응 통합시스템 {/* User ID */}
-