diff --git a/frontend/src/b/BLayout.tsx b/frontend/src/b/BLayout.tsx index c115b9a..b206e8c 100644 --- a/frontend/src/b/BLayout.tsx +++ b/frontend/src/b/BLayout.tsx @@ -6,9 +6,11 @@ import { cx } from '../lib/utils' import { kindOfHour, kst, seasonOf, type TimeKind } from '@nalssigak/shared/lib' import './b.css' import { AuthProvider } from './auth' +import { iconSrc } from './lib' import { RegionProvider } from './region' import { useAuth } from './authContext' import { preloadGoogle } from './googleScript' +import { currentHoliday } from './holiday' import { LevelBadge, LevelWatcher } from './level' import { useRegion } from './regionContext' import { useSheet } from './sheetContext' @@ -106,6 +108,18 @@ const SHOOTS = [ { top: '14%', left: '96%', '--len': '120px', '--dur': '12s', '--dl': '9s' }, ] +const HOLIDAY = currentHoliday() + +/** 기념일에 하늘에 떠다니는 그림: 게임 그림 중 큰 것부터 */ +const FLOATS = [ + { top: '9%', left: '6%', '--z': '46px', '--dur': '13s', '--dl': '0s' }, + { top: '17%', left: '82%', '--z': '40px', '--dur': '15s', '--dl': '2s' }, + { top: '38%', left: '88%', '--z': '34px', '--dur': '17s', '--dl': '4s' }, + { top: '46%', left: '3%', '--z': '38px', '--dur': '14s', '--dl': '1s' }, + { top: '66%', left: '84%', '--z': '44px', '--dur': '16s', '--dl': '3s' }, + { top: '78%', left: '8%', '--z': '36px', '--dur': '18s', '--dl': '5s' }, +] + /** 화면 전체 하늘: 시간대별 색, 아주 느리게 일렁이는 색 덩어리, 밤에는 별 */ function SkyBg() { const { kind } = useSky() @@ -116,10 +130,11 @@ function SkyBg() { return () => document.removeEventListener('visibilitychange', onVis) }, []) return ( -