260818_01_ENH: 1차 완성

This commit is contained in:
2026-08-18 12:30:43 +09:00
parent 7c9da4517c
commit 041fe90081
10 changed files with 397 additions and 93 deletions

View File

@@ -0,0 +1,11 @@
// 좌측 사이드바 문항 scroll-spy 판정 기준선(px). AppMainLayout.tsx에서 사용.
// 스크롤 방향에 따라 다른 값을 써서(히스테리시스) 경계에서 active가 튀는 걸 줄인다.
export const SCROLL_SPY_THRESHOLD_DOWN = 340;
export const SCROLL_SPY_THRESHOLD_UP = 410;
// 본문 스크롤이 바닥에서 이 값(px) 이내면 마지막 문항을 강제로 active 처리한다.
export const SCROLL_SPY_BOTTOM_TOLERANCE = 8;
// Part 상세 차트 렌더링 설정. dashboard/[waveCd]/[partCd]/page.tsx에서 사용.
export const CHART_FONT_SIZE = 14;
export const CHART_BAR_MAX_WIDTH = 100;
export const CHART_HEIGHT = 320;