wing-ops/frontend
leedano 3743027ce7 feat(weather): 기상 정보 기상 레이어 업데이트 (#78)
## Summary
- 기상 맵 컨트롤 컴포넌트 추가 및 KHOA API 연동 개선
- KHOA API 엔드포인트 교체 및 해양예측 오버레이 Canvas 렌더링 전환

## 변경 파일
- OceanForecastOverlay.tsx
- WeatherMapOverlay.tsx
- WeatherView.tsx
- useOceanForecast.ts
- khoaApi.ts
- vite.config.ts

## Test plan
- [ ] 기상정보 -> 기상 레이어 -> 해황 예보도 클릭 -> 이미지 렌더링 확인
- [ ] 기상정보 -> 기상 레이어 -> 백터 바람 클릭 -> 백터 이미지 렌더링 확인

Co-authored-by: Nan Kyung Lee <nankyunglee@Nanui-Macmini.local>
Reviewed-on: #78
Co-authored-by: leedano <dnlee@gcsc.co.kr>
Co-committed-by: leedano <dnlee@gcsc.co.kr>
2026-03-11 11:14:25 +09:00
..
public feat(auth): Google OAuth 로그인 연동 2026-02-27 16:42:59 +09:00
src feat(weather): 기상 정보 기상 레이어 업데이트 (#78) 2026-03-11 11:14:25 +09:00
.env.example chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
eslint.config.js chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
index.html chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
package-lock.json feat(assets): 선박보험 엑셀 다운로드 기능 추가 2026-03-05 14:30:56 +09:00
package.json feat(assets): 선박보험 엑셀 다운로드 기능 추가 2026-03-05 14:30:56 +09:00
postcss.config.js chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
README.md chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tailwind.config.js refactor(css): CSS 인프라 구축 + body default 인라인 스타일 1,055건 제거 2026-03-01 10:45:01 +09:00
tsconfig.app.json refactor(frontend): 공통 모듈 common/ 분리 + OpenLayers 제거 + path alias 설정 2026-02-28 14:00:50 +09:00
tsconfig.json chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tsconfig.node.json chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
vite.config.ts feat(weather): 기상 정보 기상 레이어 업데이트 (#78) 2026-03-11 11:14:25 +09:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])