diff --git a/app/components/deepfield/HeroField.tsx b/app/components/deepfield/HeroField.tsx new file mode 100644 index 0000000..55180b2 --- /dev/null +++ b/app/components/deepfield/HeroField.tsx @@ -0,0 +1,329 @@ +'use client'; + +import { useEffect, useRef, useState } from 'react'; +// 타입만 정적 import — 번들에 코드가 들어가지 않음 (import type) +import type * as THREE from 'three'; + +import { useFieldMode } from './useFieldMode'; + +interface Props { + className?: string; +} + +/** + * 정적 2광원 radial 그래디언트. + * static 모드 단독 비주얼이자, full/lite에서 캔버스 아래에 항상 깔리는 베이스. + * (WebGL 로딩 전/실패 시에도 비주얼 공백 없음) + */ +function StaticField() { + return ( +